Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 4.1KB

6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- NOTE: Meta Tags -->
  5. <meta charset="utf-8">
  6. <meta name="description" content="Ohm management app">
  7. <meta name="keywords" content="">
  8. <meta name="author" content="">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <!-- <meta http-equiv="refresh" content="30"> --
  11. <!-- CSS_Material Design for Bootstrap fonts and icons -->
  12. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons">
  13. <!-- CSS_Material Design for Bootstrap minified CSS -->
  14. <link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous">
  15. <!-- NOTE: VUE.js und VueRouter -->
  16. <script src=lib/vue.js></script>
  17. <script src=lib/vue-router.js></script>
  18. <script src=lib/jquery-3.3.1.min.js></script>
  19. <!-- CSS_Custom Design -->
  20. <link rel="stylesheet" type="text/css" href="style.css">
  21. <title>OMApp</title>
  22. </head>
  23. <body>
  24. <div id="app">
  25. <div class="om-header-container">
  26. <div class="om-header">
  27. <a href="index.html"><img src="th_nbg_ohmicon_amp.png" width=55px height=55px></a>
  28. <form class="om-searchbar">
  29. <input type="search" placeholder="Search...">
  30. </form>
  31. </div>
  32. </div>
  33. <router-view class="om-content">
  34. <Home></Home>
  35. <!--
  36. <div id="message-list">
  37. <Home
  38. v-for="(msg, index) in messages"
  39. :key="msg.id"
  40. :subject="msg.subject"
  41. :message="msg.message"
  42. :tag="msg.tag"
  43. :user="msg.user"
  44. ></Home>
  45. </div>
  46. -->
  47. </router-view>
  48. <nav class="nav nav-tabs nav-justified om-nav ">
  49. <router-link to="/home" class="nav-item nav-link"><i class="material-icons">home</i></router-link>
  50. <router-link to="/files" class="nav-item nav-link"><i class="material-icons">folder</i></router-link>
  51. <router-link to="/createMessage" class="nav-item nav-link outlined"><i class="material-icons">add_circle</i></router-link>
  52. <router-link to="/bookmark" class="nav-item nav-link"><i class="material-icons">bookmark</i></router-link>
  53. <router-link to="/profil" class="nav-item nav-link"><i class="material-icons">person</i></router-link>
  54. </nav>
  55. </div>
  56. <script>
  57. const routes = [
  58. { path: "/home", component: Home },
  59. { path: "/files", component: Files },
  60. { path: "/createMessage", component: CreateMsg },
  61. { path: "/bookmark", component: Bookmark },
  62. { path: "/profil", component: Profil },
  63. ];
  64. const router = new VueRouter({
  65. routes
  66. });
  67. var app = new Vue({
  68. router,
  69. el: '#app'
  70. });
  71. </script>
  72. <!-- NOTE: JavaScript Libs & Files -->
  73. <!-- NOTE: Call Vue Components -->
  74. <script src="home.js"></script>
  75. <!-- <script src="files.js"></script> -->
  76. <script src="createMessage.js"></script>
  77. <script src="bookmark.js"></script>
  78. <script src="profil.js"></script>
  79. <!-- CDN_Vue.js developmement lib -->
  80. <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"></script>
  81. <!-- CDN_Vue.js minified lib -->
  82. <!-- <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.min.js"></script> -->
  83. <!-- CDN_jQuery minified lib -->
  84. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  85. <!-- CDN_Popper.js lib -->
  86. <script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script>
  87. <!-- CDN_Bootstrap JS lib -->
  88. <script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js" integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script>
  89. <!-- NOTE: Call main.js -->
  90. <script src="main.js"></script>
  91. </body>
  92. </html>