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 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <!--for demonstration:-->
  11. <!-- <meta http-equiv="refresh" content="10">
  12. <!-- <meta http-equiv="refresh" content="30"> -->
  13. <!-- NOTE: Define Theme Color -->
  14. <!-- Chrome, Firefox OS and Opera -->
  15. <meta name="theme-color" content="#0046a0">
  16. <!-- NOTE: Icon for tab recognition -->
  17. <!-- highest resolution for Chrome & Opera -->
  18. <link rel="icon" sizes="192x192" href="favicon.ico">
  19. <!-- icons for Safari -> iOS Icons -->
  20. <!-- icons for IE & Windows phone -->
  21. <meta name="msapplication-square70x70logo" content="icon_smalltile.png">
  22. <meta name="msapplication-square150x150logo" content="icon_mediumtile.png">
  23. <meta name="msapplication-square310x310logo" content="icon_largetile.png">
  24. <meta name="msapplication-wide310x150logo" content="icon_widetile.png">
  25. <!-- NOTE: iOS - Add to Homescreen -->
  26. <!-- Hide Safari UI Components -->
  27. <meta name="apple-mobile-web-app-capable" content="yes" />
  28. <!-- iOS Status bar: black or black-translucent -->
  29. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  30. <!-- iOS App Name next to Icon -->
  31. <meta name="apple-mobile-web-app-title" content="OHM News">
  32. <!-- Icon: No transparency allowed -->
  33. <link rel="apple-touch-icon" href="img/launcher/ios_launcher_app_icon_192.png"> <!-- iphone -->
  34. <link rel="apple-touch-icon" sizes="152x152" href="img/launcher/ios_launcher_app_icon_152.png"><!-- ipad -->
  35. <link rel="apple-touch-icon" sizes="180x180" href="img/launcher/ios_launcher_app_icon_180.png"><!-- iphone-retina -->
  36. <link rel="apple-touch-icon" sizes="167x167" href="img/launcher/ios_launcher_app_icon_167.png"><!-- ipad-retina -->
  37. <!-- Splash screen: If not set, will be white screen -->
  38. <link rel="apple-touch-startup-image" sizes="2048x2732" href="ios-splash/apple_splash_2048.png" /><!-- Tablet -->
  39. <link rel="apple-touch-startup-image" sizes="1668x2224"href="ios-splash/apple_splash_1668.png" /><!-- Tablet -->
  40. <link rel="apple-touch-startup-image" sizes="1536x2048" href="ios-splash/apple_splash_1536.png" /><!-- Tablet -->
  41. <link rel="apple-touch-startup-image" sizes="1125x2436" href="ios-splash/apple_splash_1125.png" /><!-- Tablet ? Phone -->
  42. <link rel="apple-touch-startup-image" sizes="1242x2208" href="ios-splash/apple_splash_1242.png" /><!-- Tablet ? Phone -->
  43. <link rel="apple-touch-startup-image" sizes="750x1334" href="ios-splash/apple_splash_750.png" /><!-- Phone -->
  44. <link rel="apple-touch-startup-image" sizes="640x1136" href="ios-splash/apple_splash_640.png" /><!-- Phone -->
  45. <!-- NOTE: CSS -->
  46. <!-- CSS_Material Design for Bootstrap fonts and icons -->
  47. <link rel="stylesheet" href="lib/bootstrap-font-and-icons.css">
  48. <!-- CSS_Material Design for Bootstrap minified CSS -->
  49. <!--<link rel="stylesheet" href="lib/bootstrap-material-design.min.css">-->
  50. <!-- NOTE: Call manifest.json -->
  51. <link rel="manifest" href="manifest.json">
  52. <!-- NOTE: Load JQuery, Vue.js, VueRouter, Vuetify -->
  53. <script src="lib/jquery-3.3.1.min.js"></script>
  54. <script src="lib/vue-2.6.10.js"></script>
  55. <script src="lib/vue-router-3.0.1.js"></script>
  56. <!-- Buefy/Vuetify -->
  57. <script src="lib/buefy-0.7.5.js"></script>
  58. <!-- <script src="lib/buefy-0.7.5.min.js"></script>-->
  59. <link rel="stylesheet" href="https://cdn.materialdesignicons.com/2.5.94/css/materialdesignicons.min.css">
  60. <link rel="stylesheet" type="text/css" href="lib/buefy-0.7.5.css">
  61. <!--<link rel="stylesheet" type="text/css" href="lib/buefy-0.7.5.min.css">-->
  62. <!-- <script src="lib/vuetify-1.5.14.js"></script>-->
  63. <!-- <script src="lib/vuetify-1.5.14.min.js"></script>-->
  64. <!-- <link rel="stylesheet" type="text/css" href="lib/vuetify-1.5.14.css">-->
  65. <!-- <link rel="stylesheet" type="text/css" href="lib/vuetify-1.5.14.min.css">-->
  66. <!-- CSS_Custom Design -->
  67. <link rel="stylesheet" type="text/css" href="style/style.css">
  68. <!-- NOTE: JavaScript Libs & Files -->
  69. <script src="routes/home.js"></script>
  70. <script src="routes/files.js"></script>
  71. <script src="routes/createMessage.js"></script>
  72. <script src="routes/bookmark.js"></script>
  73. <script src="routes/profil.js"></script>
  74. <script src="routes/msgCard.js"></script>
  75. <script src="routes/messageData.js"></script>
  76. <script src="routes/profilCard.js"></script>
  77. <script src="routes/profilData.js"></script>
  78. <script src="routes/login.js"></script>
  79. <title>OHM News</title>
  80. </head>
  81. <body>
  82. <div id="api">
  83. <div class="om-header-container">
  84. <div class="om-header">
  85. <a class="logo-img" href="index.html"><img src="img/app_icon.png" width=45px height=45px></a>
  86. <form class="om-searchbar">
  87. <b-field>
  88. <b-input placeholder="Suche..."
  89. type="search"
  90. icon="magnify">
  91. </b-input>
  92. </b-field>
  93. </form>
  94. </div>
  95. </div>
  96. <div class="om-content">
  97. <div id=xxx></div>
  98. <router-view></router-view>
  99. </div>
  100. <!--<b-tabs type="is-toggle" expanded>
  101. <b-tab-item><router-link to="/home" >
  102. <b-icon
  103. pack="fas"
  104. icon="home"
  105. size="is-small">
  106. </b-icon>
  107. </router-link></b-tab-item>
  108. <b-tab-item icon="magnify"></b-tab-item>
  109. <b-tab-item icon="plus-circle"></b-tab-item>
  110. <b-tab-item icon="bookmark"></b-tab-item>
  111. <b-tab-item icon="account"></b-tab-item>
  112. </b-tabs>-->
  113. <nav class="navbar is-fixed-bottom is-expanded is-light is-hoverable" role="navigation" aria-label="main navigation">
  114. <div class="navbar-brand is-expanded">
  115. <router-link to="/home" class="navbar-item is-expanded has-text-centered is-active">
  116. <i class="material-icons">home</i>
  117. </router-link>
  118. <router-link to="/files" class="navbar-item is-expanded">
  119. <i class="material-icons">language</i>
  120. </router-link>
  121. <router-link to="/createMessage" class="navbar-item is-expanded">
  122. <i class="material-icons">add_circle</i>
  123. </router-link>
  124. <router-link to="/bookmark" class="navbar-item is-expanded">
  125. <i class="material-icons">bookmark</i>
  126. </router-link>
  127. <router-link to="/profil" class="navbar-item is-expanded">
  128. <i class="material-icons">person</i>
  129. </router-link>
  130. </div>
  131. </nav>
  132. <!--<nav class="nav nav-tabs nav-justified om-nav" v-if="$route.path !=='/createMessage' ">
  133. <router-link to="/home" class="navbar-item has-text-centered"><i class="material-icons">home</i></router-link>
  134. <router-link to="/files" class="navbar-item has-text-centered"><i class="material-icons">language</i></router-link>
  135. <router-link to="/createMessage" class="navbar-item has-text-centered outlined"><i class="material-icons">add_circle</i></router-link>
  136. <router-link to="/bookmark" class="navbar-item has-text-centered"><i class="material-icons">bookmark</i></router-link>
  137. <router-link to="/profil" class="navbar-item has-text-centered"><i class="material-icons">person</i></router-link>
  138. </nav>-->
  139. </div>
  140. <script>
  141. const routes = [
  142. { path: "/", component: HomeRouter },
  143. { path: "/home", component: HomeRouter },
  144. { path: "/files", component: FileRouter },
  145. { path: "/createMessage", component: CreateMsgRouter },
  146. { path: "/bookmark", component: BookmarkRouter },
  147. { path: "/profil", component: ProfilRouter },
  148. ];
  149. const router = new VueRouter({
  150. routes
  151. });
  152. var app = new Vue({
  153. router,
  154. el: '#api',
  155. data: {
  156. },
  157. methods: {
  158. }
  159. });
  160. </script>
  161. <!-- CDN_Vue.js minified lib -->
  162. <!-- <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.min.js"></script> -->
  163. <!-- CDN_jQuery minified lib -->
  164. <!--<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>-->
  165. <!-- Load Popper.js -->
  166. <script src="lib/popper-1.12.6.js"></script>
  167. <!-- Load Bootstrap.js -->
  168. <script src="lib/bootstrap-material-design.js"></script>
  169. <!-- NOTE: Call main.js -->
  170. <script src="main.js"></script>
  171. </body>
  172. </html>