diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..6464c98 --- /dev/null +++ b/public/index.html @@ -0,0 +1,120 @@ +<!doctype html> +<html lang="en"> + +<head> + <!-- Required meta tags --> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <!--vue:--> + <script src="lib/vue.js"> </script> <script src="lib/vue-router.js"> </script> <script src="lib/jquery-3.3.1.min.js"> </script> <script src="home.js"></script> + <script src="folder.js"></script> + <script src="bookmark.js"></script> + <script src="profil.js"></script> + + <!-- Material Design for Bootstrap fonts and icons --> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons"> + + <!-- Material Design for Bootstrap CSS --> + <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"> + + <title>oma</title> +</head> + +<body> + <div class="om-header"> + <img src="https://is3-ssl.mzstatic.com/image/thumb/Purple118/v4/19/8c/c9/198cc9de-ad68-2ff6-82c0-25e7cf0f6c64/source/512x512bb.jpg" width="15%"> + <form> + <input type="search" placeholder="Search..."> + <!--<div class="bmd-form-group bmd-collapse-inline pull-xs-right"> + <button class="btn bmd-btn-icon" for="search" data-toggle="collapse" data-target="#collapse-search" aria-expanded="false" aria-controls="collapse-search"> + <i class="material-icons">search</i> + </button> + <span id="collapse-search" class="collapse"> + <input class="form-control" type="text" id="search" placeholder="Enter your query..."> + </span> + </div>--> + </form> + </div> + <div class="om-content"> + <div class="om-message"> + <h5><i class="material-icons">account_circle</i> <b> User1</b></h5><br> + <h6><b>Betreff</b></h6><br> + <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam.<br> + <a href="#">#efi</a> <a href="#">#me</a> <a href="#">#projekt</a></p> + + </div> + + + + </div> + <div class="om-nav"> + <!--<v-tabs fixed-tabs> + <v-tab to="/home"><i class="material-icons">home</i></v-tab> + <v-tab to="/folder"><i class="material-icons">folder</i></v-tab> + <v-tab to="/bookmark"><i class="material-icons">bookmark</i></v-tab> + <v-tab to="/person"><i class="material-icons">person</i></v-tab> + </v-tabs>--> + <div class="row"> + <div class="col-sm-12" style="height: 60px"> + <router-link to="/home" class="col-sm-3 button" v-on:click.native="menu=false"><i class="material-icons">home</i></router-link> + <router-link to="/folder" class="col-sm-3 button" v-on:click.native="menu=false"><i class="material-icons">folder</i></router-link> + <router-link to="/bookmark" class="col-sm-3 button" v-on:click.native="menu=false"><i class="material-icons">bookmark</i></router-link> + <router-link to="/profil" class="col-sm-3 button" v-on:click.native="menu=false"><i class="material-icons">person</i></router-link> + </div> + <router-view></router-view> + </div> + + + + + <!-- Optional JavaScript --> + <!-- jQuery first, then Popper.js, then Bootstrap JS --> + <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"></script> + <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> + <script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script> + <script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js" integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script> + <script> + $(document).ready(function() { + $('body').bootstrapMaterialDesign(); + }); + + </script> + <script> + const routes = [ + { + path: "/home", + component: RouterHome + }, + { + path: "/folder", + component: RouterFolder + }, + { + path: "/bookmark", + component: RouterBookmark + }, + { + path: "/profil", + component: RouterProfil + }, + { + path: "/entry/:what/:id", + component: RouterEntry + }, + { + path: "/entry/:what", + component: RouterEntry + }, + ]; + /* + const router = new VueRouter({ + routes + }); + */ + + </script> + +</body> + +</html>