summaryrefslogtreecommitdiff
path: root/app/views/debug.html
diff options
context:
space:
mode:
authorHorus32015-02-19 00:03:18 +0100
committerHorus32015-02-19 00:03:18 +0100
commit58e63343703e0c3f3c12934e62fc0f4575761869 (patch)
treec60acb1bb97cdd47a6c7ee1c5a2e38d50f0f84c4 /app/views/debug.html
parentc6260f34b931bdda82d3dab256f4420caa1a45aa (diff)
parentcb5f3037bb18403433c2cfd0271f6bea76906aca (diff)
downloadstatuspage-58e63343703e0c3f3c12934e62fc0f4575761869.tar.gz
Merged.
Diffstat (limited to 'app/views/debug.html')
-rw-r--r--app/views/debug.html64
1 files changed, 0 insertions, 64 deletions
diff --git a/app/views/debug.html b/app/views/debug.html
deleted file mode 100644
index f3975b7..0000000
--- a/app/views/debug.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<style type="text/css">
- #sidebar {
- position: absolute;
- right: 0px;
- top:69px;
- max-width: 75%;
- z-index: 1000;
- background-color: #fee;
- border: thin solid grey;
- padding: 10px;
- }
- #toggleSidebar {
- position: absolute;
- right: 0px;
- top: 50px;
- background-color: #fee;
- }
-
-</style>
-<div id="sidebar" style="display:none;">
- <h4>Available pipelines</h4>
- <dl>
- {{ range $index, $value := .}}
- <dt>{{$index}}</dt>
- <dd>{{$value}}</dd>
- {{end}}
- </dl>
- <h4>Flash</h4>
- <dl>
- {{ range $index, $value := .flash}}
- <dt>{{$index}}</dt>
- <dd>{{$value}}</dd>
- {{end}}
- </dl>
-
- <h4>Errors</h4>
- <dl>
- {{ range $index, $value := .errors}}
- <dt>{{$index}}</dt>
- <dd>{{$value}}</dd>
- {{end}}
- </dl>
-</div>
-<a id="toggleSidebar" href="#" class="toggles"><i class="icon-chevron-left"></i></a>
-
-<script>
- $sidebar = 0;
- $('#toggleSidebar').click(function() {
- if ($sidebar === 1) {
- $('#sidebar').hide();
- $('#toggleSidebar i').addClass('icon-chevron-left');
- $('#toggleSidebar i').removeClass('icon-chevron-right');
- $sidebar = 0;
- }
- else {
- $('#sidebar').show();
- $('#toggleSidebar i').addClass('icon-chevron-right');
- $('#toggleSidebar i').removeClass('icon-chevron-left');
- $sidebar = 1;
- }
-
- return false;
- });
-</script>