refactor: view refactors, snapshot update

This commit is contained in:
woothu
2020-01-29 16:31:11 +01:00
parent d57a73a8a1
commit f0533a9b2e
24 changed files with 152 additions and 393 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<CFooter>
<div>
<a href="https://coreui.io" target="_blank">CoreUI</a>
<span class="ml-1">&copy; 2019 creativeLabs.</span>
<span class="ml-1">&copy; 2020 creativeLabs.</span>
</div>
<div class="ml-auto">
<span class="mr-1">Powered by</span>
+4 -8
View File
@@ -30,13 +30,13 @@
<!-- Right aligned nav items -->
<CNavbarNav class="ml-auto">
<CForm inline>
<CForm inline class="align-middle">
<CInput
class="mr-sm-2"
class="mr-2 my-0"
placeholder="Search"
size="sm"
/>
<CButton color="light" size="sm" class="my-2 my-sm-0">
<CButton color="light" size="sm">
Search
</CButton>
</CForm>
@@ -44,7 +44,6 @@
<CDropdown
toggler-text="Lang"
in-nav
placement="bottom-end"
>
<CDropdownItem>EN</CDropdownItem>
<CDropdownItem>ES</CDropdownItem>
@@ -55,7 +54,6 @@
<CDropdown
in-nav
toggler-text="User"
placement="bottom-end"
>
<CDropdownItem>Profile</CDropdownItem>
<CDropdownItem>Signout</CDropdownItem>
@@ -112,7 +110,6 @@
<!-- Navbar dropdowns -->
<CDropdown
toggler-text="Lang"
placement="bottom-end"
in-nav
>
<CDropdownItem>EN</CDropdownItem>
@@ -122,7 +119,6 @@
</CDropdown>
<CDropdown
toggler-text="User"
placement="bottom-end"
in-nav
>
<CDropdownItem>Account</CDropdownItem>
@@ -176,7 +172,7 @@ export default {
return {
show: false,
navbarText: false,
navbarDropdown: false,
navbarDropdown: false
}
}
}
+1 -1
View File
@@ -111,7 +111,7 @@
<div>
<CDropdown
color="secondary"
:offset="25"
:offset="[10, 5]"
toggler-text="Offset Dropdown"
class="m-2"
>
+2 -2
View File
@@ -19,7 +19,7 @@ export default {
defaultDatasets () {
return [
{
label: '2017',
label: '2019',
backgroundColor: 'rgba(179,181,198,0.2)',
borderColor: 'rgba(179,181,198,1)',
pointBackgroundColor: 'rgba(179,181,198,1)',
@@ -30,7 +30,7 @@ export default {
data: [65, 59, 90, 81, 56, 55, 40]
},
{
label: '2018',
label: '2020',
backgroundColor: 'rgba(255,99,132,0.2)',
borderColor: 'rgba(255,99,132,1)',
pointBackgroundColor: 'rgba(255,99,132,1)',
+1 -1
View File
@@ -188,7 +188,7 @@ export default {
this.dismissCountDown = this.dismissSecs
},
showDismissibleAlerts () {
['alert1', 'alert2', 'alert3'].forEach(alert => this[alert] = true)
['alert1', 'alert2'].forEach(alert => this[alert] = true)
}
}
}