summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-25 10:26:49 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:09:33 +0200
commit877364c24ef9c7954f0e193456bb3f2d39169977 (patch)
tree67ccc220fc9a98300356855f0c9e3b6f13d37223 /app/views
parent595e5f9d32c9dda8f7b6c0dd5e7e4fba4693eca4 (diff)
First try
Diffstat (limited to 'app/views')
-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>