feat: updated icons to Nucleo
This commit is contained in:
@@ -37,7 +37,7 @@ var mkdown = md({
|
||||
.use(mdAnchor, {
|
||||
slugify: _.kebabCase,
|
||||
permalink: true,
|
||||
permalinkClass: 'toc-anchor icon-anchor',
|
||||
permalinkClass: 'toc-anchor nc-icon-outline location_bookmark-add',
|
||||
permalinkSymbol: '',
|
||||
permalinkBefore: true
|
||||
})
|
||||
|
@@ -18,8 +18,8 @@ html(data-logic='login')
|
||||
link(rel='manifest', href='/manifest.json')
|
||||
|
||||
// JS / CSS
|
||||
script(type='text/javascript', src='/js/vendor.min.js')
|
||||
script(type='text/javascript', src='/js/app.min.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||
|
||||
body
|
||||
#bg
|
||||
|
@@ -5,7 +5,7 @@
|
||||
block rootNavLeft
|
||||
a.nav-item(href='/')
|
||||
h1
|
||||
i.icon-layers
|
||||
i.nc-icon-outline.ui-2_layers
|
||||
= appconfig.title
|
||||
.nav-center
|
||||
block rootNavCenter
|
||||
|
@@ -6,25 +6,25 @@ html(data-logic='error')
|
||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||
meta(name='theme-color', content='#009688')
|
||||
meta(name='msapplication-TileColor', content='#009688')
|
||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
||||
meta(name='msapplication-TileImage', content=appconfig.host + '/favicons/ms-icon-144x144.png')
|
||||
title= appconfig.title
|
||||
|
||||
// Favicon
|
||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href=appconfig.host + '/favicons/android-icon-192x192.png')
|
||||
each favsize in [32, 96, 16]
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href='/manifest.json')
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||
|
||||
// JS / CSS
|
||||
script(type='text/javascript', src='/js/vendor.min.js')
|
||||
script(type='text/javascript', src='/js/app.min.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||
|
||||
body(class='is-forbidden')
|
||||
.container
|
||||
a(href='/'): img(src='/images/logo.png')
|
||||
a(href='/'): img(src=appconfig.host + '/images/logo.png')
|
||||
h1= t('errors:forbidden')
|
||||
h2= t('errors:forbiddendetail')
|
||||
a.button.is-amber.is-inverted(href='/')= t('errors:actions.gohome')
|
||||
a.button.is-amber.is-inverted(href='/login')= t('errors:actions.loginas')
|
||||
a.button.is-amber.is-inverted(href=appconfig.host + '/')= t('errors:actions.gohome')
|
||||
a.button.is-amber.is-inverted(href=appconfig.host + '/login')= t('errors:actions.loginas')
|
||||
|
@@ -6,25 +6,25 @@ html(data-logic='error')
|
||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||
meta(name='theme-color', content='#009688')
|
||||
meta(name='msapplication-TileColor', content='#009688')
|
||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
||||
meta(name='msapplication-TileImage', content=appconfig.host + '/favicons/ms-icon-144x144.png')
|
||||
title= appconfig.title
|
||||
|
||||
// Favicon
|
||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href=appconfig.host + '/favicons/android-icon-192x192.png')
|
||||
each favsize in [32, 96, 16]
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href='/manifest.json')
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||
|
||||
// JS / CSS
|
||||
script(type='text/javascript', src='/js/vendor.min.js')
|
||||
script(type='text/javascript', src='/js/app.min.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||
|
||||
body(class='is-notexist')
|
||||
.container
|
||||
a(href='/'): img(src='/images/logo.png')
|
||||
a(href='/'): img(src=appconfig.host + '/images/logo.png')
|
||||
h1 !{message}
|
||||
h2= t('errors:notexistdetail')
|
||||
a.button.is-amber.is-inverted.is-featured(href='/create/' + newpath)= t('errors:actions.create')
|
||||
a.button.is-amber.is-inverted(href='/')= t('errors:actions.gohome')
|
||||
a.button.is-amber.is-inverted.is-featured(href=appconfig.host + '/create/' + newpath)= t('errors:actions.create')
|
||||
a.button.is-amber.is-inverted(href=appconfig.host + '/')= t('errors:actions.gohome')
|
||||
|
@@ -6,27 +6,27 @@ html(data-logic='error')
|
||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||
meta(name='theme-color', content='#009688')
|
||||
meta(name='msapplication-TileColor', content='#009688')
|
||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
||||
meta(name='msapplication-TileImage', content=appconfig.host + '/favicons/ms-icon-144x144.png')
|
||||
title= appconfig.title
|
||||
|
||||
// Favicon
|
||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href=appconfig.host + '/favicons/android-icon-192x192.png')
|
||||
each favsize in [32, 96, 16]
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href='/manifest.json')
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||
|
||||
// JS / CSS
|
||||
script(type='text/javascript', src='/js/vendor.min.js')
|
||||
script(type='text/javascript', src='/js/app.min.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||
|
||||
body(class='is-error')
|
||||
.container
|
||||
a(href='/'): img(src='/images/logo.png')
|
||||
a(href='/'): img(src=appconfig.host + '/images/logo.png')
|
||||
h1= message
|
||||
h2= t('errors:generic')
|
||||
a.button.is-amber.is-inverted.is-featured(href='/')= t('errors:actions.gohome')
|
||||
a.button.is-amber.is-inverted.is-featured(href=appconfig.host + '/')= t('errors:actions.gohome')
|
||||
|
||||
if error.stack
|
||||
h3= t('errors:debugmsg')
|
||||
|
@@ -6,16 +6,16 @@ html
|
||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||
meta(name='theme-color', content='#009688')
|
||||
meta(name='msapplication-TileColor', content='#009688')
|
||||
meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
|
||||
meta(name='msapplication-TileImage', content=appconfig.host + '/favicons/ms-icon-144x144.png')
|
||||
title= appconfig.title
|
||||
|
||||
//- Favicon
|
||||
each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
|
||||
link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='icon', type='image/png', sizes='192x192', href=appconfig.host + '/favicons/android-icon-192x192.png')
|
||||
each favsize in [32, 96, 16]
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href='/manifest.json')
|
||||
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href=appconfig.host + '/favicons/favicon-' + favsize + 'x' + favsize + '.png')
|
||||
link(rel='manifest', href=appconfig.host + '/manifest.json')
|
||||
|
||||
//- Site Lang
|
||||
script.
|
||||
@@ -23,8 +23,8 @@ html
|
||||
var siteRoot = '!{appconfig.host}';
|
||||
|
||||
//- JS / CSS
|
||||
script(type='text/javascript', src='/js/vendor.min.js')
|
||||
script(type='text/javascript', src='/js/app.min.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
|
||||
script(type='text/javascript', src=appconfig.host + '/js/app.js')
|
||||
|
||||
block head
|
||||
|
||||
|
@@ -7,7 +7,7 @@ block rootNavRight
|
||||
loading-spinner
|
||||
.nav-item
|
||||
a.button.btn-edit-discard(href='/')
|
||||
i.icon-home
|
||||
i.nc-icon-outline.ui-1_home-minimal
|
||||
span= t('nav.root')
|
||||
|
||||
block content
|
||||
@@ -24,7 +24,7 @@ block content
|
||||
ul.sidebar-menu
|
||||
li
|
||||
a(href='/')
|
||||
i.icon-home
|
||||
i.nc-icon-outline.ui-1_home-minimal
|
||||
span= t('nav.root')
|
||||
|
||||
aside
|
||||
@@ -33,20 +33,20 @@ block content
|
||||
ul.sidebar-menu
|
||||
li
|
||||
a(href='/admin/profile')
|
||||
i.icon-user
|
||||
i.nc-icon-outline.users_circle-10
|
||||
span= t('nav.myprofile')
|
||||
li
|
||||
a(href='/admin/stats')
|
||||
i.icon-bar-graph-2
|
||||
i.nc-icon-outline.ui-3_chart-bars
|
||||
span= t('nav.stats')
|
||||
if rights.manage
|
||||
li
|
||||
a(href='/admin/users')
|
||||
i.icon-users
|
||||
i.nc-icon-outline.users_multiple-19
|
||||
span= t('nav.users')
|
||||
li
|
||||
a(href='/admin/settings')
|
||||
i.icon-cog
|
||||
i.nc-icon-outline.ui-1_settings-gear-63
|
||||
span= t('nav.syssettings')
|
||||
//-li
|
||||
a(href='/admin/theme')
|
||||
@@ -54,7 +54,7 @@ block content
|
||||
span= t('nav.theme')
|
||||
li
|
||||
a(href='/logout')
|
||||
i.icon-delete2
|
||||
i.nc-icon-outline.arrows-1_log-out
|
||||
span= t('nav.logout')
|
||||
|
||||
.column
|
||||
|
@@ -29,21 +29,21 @@ block adminContent
|
||||
section
|
||||
label.label #{t('admin:profile.tfa')}: #[strong.is-red(v-cloak) {{ tfaStatus }}]
|
||||
button.button.is-blue(@click='$store.dispatch("modalProfile2fa/open")', :disabled='tfaIsActive')
|
||||
i.icon-circle-plus
|
||||
i.nc-icon-outline.ui-1_circle-add
|
||||
span= t('admin:profile.tfaenable')
|
||||
button.button.is-blue(@click='saveUser', :disabled='!tfaIsActive')
|
||||
i.icon-circle-minus
|
||||
i.nc-icon-outline.ui-1_circle-delete
|
||||
span= t('admin:profile.tfadisable')
|
||||
section
|
||||
button.button.is-green(@click='saveUser')
|
||||
i.icon-check
|
||||
i.nc-icon-outline.ui-1_check
|
||||
span= t('admin:profile.savechanges')
|
||||
.column
|
||||
.panel-aside
|
||||
label.label= t('admin:profile.provider')
|
||||
p.control.account-profile-provider
|
||||
case user.provider
|
||||
when 'local': i.icon-server
|
||||
when 'local': i.nc-icon-outline.ui-1_database
|
||||
when 'windowslive': i.icon-windows2.is-blue
|
||||
when 'azure': i.icon-windows2.is-blue
|
||||
when 'google': i.icon-google.is-blue
|
||||
|
@@ -4,7 +4,7 @@ block rootNavRight
|
||||
loading-spinner
|
||||
.nav-item
|
||||
a.button(href='/admin/users')
|
||||
i.icon-reply
|
||||
i.nc-icon-outline.arrows-2_corner-left-round
|
||||
span= t('admin:users.returntousers')
|
||||
|
||||
block adminContent
|
||||
@@ -25,7 +25,7 @@ block adminContent
|
||||
td.is-centered= usr._id
|
||||
td.is-centered.has-icons
|
||||
case usr.provider
|
||||
when 'local': i.icon-server
|
||||
when 'local': i.nc-icon-outline.ui-1_database
|
||||
when 'windowslive': i.icon-windows2.is-blue
|
||||
when 'azure': i.icon-windows2.is-blue
|
||||
when 'google': i.icon-google.is-blue
|
||||
@@ -64,8 +64,8 @@ block adminContent
|
||||
tbody
|
||||
tr(v-for='(right, idx) in rights', v-cloak)
|
||||
td.is-icon
|
||||
i.icon-marquee-plus.is-green(v-if='right.deny === false || right.deny === "false"')
|
||||
i.icon-marquee-minus.is-red(v-if='right.deny === true || right.deny === "true"')
|
||||
i.nc-icon-outline.ui-2_square-add-08.is-green(v-if='right.deny === false || right.deny === "false"')
|
||||
i.nc-icon-outline.ui-2_square-delete-10.is-red(v-if='right.deny === true || right.deny === "true"')
|
||||
td
|
||||
p.control.is-fullwidth
|
||||
select(v-model='right.role')
|
||||
@@ -94,7 +94,7 @@ block adminContent
|
||||
td.is-centered.has-action-icons
|
||||
.table-actions
|
||||
button.button.is-blue(v-on:click='addRightsRow')
|
||||
i.icon-plus
|
||||
i.nc-icon-outline.ui-1_simple-add
|
||||
span Add New Row
|
||||
section
|
||||
label.label Role Override
|
||||
@@ -106,16 +106,16 @@ block adminContent
|
||||
.column
|
||||
section
|
||||
button.button.is-green(v-on:click='saveUser')
|
||||
i.icon-check
|
||||
i.nc-icon-outline.ui-1_check
|
||||
span Save Changes
|
||||
a.button.button.is-grey.is-outlined(href='/admin/users')
|
||||
i.icon-cancel
|
||||
i.nc-icon-outline.ui-1_simple-remove
|
||||
span Discard
|
||||
.column.is-narrow
|
||||
section
|
||||
if usrOpts.canBeDeleted
|
||||
button.button.is-red(v-on:click='$store.dispatch("modalDeleteUser/open")')
|
||||
i.icon-trash2
|
||||
i.nc-icon-outline.ui-1_trash
|
||||
span Delete Account
|
||||
|
||||
modal-delete-user(current-user=usr._id)
|
||||
|
@@ -4,7 +4,7 @@ block rootNavRight
|
||||
loading-spinner
|
||||
.nav-item
|
||||
a.button(v-on:click='$store.dispatch("modalCreateUser/open")')
|
||||
i.icon-plus
|
||||
i.nc-icon-outline.ui-1_simple-add
|
||||
span= t('admin:users.createauthorize')
|
||||
|
||||
block adminContent
|
||||
@@ -24,13 +24,13 @@ block adminContent
|
||||
each usr in usrs
|
||||
tr
|
||||
td.is-icon
|
||||
i.icon-user.is-grey
|
||||
i.nc-icon-outline.users_single-05.is-grey
|
||||
td
|
||||
a(href='/admin/users/' + usr._id)= usr.name
|
||||
td= usr.email
|
||||
td.is-centered.has-icons
|
||||
case usr.provider
|
||||
when 'local': i.icon-server
|
||||
when 'local': i.nc-icon-outline.ui-1_database
|
||||
when 'windowslive': i.icon-windows2.is-blue
|
||||
when 'azure': i.icon-windows2.is-blue
|
||||
when 'google': i.icon-google.is-blue
|
||||
|
@@ -9,16 +9,16 @@ block content
|
||||
ul.sidebar-menu
|
||||
li
|
||||
a(href='/')
|
||||
i.icon-home
|
||||
i.nc-icon-outline.ui-1_home-minimal
|
||||
span= t('nav.root')
|
||||
if !isGuest
|
||||
li
|
||||
a(href='/admin')
|
||||
i.icon-cog
|
||||
i.nc-icon-outline.ui-1_settings-gear-63
|
||||
span= t('nav.account')
|
||||
else
|
||||
li
|
||||
a(href='/login')
|
||||
i.icon-unlock
|
||||
i.nc-icon-outline.arrows-1_log-in
|
||||
span= t('nav.login')
|
||||
tree
|
||||
|
@@ -7,10 +7,10 @@ block rootNavRight
|
||||
loading-spinner
|
||||
span.nav-item
|
||||
a.button.is-outlined(v-on:click='$store.dispatch("modalDiscardPage/open")')
|
||||
i.icon-cross
|
||||
i.nc-icon-outline.ui-1_simple-remove
|
||||
span= t('nav.discard')
|
||||
a.button(v-on:click='$root.$emit("editor/save")')
|
||||
i.icon-check
|
||||
i.nc-icon-outline.ui-1_check
|
||||
span= t('nav.savedocument')
|
||||
|
||||
block content
|
||||
|
@@ -7,10 +7,10 @@ block rootNavRight
|
||||
loading-spinner
|
||||
span.nav-item
|
||||
a.button.is-outlined(v-on:click='$store.dispatch("modalDiscardPage/open")')
|
||||
i.icon-cross
|
||||
i.nc-icon-outline.ui-1_simple-remove
|
||||
span= t('nav.discard')
|
||||
a.button(v-on:click='$root.$emit("editor/save")')
|
||||
i.icon-check
|
||||
i.nc-icon-outline.ui-1_check
|
||||
span= t('nav.savechanges')
|
||||
|
||||
block content
|
||||
|
@@ -8,17 +8,17 @@ block rootNavRight
|
||||
span.nav-item
|
||||
if rights.write && pageData.meta.path !== 'home'
|
||||
a.button.is-outlined(v-on:click='$store.dispatch("modalMovePage/open")')
|
||||
i.icon-shuffle
|
||||
i.nc-icon-outline.arrows-1_shuffle-98
|
||||
span= t('nav.move')
|
||||
a.button.is-outlined(href='/' + pageData.meta.path)
|
||||
i.icon-loader
|
||||
i.nc-icon-outline.ui-2_book
|
||||
span= t('nav.normalview')
|
||||
if rights.write
|
||||
a.button.is-orange(href='/edit/' + pageData.meta.path)
|
||||
i.icon-document-text
|
||||
i.nc-icon-outline.ui-1_edit-76
|
||||
span= t('nav.edit')
|
||||
a.button(v-on:click='$store.dispatch("modalCreatePage/open")')
|
||||
i.icon-plus
|
||||
i.nc-icon-outline.ui-1_simple-add
|
||||
span= t('nav.create')
|
||||
|
||||
block content
|
||||
|
@@ -13,20 +13,20 @@ block rootNavRight
|
||||
.nav-item
|
||||
if rights.write && pageData.meta.path !== 'home'
|
||||
a.button.is-outlined(v-on:click='$store.dispatch("modalMovePage/open")')
|
||||
i.icon-shuffle
|
||||
i.nc-icon-outline.arrows-1_shuffle-98
|
||||
span= t('nav.move')
|
||||
a.button.is-outlined(href='/source/' + pageData.meta.path)
|
||||
i.icon-loader
|
||||
i.nc-icon-outline.education_paper
|
||||
span= t('nav.source')
|
||||
//- a.button.is-outlined(href='/hist/' + pageData.meta.path)
|
||||
i.icon-clock
|
||||
span= t('nav.history')
|
||||
if rights.write
|
||||
a.button(href='/edit/' + pageData.meta.path)
|
||||
i.icon-document-text
|
||||
i.nc-icon-outline.ui-1_edit-76
|
||||
span= t('nav.edit')
|
||||
a.button(v-on:click='$store.dispatch("modalCreatePage/open")')
|
||||
i.icon-plus
|
||||
i.nc-icon-outline.ui-1_simple-add
|
||||
span= t('nav.create')
|
||||
|
||||
block content
|
||||
@@ -43,11 +43,11 @@ block content
|
||||
ul.sidebar-menu
|
||||
li
|
||||
a(href='/')
|
||||
i.icon-home
|
||||
i.nc-icon-outline.ui-1_home-minimal
|
||||
span= t('nav.root')
|
||||
li
|
||||
a(href='/all')
|
||||
i.icon-paper
|
||||
i.nc-icon-outline.business_hierarchy-55
|
||||
span= t('nav.allpages')
|
||||
if pageData.parent
|
||||
li
|
||||
@@ -57,12 +57,12 @@ block content
|
||||
if !isGuest
|
||||
li
|
||||
a(href='/admin')
|
||||
i.icon-cog
|
||||
i.nc-icon-outline.ui-1_settings-gear-63
|
||||
span= t('nav.settings')
|
||||
else
|
||||
li
|
||||
a(href='/login')
|
||||
i.icon-unlock
|
||||
i.nc-icon-outline.arrows-1_log-in
|
||||
span= t('nav.login')
|
||||
aside.sidebar-pagecontents
|
||||
.sidebar-label
|
||||
|
Reference in New Issue
Block a user