refactor: replace font icons with svg icons

This commit is contained in:
woothu
2019-11-08 17:20:56 +01:00
parent 1c7b133ae5
commit bc822612da
67 changed files with 397 additions and 44811 deletions
@@ -1,192 +0,0 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TheHeader.vue renders correctly 1`] = `
<cheader-stub
colorscheme="light"
fixed="true"
light=""
tag="header"
withsubheader="true"
>
<ctoggler-stub
class="ml-3 d-lg-none"
inheader="true"
tag="button"
/>
<ctoggler-stub
class="ml-3 d-md-down-none"
inheader="true"
tag="button"
/>
<cheaderbrand-stub
alt="CoreUI Logo"
class="mx-auto d-lg-none"
height="46"
src="img/brand/coreui-base.svg"
width="97"
wrappedinlink="[object Object]"
/>
<cheadernav-stub
class="d-md-down-none mr-auto"
>
<cheadernavitem-stub
activeclass="active"
class="px-3"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
to="/dashboard"
>
<cheadernavlink-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
Dashboard
</cheadernavlink-stub>
</cheadernavitem-stub>
<cheadernavitem-stub
activeclass="active"
class="px-3"
event="click"
exact="true"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
to="/users"
>
<cheadernavlink-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
Users
</cheadernavlink-stub>
</cheadernavitem-stub>
<cheadernavitem-stub
activeclass="active"
class="px-3"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<cheadernavlink-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
Settings
</cheadernavlink-stub>
</cheadernavitem-stub>
</cheadernav-stub>
<cheadernav-stub
class="mr-4"
>
<cheadernavitem-stub
activeclass="active"
class="d-md-down-none mx-2"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<cheadernavlink-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<i
class="cui-bell"
/>
</cheadernavlink-stub>
</cheadernavitem-stub>
<cheadernavitem-stub
activeclass="active"
class="d-md-down-none mx-2"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<cheadernavlink-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<i
class="cui-list"
/>
</cheadernavlink-stub>
</cheadernavitem-stub>
<cheadernavitem-stub
activeclass="active"
class="d-md-down-none mx-2"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<cheadernavlink-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
<i
class="cui-envelope-open"
/>
</cheadernavlink-stub>
</cheadernavitem-stub>
<theheaderdropdownaccnt-stub />
</cheadernav-stub>
<csubheader-stub
class="px-3"
tag="div"
>
<cbreadcrumbrouter-stub
class="border-0"
/>
</csubheader-stub>
</cheader-stub>
`;
@@ -1,250 +0,0 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TheHeaderDropdownAccnt.vue renders correctly 1`] = `
<cdropdown-stub
addmenuclasses="pt-0"
caret="true"
class="c-header-nav-items"
flip="true"
innav="true"
placement="bottom-end"
togglertext="Dropdown"
>
<cdropdownheader-stub
class="text-center"
color="light"
tag="div"
>
<strong>
Account
</strong>
</cdropdownheader-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-bell mr-2"
/>
Updates
<cbadge-stub
activeclass="active"
class="ml-auto"
color="info"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
42
</cbadge-stub>
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-envelope-open mr-2"
/>
Messages
<cbadge-stub
activeclass="active"
class="ml-auto"
color="success"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
42
</cbadge-stub>
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-task mr-2"
/>
Tasks
<cbadge-stub
activeclass="active"
class="ml-auto"
color="danger"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
42
</cbadge-stub>
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-comment-square mr-2"
/>
Comments
<cbadge-stub
activeclass="active"
class="ml-auto"
color="warning"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
42
</cbadge-stub>
</cdropdownitem-stub>
<cdropdownheader-stub
class="text-center"
color="light"
tag="div"
>
<strong>
Settings
</strong>
</cdropdownheader-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-user mr-2"
/>
Profile
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-wrench mr-2"
/>
Settings
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-dollar mr-2"
/>
Payments
<cbadge-stub
activeclass="active"
class="ml-auto"
color="secondary"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
42
</cbadge-stub>
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-file mr-2"
/>
Projects
<cbadge-stub
activeclass="active"
class="ml-auto"
color="primary"
event="click"
exactactiveclass="active"
routertag="a"
tag="span"
target="_self"
>
42
</cbadge-stub>
</cdropdownitem-stub>
<cdropdowndivider-stub
tag="div"
/>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-shield mr-2"
/>
Lock Account
</cdropdownitem-stub>
<cdropdownitem-stub
activeclass="active"
event="click"
exactactiveclass="active"
routertag="a"
target="_self"
>
<i
class="cui-lock-locked mr-2"
/>
Logout
</cdropdownitem-stub>
</cdropdown-stub>
`;