mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
git-subtree-dir: frontend git-subtree-mainline: a866d737678d48a6a32d93a12c166f882626e87d git-subtree-split: d820caba3ffcf0e94e3740ee7a25e583176d6df0
113 lines
3.1 KiB
Vue
Executable File
113 lines
3.1 KiB
Vue
Executable File
<template>
|
|
<div>
|
|
<base-header class="pb-6 pb-8 pt-5 pt-md-8 bg-gradient-success">
|
|
<!-- Card stats -->
|
|
<b-row>
|
|
<b-col xl="3" md="6">
|
|
<stats-card title="Total traffic"
|
|
type="gradient-red"
|
|
sub-title="350,897"
|
|
icon="ni ni-active-40"
|
|
class="mb-4">
|
|
|
|
<template slot="footer">
|
|
<span class="text-success mr-2">3.48%</span>
|
|
<span class="text-nowrap">Since last month</span>
|
|
</template>
|
|
</stats-card>
|
|
</b-col>
|
|
<b-col xl="3" md="6">
|
|
<stats-card title="Total traffic"
|
|
type="gradient-orange"
|
|
sub-title="2,356"
|
|
icon="ni ni-chart-pie-35"
|
|
class="mb-4">
|
|
|
|
<template slot="footer">
|
|
<span class="text-success mr-2">12.18%</span>
|
|
<span class="text-nowrap">Since last month</span>
|
|
</template>
|
|
</stats-card>
|
|
</b-col>
|
|
<b-col xl="3" md="6">
|
|
<stats-card title="Sales"
|
|
type="gradient-green"
|
|
sub-title="924"
|
|
icon="ni ni-money-coins"
|
|
class="mb-4">
|
|
|
|
<template slot="footer">
|
|
<span class="text-danger mr-2">5.72%</span>
|
|
<span class="text-nowrap">Since last month</span>
|
|
</template>
|
|
</stats-card>
|
|
|
|
</b-col>
|
|
<b-col xl="3" md="6">
|
|
<stats-card title="Performance"
|
|
type="gradient-info"
|
|
sub-title="49,65%"
|
|
icon="ni ni-chart-bar-32"
|
|
class="mb-4">
|
|
|
|
<template slot="footer">
|
|
<span class="text-success mr-2">54.8%</span>
|
|
<span class="text-nowrap">Since last month</span>
|
|
</template>
|
|
</stats-card>
|
|
</b-col>
|
|
</b-row>
|
|
</base-header>
|
|
<b-container fluid class="mt--7">
|
|
<b-row>
|
|
<b-col>
|
|
<light-table/>
|
|
</b-col>
|
|
</b-row>
|
|
<div class="mt-5"></div>
|
|
<dark-table></dark-table>
|
|
</b-container>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { Dropdown, DropdownItem, DropdownMenu, Table, TableColumn } from 'element-ui';
|
|
import projects from './Tables/projects'
|
|
import users from './Tables/users'
|
|
import LightTable from "./Tables/RegularTables/LightTable";
|
|
import DarkTable from "./Tables/RegularTables/DarkTable";
|
|
|
|
export default {
|
|
components: {
|
|
LightTable,
|
|
DarkTable,
|
|
[Dropdown.name]: Dropdown,
|
|
[DropdownItem.name]: DropdownItem,
|
|
[DropdownMenu.name]: DropdownMenu,
|
|
[Table.name]: Table,
|
|
[TableColumn.name]: TableColumn
|
|
},
|
|
data() {
|
|
return {
|
|
projects,
|
|
users
|
|
};
|
|
}
|
|
};
|
|
</script>
|
|
<style>
|
|
.el-table.table-dark{
|
|
background-color: #172b4d;
|
|
color: #f8f9fe;
|
|
}
|
|
|
|
.el-table.table-dark th,
|
|
.el-table.table-dark tr{
|
|
background-color: #172b4d;
|
|
}
|
|
|
|
.el-table.table-dark td,
|
|
.el-table.table-dark th.is-leaf{
|
|
border-bottom: none;
|
|
}
|
|
</style>
|