# Conflicts: # public/routes/files.jsmaster
line-height: 1.5; } | line-height: 1.5; } | ||||
a { | a { | ||||
color: #0046a0; | |||||
cursor: pointer; | |||||
text-decoration: none; } | |||||
a strong { | |||||
color: currentColor; } | |||||
a:hover { | |||||
color: #0046a0; } | |||||
a.menu-list { | |||||
color: white; | color: white; | ||||
cursor: pointer; | cursor: pointer; | ||||
text-decoration: none; } | text-decoration: none; } | ||||
border-radius: 2px; | border-radius: 2px; | ||||
display: block; | display: block; | ||||
padding: 0.5em 0.75em; | padding: 0.5em 0.75em; | ||||
background-color: #0046a0; } | |||||
background-color: #0046a0; | |||||
color: white !important;} | |||||
.menu-list a:hover { | .menu-list a:hover { | ||||
background-color: #01295d; | background-color: #01295d; | ||||
color: white; } | color: white; } |
</div> | </div> | ||||
<div class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | <div class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | ||||
<div id="desktop" class="content card om-card"> | |||||
<div id="desktop" class="content"> | |||||
<h4>Neue Nachricht erstellen</h4> | <h4>Neue Nachricht erstellen</h4> | ||||
<b-field> | <b-field> | ||||
<b-input placeholder="User" id="user"></b-input> | <b-input placeholder="User" id="user"></b-input> |
const FileRouter = { | const FileRouter = { | ||||
template: ` | template: ` | ||||
<div> | |||||
<div class="content"> | |||||
<h4 >Erweiterte Suche</h4> | |||||
</div> | |||||
<div class="content"> | |||||
<div class="is-hidden-desktop"> | |||||
<h4>Erweiterte Suche</h4> | |||||
<b-field label="Suche nach"> | <b-field label="Suche nach"> | ||||
<b-select | <b-select | ||||
placeholder="Wähle eine Suchform" | placeholder="Wähle eine Suchform" | ||||
:msg="messages[id] || {}" | :msg="messages[id] || {}" | ||||
></MsgCard> | ></MsgCard> | ||||
</div> | </div> | ||||
</div> | |||||
<div class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | |||||
<h4>Erweiterte Suche</h4> | |||||
<b-field label="Suche nach"> | |||||
<b-select | |||||
placeholder="Wähle eine Suchform" | |||||
v-model="selectedOptions"> | |||||
<option value="freeSearch">Freie Suche</option> | |||||
<option value="subject">Betreff</option> | |||||
<option value="tags">Tags</option> | |||||
<option value="text">Nachrichtentext</option> | |||||
<option value="user">User</option> | |||||
</b-select> | |||||
</b-field> | |||||
<b-field v-if="selectedOptions=='freeSearch'||selectedOptions=='subject'|| selectedOptions=='text' || selectedOptions=='user'"> | |||||
<b-input id="freeSe"></b-input> | |||||
</b-field> | |||||
<b-field v-if="selectedOptions=='tags'"> | |||||
<b-autocomplete rounded v-model="searchtext" | |||||
:data="filteredDataArray" | |||||
placeholder="suche..." icon="magnify" | |||||
@select="option => selected = option"> | |||||
</b-autocomplete> | |||||
</b-field> | |||||
<b-button type="is-primary" @click="search">SUCHE</b-button> | |||||
<div id="om-msg-cards"> | |||||
<MsgCard | |||||
v-for="id in messagelist.slice().reverse()" | |||||
:key="id" | |||||
:msg="messages[id] || {}" | |||||
></MsgCard> | |||||
</div> | |||||
</div> | |||||
</div> | </div> | ||||
`, | `, | ||||
data: function () { | data: function () { |
const HomeRouter = { | const HomeRouter = { | ||||
template: ` | template: ` | ||||
<div id="om-msg-cards"> | |||||
<div> | |||||
<div id="om-msg-cards" class="is-hidden-desktop"> | |||||
<MsgCard | <MsgCard | ||||
v-for="id in messagelist.slice().reverse()" | v-for="id in messagelist.slice().reverse()" | ||||
:key="id" | :key="id" | ||||
:msg="messages[id] || {}" | :msg="messages[id] || {}" | ||||
></MsgCard> | ></MsgCard> | ||||
</div> | |||||
<div id="om-msg-cards" class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | |||||
<MsgCard | |||||
v-for="id in messagelist.slice().reverse()" | |||||
:key="id" | |||||
:msg="messages[id] || {}" | |||||
></MsgCard> | |||||
</div> | |||||
</div>`, | </div>`, | ||||
data: function () { | data: function () { | ||||
return { | return { |
<b>{{ msg.subject }}</b> | <b>{{ msg.subject }}</b> | ||||
<img src="favicon.ico" width=20px height=20px> | <img src="favicon.ico" width=20px height=20px> | ||||
</h6> | </h6> | ||||
{{ msg.message }}<br><br> | |||||
{{ msg.message }}<br> | |||||
<a v-for="tag in msg.tag" @click="filterForTag(tag)">#{{ tag }} </a> | <a v-for="tag in msg.tag" @click="filterForTag(tag)">#{{ tag }} </a> | ||||
<!--<b-button class="tags" type="is-text" v-for="tag in msg.tag">#{{ tag }} </b-button>--> | |||||
<br> | |||||
</p> | </p> | ||||
<div class="om-card-footer"> <div class="om-user-line"> | <div class="om-card-footer"> <div class="om-user-line"> | ||||
<i class="material-icons">account_circle</i> | <i class="material-icons">account_circle</i> |
<div class="column is-sidebar-menu is-hidden-touch"> | <div class="column is-sidebar-menu is-hidden-touch"> | ||||
<aside class="menu is-medium"> | <aside class="menu is-medium"> | ||||
<ul class="menu-list"> | <ul class="menu-list"> | ||||
<li><router-link to="/home" class="is-hidden-touch"> | |||||
<li><router-link to="/home"> | |||||
<i class="material-icons">home</i> Home | <i class="material-icons">home</i> Home | ||||
</router-link></li> | </router-link></li> | ||||
<li><router-link to="/files" class="is-hidden-touch"> | |||||
<i class="material-icons">language</i> Language | |||||
<li><router-link to="/files"> | |||||
<i class="material-icons">search</i> Search | |||||
</router-link></li> | </router-link></li> | ||||
<li><router-link to="/createMessage" class="is-hidden-touch"> | |||||
<li><router-link to="/createMessage"> | |||||
<i class="material-icons">add_circle</i> Create Message | <i class="material-icons">add_circle</i> Create Message | ||||
</router-link></li> | </router-link></li> | ||||
<li><router-link to="/bookmark" class="is-hidden-touch"> | |||||
<li><router-link to="/bookmark"> | |||||
<i class="material-icons">bookmark</i> Bookmark | <i class="material-icons">bookmark</i> Bookmark | ||||
</router-link></li> | </router-link></li> | ||||
<li><router-link to="/profil" class="is-hidden-touch"> | |||||
<li><router-link to="/profil"> | |||||
<i class="material-icons">person</i> Profil | <i class="material-icons">person</i> Profil | ||||
</router-link></li> | </router-link></li> | ||||
</ul> | </ul> |
const ProfilRouter = { | const ProfilRouter = { | ||||
template: ` | template: ` | ||||
<div> | <div> | ||||
<div class="is-hidden-desktop"> | |||||
<div v-if="isAuth"> | <div v-if="isAuth"> | ||||
<profil-card></profil-card> | <profil-card></profil-card> | ||||
</div> | </div> | ||||
<login-panel></login-panel> | <login-panel></login-panel> | ||||
</b-modal> | </b-modal> | ||||
</div> | </div> | ||||
</div> | |||||
<div class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | |||||
<div v-if="isAuth"> | |||||
<profil-card></profil-card> | |||||
</div> | |||||
<div v-else> | |||||
<button class="button is-primary is-medium" | |||||
@click="isLPVisible = true"> | |||||
Login | |||||
</button> | |||||
<b-modal :active.sync="isLPVisible" | |||||
@close-login-panel="closeLoginPanel" | |||||
@show-login-panel="showLoginPanel" | |||||
has-modal-card> | |||||
<login-panel></login-panel> | |||||
</b-modal> | |||||
</div> | |||||
</div> | |||||
</div>`, | </div>`, | ||||
data: function () { | data: function () { | ||||
return { | return { |
overflow: hidden; | overflow: hidden; | ||||
} | } | ||||
.om-content a { | .om-content a { | ||||
color: white; | |||||
color: #0046a0; | |||||
} | } | ||||
.om-content a:hover { | .om-content a:hover { | ||||
color: white; | |||||
color: #0046a0; | |||||
} | |||||
.om-content a .menu-list { | |||||
color: white !important; | |||||
} | |||||
.om-content a .menu-list:hover { | |||||
color: white !important; | |||||
} | } | ||||
.content-desktop { | .content-desktop { | ||||
margin-right: 30px; | margin-right: 30px; | ||||
border-color: #dbdbdb; | border-color: #dbdbdb; | ||||
border-left: white; | border-left: white; | ||||
} | } | ||||
.taglink { | |||||
color: #0046a0; | |||||
} |
width: auto; | width: auto; | ||||
overflow: hidden; | overflow: hidden; | ||||
a{ | a{ | ||||
color: white; | |||||
&:hover{color:white;} | |||||
} | |||||
color: #0046a0; | |||||
&:hover{color: #0046a0;} | |||||
.menu-list { | |||||
color: white !important; | |||||
&:hover{color: white !important; } | |||||
}} | |||||
} | } | ||||
.content-desktop { | .content-desktop { | ||||
} | } | ||||
.taglink{ | |||||
color: @color; | |||||
} | |||||