Browse Source

Icon hinzugefügt + Responsivness angepasst

pull/1/head
Xenia Gruenzinger 5 years ago
parent
commit
c802056b2d
7 changed files with 85 additions and 42 deletions
  1. 39
    7
      public/bookmark.js
  2. 1
    1
      public/createMessage.js
  3. 1
    1
      public/files.js
  4. BIN
      public/img/app_icon.png
  5. 1
    1
      public/index.html
  6. 19
    15
      public/style/style.css
  7. 24
    17
      public/style/style.less

+ 39
- 7
public/bookmark.js View File

@@ -1,13 +1,45 @@
const BookmarkRouter = {
template: `
<div>
<div class="bookmark-headline"><h3>Gepeicherte Beiträge</h3></div>
<MsgCard
v-for="(msg, index) in messages"
:key="msg.id"
:msg="msg"
></MsgCard>
</div>`,
<div class="bookmark-headline"><h4>Gepeicherte Beiträge</h4></div>
<div class="om-card card">
<h6 class="msg-head">
<b>Betreff</b>
<img src="favicon.ico" width=20px height=20px>
</h6>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. <br><br>
<a href="#">#beispiel #tag</a></p>
<div class="om-card-footer"> <div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von User 1</div>
<i class="material-icons">bookmark</i>
</div></div>
<div class="om-card card">
<h6 class="msg-head">
<b>Betreff</b>
<img src="favicon.ico" width=20px height=20px>
</h6>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. <br><br>
<a href="#">#beispiel #tag</a></p>
<div class="om-card-footer"> <div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von User 1</div>
<i class="material-icons">bookmark</i>
</div></div>
<div class="om-card card">
<h6 class="msg-head">
<b>Betreff</b>
<img src="favicon.ico" width=20px height=20px>
</h6>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. <br><br>
<a href="#">#beispiel #tag</a></p>
<div class="om-card-footer"> <div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von User 1</div>
<i class="material-icons">bookmark</i>
</div></div>
</div>
</div>`,
data: function () {
return { messages: _messages };
},

+ 1
- 1
public/createMessage.js View File

@@ -1,7 +1,7 @@
const CreateMsgRouter = {
template: `
<div class="card om-card">
<h5>Neue Nachricht erstellen</h5>
<h4>Neue Nachricht erstellen</h4>
<form class="new-msg-form" @submit.prevent=createMsg>
<div class="form-group bmd-form-group">
<label class="bmd-label-floating">Betreff</label>

+ 1
- 1
public/files.js View File

@@ -1,7 +1,7 @@
const FileRouter = {
template: `
<div>
<h3>Wichtige Links</h3>
<h4>Wichtige Links</h4>
<div class="empty-state">
<i class="material-icons"> widgets </i><br>
Diese Funktion steht noch nicht bereit.

BIN
public/img/app_icon.png View File


+ 1
- 1
public/index.html View File

@@ -60,7 +60,7 @@
<div id="api">
<div class="om-header-container">
<div class="om-header">
<a href="index.html"><img src="img/th_nbg_ohmicon_amp.png" width=55px height=55px></a>
<a class="logo-img" href="index.html"><img src="img/app_icon.png" width=45px height=45px></a>
<form class="om-searchbar">
<input type="search" placeholder="Search...">
</form>

+ 19
- 15
public/style/style.css View File

@@ -11,18 +11,21 @@
display: flex;
padding-left: 2%;
padding-right: 2%;
height: 8%;
height: 65px;
background-color: #0046a0;
}
.logo-img {
padding: 10px;
}
.om-searchbar {
display: inline-block;
padding-bottom: 0%;
margin: 3%;
padding: 0;
margin: 15px;
}
.om-content {
margin: 10px;
margin-top: 75px;
margin-bottom: 70px;
margin-top: 80px;
margin-bottom: 80px;
}
.om-content a {
color: #0046a0;
@@ -30,6 +33,16 @@
.om-content a:hover {
color: #0046a0;
}
.om-nav {
position: fixed;
bottom: 0;
height: 65px;
width: 100%;
background-color: #0046a0;
}
.om-nav i {
color: white;
}
.om-card {
margin: 10px;
margin-bottom: 20px;
@@ -57,18 +70,9 @@
.om-user-line i {
margin-right: 2%;
}
.om-nav {
position: fixed;
bottom: 0;
height: 8%;
width: 100%;
background-color: #0046a0;
}
.om-nav i {
color: white;
}
.bookmark-headline {
margin: 10px;
padding-bottom: 10px;
}
.empty-state {
margin: 40px;

+ 24
- 17
public/style/style.less View File

@@ -14,27 +14,44 @@
display: flex;
padding-left: 2%;
padding-right: 2%;
height: 8%;
height: 65px;
background-color: @color;
}

.logo-img{
padding:10px;
}

.om-searchbar{
display: inline-block;
padding-bottom: 0%;
margin: 3%;
padding: 0;
margin: 15px;
}

//content
.om-content{
margin: 10px;
margin-top: 75px;
margin-bottom: 70px;
margin-top: 80px;
margin-bottom: 80px;
a{
color: @color;
&:hover{color:@color;}
}
}

//footer
.om-nav{
position:fixed;
bottom: 0;
height: 65px;
width: 100%;
background-color: @color;
i{
color: white;
}
}

//msg-Card
.om-card{
margin: 10px;
margin-bottom: 20px;
@@ -45,6 +62,7 @@
justify-content: space-between;
display: flex;
}

.om-btn{
background-color: @color;
color: white;
@@ -66,21 +84,10 @@
}
}

//footer
.om-nav{
position:fixed;
bottom: 0;
height: 8%;
width: 100%;
background-color: @color;
i{
color: white;
}
}

// bookmark
.bookmark-headline{
margin: 10px;
padding-bottom: 10px;
}

//empty state

Loading…
Cancel
Save