mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
refactor template and deshboard invoice table
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div id="app" class="main-content">
|
||||
<div id="app" class="main-content dashboard">
|
||||
<div class="row">
|
||||
<div class="dash-item col-sm-6">
|
||||
<router-link slot="item-title" to="/admin/invoices">
|
||||
@ -177,7 +177,7 @@
|
||||
<table-column
|
||||
:sortable="false"
|
||||
:filterable="false"
|
||||
cell-class="action-dropdown no-click"
|
||||
cell-class="action-dropdown dashboard-recent-invoice-options no-click"
|
||||
>
|
||||
<template slot-scope="row">
|
||||
<v-dropdown>
|
||||
|
||||
@ -417,7 +417,7 @@ export default {
|
||||
if (response.data) {
|
||||
this.filters.status = 'ACCEPTED'
|
||||
this.$refs.table.refresh()
|
||||
window.toastr['success'](this.$tc('estimates.marked_as_rejected_message'))
|
||||
window.toastr['success'](this.$tc('estimates.marked_as_accepted_message'))
|
||||
}
|
||||
},
|
||||
async onMarkAsRejected (id) {
|
||||
|
||||
19
resources/assets/sass/pages/dashboard.scss
vendored
19
resources/assets/sass/pages/dashboard.scss
vendored
@ -1,6 +1,23 @@
|
||||
// Dashboard
|
||||
// -------------------------
|
||||
|
||||
.dashboard {
|
||||
|
||||
.dashboard-table
|
||||
.table-component {
|
||||
|
||||
.dashboard-recent-invoice-options {
|
||||
|
||||
.dropdown-container {
|
||||
margin: 10px 5px 0 -75px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.dashbox {
|
||||
background-color: $white;
|
||||
box-shadow: $shadow;
|
||||
@ -364,5 +381,7 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user