index.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!doctype html>
  2. <html ng-app="eventManApp">
  3. <head>
  4. <title>Event Man(ager)</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <script src="/static/js/angular.js"></script>
  9. <script src="/static/js/angular-route.js"></script>
  10. <script src="/static/js/angular-resource.js"></script>
  11. <script src="/static/js/angular-file-upload.min.js"></script>
  12. <script src="/static/js/ui-bootstrap-tpls-0.12.1.js"></script>
  13. <script src="/static/js/angular-ui-router.min.js"></script>
  14. <script src="/static/js/angular-websocket.js"></script>
  15. <script src="/static/js/angular-translate.js"></script>
  16. <script src="/static/js/eventman.js"></script>
  17. <script src="/js/app.js"></script>
  18. <script src="/js/i18n.js"></script>
  19. <script src="/js/filters.js"></script>
  20. <script src="/js/directives.js"></script>
  21. <script src="/js/services.js"></script>
  22. <script src="/js/controllers.js"></script>
  23. <link href="/static/css/normalize.css" rel="stylesheet">
  24. <link href="/static/css/bootstrap.css" rel="stylesheet">
  25. <link href="/static/css/bootstrap-theme.css" rel="stylesheet">
  26. <link href="/static/css/eventman.css" rel="stylesheet">
  27. </head>
  28. <!--
  29. Copyright 2015 Davide Alberani <da@erlug.linux.it>
  30. RaspiBO <info@raspibo.org>
  31. Licensed under the Apache License, Version 2.0 (the "License");
  32. you may not use this file except in compliance with the License.
  33. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  34. Unless required by applicable law or agreed to in writing, software
  35. distributed under the License is distributed on an "AS IS" BASIS,
  36. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  37. See the License for the specific language governing permissions and
  38. limitations under the License.
  39. -->
  40. <body>
  41. <nav class="navbar navbar-default navbar-fixed-top" ng-controller="NavigationCtrl as n">
  42. <div class="container">
  43. <div class="collapse navbar-collapse">
  44. <ul class="nav navbar-nav">
  45. <li ng-class="{active: n.isActive('/events') || n.isActive('/event')}"><a ui-sref="events">{{'Events' | translate}}</a></li>
  46. <li ng-class="{active: n.isActive('/persons') || n.isActive('/person') || n.isActive('/import/persons')}"><a ui-sref="persons">{{'Persons' | translate}}</a></li>
  47. </ul>
  48. </div>
  49. </div>
  50. </nav>
  51. <div class="main-header">
  52. </div>
  53. <!-- all the magic takes place here: the content inside the next div
  54. changes accordingly to the location you're visiting -->
  55. <div ui-view></div>
  56. <div class="main-footer">
  57. </div>
  58. </body>
  59. </html>