Skip to content

Commit 52f8aba

Browse files
committed
#166 added home page link to the admin page
1 parent 1497d77 commit 52f8aba

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

web-src/js/admin/AdminApp.vue

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<template>
22
<div class="admin-page">
33
<div class="page-title teal z-depth-1">
4+
<a class="btn-flat left home-button" href="index.html">
5+
<i class="material-icons white-text">home</i>
6+
</a>
47
<ul class="tabs tabs-fixed-width" ref="tabs">
58
<li class="tab">
69
<router-link to="/logs">Logs</router-link>
@@ -19,8 +22,8 @@
1922
import Vue from 'vue';
2023
import Vuex, {mapActions, mapState} from 'vuex';
2124
import executions from '../history/executions-module';
22-
import scripts from './scripts-config/scripts-module';
2325
import scriptConfig from './scripts-config/script-config-module';
26+
import scripts from './scripts-config/scripts-module';
2427
2528
Vue.use(Vuex);
2629
@@ -130,4 +133,15 @@
130133
flex: 1 1 0;
131134
overflow-y: auto;
132135
}
136+
137+
.home-button {
138+
height: 100%;
139+
padding-left: 20px;
140+
padding-right: 20px;
141+
}
142+
143+
.home-button i {
144+
font-size: 1.8em;
145+
line-height: 1.8em;
146+
}
133147
</style>

0 commit comments

Comments
 (0)