summaryrefslogtreecommitdiff
path: root/app/views/switchboards/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/switchboards/show.html.erb')
-rw-r--r--app/views/switchboards/show.html.erb19
1 files changed, 13 insertions, 6 deletions
diff --git a/app/views/switchboards/show.html.erb b/app/views/switchboards/show.html.erb
index 337d00c..a4bdae0 100644
--- a/app/views/switchboards/show.html.erb
+++ b/app/views/switchboards/show.html.erb
@@ -1,19 +1,26 @@
<% content_for :title, "Switchboard #{@switchboard.name}" %>
+<script>
+ var switchboard_id = <%= @switchboard.id %>;
+</script>
+
<div class='row'>
<div class='span12'>
- <div id='container'>
-
- </div>
+ <div id='container'></div>
<script type="text/x-handlebars">
- <h1>{{appName}}</h1>
+ <p>{{appName}}</p>
+ <p>{{title}}</p>
- <h2>{{title}}</h2>
+ {{outlet}}
</script>
+ <script type="text/x-handlebars" data-template-name="switchboard">
+ <h1>{{name}}</h1>
+ <p>switchboard view marker</p>
+ <p>Length: {{switchboardEntrys.length}}</p>
+ </script>
-
</div>
</div>