dashboard.html 1.0 KB

1234567891011121314151617181920212223242526
  1. <template name="dashboard">
  2. <div class="row">
  3. {{#each rooms}}
  4. <div class="col-md-4 col-sm-6 col-xs-12">
  5. <div class="station">
  6. <h3>{{display}}</h3>
  7. {{#with type=type}}
  8. <h5>{{currentSong.song.title}}</h5>
  9. <h6>{{currentSong.song.artist}}</h6>
  10. {{/with}}
  11. <a href="/{{type}}" class="station_link"></a>
  12. </div>
  13. </div>
  14. {{/each}}
  15. </div>
  16. <script type="text/javascript">
  17. window.doorbellOptions = {
  18. appKey: 'v2Gu14c8s9HgBsAFCXNWIm2vlk11N12Plt2Wu5k2MbQIkM1Ao6kOTCbfN95ElEVM',
  19. hideEmail: true
  20. };
  21. (function(d, t) {
  22. var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/2408?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g);
  23. }(document, 'script'));
  24. </script>
  25. </template>