index.html 4.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!DOCTYPE html>
  2. <html lang="en" ng-app="app">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1" />
  7. <meta name="description" content="" />
  8. <meta name="author" content="" />
  9. <link rel="icon" href="favicon.ico" />
  10. <title>Das Boot - Shipwrecks</title>
  11. <!-- Bootstrap core CSS -->
  12. <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  13. <!-- Bootstrap theme -->
  14. <link href="lib/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
  15. <!-- Angular CSP-->
  16. <link href="lib/angular/css/angular-csp.css" rel="stylesheet" />
  17. <!-- Custom styles for this template -->
  18. <link href="css/style.css" rel="stylesheet" />
  19. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  20. <!--[if lt IE 9]>
  21. <script src="lib/html5shiv/html5shiv.min.js"></script>
  22. <script src="lib/respond/respond.min.js"></script>
  23. <![endif]-->
  24. <!-- require -->
  25. <script src="lib/require/require.js"></script>
  26. <!-- angularjs -->
  27. <link href="lib/angular/css/angular-csp.css" rel="stylesheet" />
  28. <script src="lib/angular/js/angular.js"></script>
  29. <script src="lib/angular/js/angular-animate.js"></script>
  30. <script src="lib/angular/js/angular-resource.js"></script>
  31. <script src="lib/angular/js/angular-ui-router.js"></script>
  32. <script src="lib/angular/js/angular-ui-bootstrap-tpls.js"></script>
  33. <!-- your app's js -->
  34. <script src="js/app.js"></script>
  35. <script src="js/nav-controller.js"></script>
  36. <script src="js/controllers.js"></script>
  37. <script src="js/services.js"></script>
  38. </head>
  39. <body>
  40. <nav class="navbar navbar-inverse navbar-fixed-top" ng-controller="nav">
  41. <div class="container">
  42. <div class="navbar-header">
  43. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  44. <span class="sr-only">Toggle navigation</span>
  45. <span class="icon-bar"></span>
  46. <span class="icon-bar"></span>
  47. <span class="icon-bar"></span>
  48. </button>
  49. <a class="navbar-brand" href="#/" ng-bind="title"></a>
  50. </div>
  51. <script type="text/ng-template" id="nav-item.html">
  52. <span ng-if="page.name && !page.url">{{page.name}}</span>
  53. <a ng-if="page.name && page.url && !(page.subPages && page.subPages.length)" href="{{page.url}}">{{page.name}}</a>
  54. <a ng-if="page.name && page.url && page.subPages && page.subPages.length" href="{{page.url}}" data-toggle="dropdown" role="button" aria-expanded="false"
  55. class="dropdown-toggle">{{page.name}} <span class="caret"></span>
  56. </a>
  57. <ul ng-if="page.subPages && page.subPages.length" class="dropdown-menu" role="menu">
  58. <li ng-class="{'divider': !page.name && !page.url, 'dropdown-header': page.name && !page.url, active: isUrl(page.url)}" ng-repeat="page in page.subPages" ng-include="'nav-item.html'">
  59. </li>
  60. </ul>
  61. </script>
  62. <div id="navbar" class="collapse navbar-collapse">
  63. <ul class="nav navbar-nav">
  64. <li ng-repeat="page in pages" ng-class="{active: isUrl(page.url)}" ng-include="'nav-item.html'">
  65. </li>
  66. </ul>
  67. </div><!--/.nav-collapse -->
  68. </div>
  69. </nav>
  70. <div class="ui-view-container">
  71. <div ui-view>
  72. <!-- default content can go here but there will be a flicker on some pages loading -->
  73. </div>
  74. </div>
  75. <!-- Bootstrap core JavaScript
  76. ================================================== -->
  77. <!-- Placed at the end of the document so the pages load faster -->
  78. <script src="lib/jquery/jquery.min.js"></script>
  79. <script src="lib/bootstrap/js/bootstrap.min.js"></script>
  80. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  81. <script src="lib/assets/js/ie10-viewport-bug-workaround.js"></script>
  82. </body>
  83. </html>