Added login background
the build failed Details

This commit is contained in:
konrad 2017-11-20 16:40:31 +01:00 committed by kolaente
parent d577f0e425
commit b45ceeb3e5
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 47 additions and 38 deletions

View File

@ -64,7 +64,8 @@ export default {
} }
#app{ #app{
margin: 2em 1em; margin: 0 1em;
padding-top: 1.5em;
} }
.menu-avatar{ .menu-avatar{

View File

@ -1,4 +1,5 @@
<template> <template>
<div class="login-wrapper">
<div class="ui middle aligned center aligned grid"> <div class="ui middle aligned center aligned grid">
<div class="column"> <div class="column">
<h2 class="ui blue image header"> <h2 class="ui blue image header">
@ -17,7 +18,8 @@
<div class="field"> <div class="field">
<div class="ui left icon input"> <div class="ui left icon input">
<i class="lock icon"></i> <i class="lock icon"></i>
<input type="password" name="password" placeholder="Password" v-model="credentials.password" @keyup.enter="submit"> <input type="password" name="password" placeholder="Password" v-model="credentials.password"
@keyup.enter="submit">
</div> </div>
</div> </div>
<div class="ui fluid large blue submit button" @click="submit()">Login</div> <div class="ui fluid large blue submit button" @click="submit()">Login</div>
@ -35,6 +37,7 @@
</form> </form>
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
@ -76,16 +79,10 @@
</script> </script>
<style scoped> <style scoped>
body {
background-color: #efefef;
margin-top: -1em;
}
body > .grid {
height: 100%;
}
.image { .image {
margin-top: -100px; margin-top: -100px;
} }
.column { .column {
max-width: 450px; max-width: 450px;
} }
@ -93,4 +90,15 @@
.error.message { .error.message {
display: block; display: block;
} }
.login-wrapper {
background: url("../../static/bg.jpg") no-repeat center;
background-size: cover;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
padding-top: 5em;
}
</style> </style>

BIN
frontend/static/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB