Better styling
This commit is contained in:
parent
3981724c86
commit
387d910e44
8 changed files with 83 additions and 131 deletions
|
@ -21,8 +21,14 @@ It comes with a very straightforward dashboard written in PHP. This is **optiona
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
|
||||||
|
### Tasks list with quick preview
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### Task details with graph and history
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,17 @@ html body h3 .context-menu {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
html body div.round {
|
||||||
|
box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.3);
|
||||||
|
border-radius: 5px;
|
||||||
|
position: relative;
|
||||||
|
background-color: white;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
html body div.round h3 {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
html body img {
|
html body img {
|
||||||
vertical-align: sub;
|
vertical-align: sub;
|
||||||
}
|
}
|
||||||
|
@ -100,13 +111,6 @@ html body table td.right {
|
||||||
html body table#tasks_tbl, html body table#contacts_tbl {
|
html body table#tasks_tbl, html body table#contacts_tbl {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
html body .quick-view {
|
|
||||||
box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.3);
|
|
||||||
border-radius: 5px;
|
|
||||||
position: relative;
|
|
||||||
background-color: white;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
html body .quick-view .new-group {
|
html body .quick-view .new-group {
|
||||||
margin: 0.2rem;
|
margin: 0.2rem;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -90,6 +90,21 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.round {
|
||||||
|
-webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.3);
|
||||||
|
-moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.3);
|
||||||
|
box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.3);
|
||||||
|
border-radius: 5px;
|
||||||
|
position: relative;
|
||||||
|
background-color: white;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
vertical-align: sub;
|
vertical-align: sub;
|
||||||
|
@ -133,13 +148,6 @@ html {
|
||||||
|
|
||||||
|
|
||||||
.quick-view {
|
.quick-view {
|
||||||
-webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.3);
|
|
||||||
-moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.3);
|
|
||||||
box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.3);
|
|
||||||
border-radius: 5px;
|
|
||||||
position: relative;
|
|
||||||
background-color: white;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
.new-group {
|
.new-group {
|
||||||
margin: .2rem;
|
margin: .2rem;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="quick-view">
|
<div class="quick-view round">
|
||||||
<h3>
|
<h3>
|
||||||
Quick overview
|
Quick overview
|
||||||
</h3>
|
</h3>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div
|
<div
|
||||||
v-for="group in tasks"
|
v-for="group in tasks"
|
||||||
v-bind:key="group.id"
|
v-bind:key="group.id"
|
||||||
class="task"
|
class="task round"
|
||||||
>
|
>
|
||||||
<a :name="'group-'+group.id"></a>
|
<a :name="'group-'+group.id"></a>
|
||||||
<h3>
|
<h3>
|
||||||
|
|
|
@ -17,13 +17,16 @@
|
||||||
<option value="15">15 days</option>
|
<option value="15">15 days</option>
|
||||||
<option value="30">30 days</option>
|
<option value="30">30 days</option>
|
||||||
</select>
|
</select>
|
||||||
|
<div id="chart" class="round">
|
||||||
<h3>Uptime: past {{ chart.days }} days</h3>
|
<h3>Uptime: past {{ chart.days }} days</h3>
|
||||||
<div id="chart">
|
<div class="block-content">
|
||||||
<apexchart v-if="chart.render" type="bar" height="350" :options="chartOptions" :series="series"></apexchart>
|
<apexchart class="graph" v-if="chart.render" type="bar" height="350" :options="chartOptions" :series="series"></apexchart>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div v-if="task.history.length > 0" class="round">
|
||||||
<h3>Last {{ chart.days }} days history log</h3>
|
<h3>Last {{ chart.days }} days history log</h3>
|
||||||
<div v-if="task.history.length > 0">
|
<div class="block-content">
|
||||||
<p><i>Showing only records where status has changed</i></p>
|
<p><i>Showing only records where status has changed</i></p>
|
||||||
<table id="tasks_tbl">
|
<table id="tasks_tbl">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -56,6 +59,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<p v-else>No history to display here</p>
|
<p v-else>No history to display here</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -181,7 +185,5 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
#chart {
|
|
||||||
margin-top: 3rem;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
BIN
screenshot2.png
Normal file
BIN
screenshot2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 394 KiB |
Loading…
Add table
Reference in a new issue