mirror of https://github.com/Requarks/wiki.git
NGPixel
8 years ago
18 changed files with 219 additions and 172 deletions
Split View
Diff Options
-
7agent.js
-
2assets/css/app.css
-
2assets/css/login.css
-
67assets/js/libs.js
-
7client/scss/app.scss
-
22client/scss/components/_editor.scss
-
15client/scss/layout/_header.scss
-
20gulpfile.js
-
38package.json
-
7server.js
-
23views/common/header.pug
-
62views/pages/admin/_layout.pug
-
44views/pages/admin/profile.pug
-
9views/pages/admin/settings.pug
-
19views/pages/admin/stats.pug
-
27views/pages/admin/users.pug
-
10views/pages/create.pug
-
10views/pages/source.pug
2
assets/css/app.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2
assets/css/login.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
67
assets/js/libs.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,30 +1,58 @@ |
|||
extends ../../layout.pug |
|||
|
|||
block rootNavCenter |
|||
|
|||
h2.nav-item Account |
|||
|
|||
block rootNavRight |
|||
i.nav-item#notifload |
|||
.nav-item |
|||
a.button.btn-edit-discard(href='/') |
|||
span.icon |
|||
i.fa.fa-home |
|||
i.fa.fa-home |
|||
span Home |
|||
|
|||
block content |
|||
|
|||
#page-type-account |
|||
section.hero.is-dark |
|||
.hero-body |
|||
.container |
|||
h1.title Account |
|||
h2.subtitle Manage your settings and site configuration |
|||
nav.nav.has-shadow |
|||
.container |
|||
.nav-left |
|||
a.nav-item.is-tab(href='/admin/profile', class={'is-active': adminTab === 'profile'}) My Profile |
|||
a.nav-item.is-tab(href='/admin/stats', class={'is-active': adminTab === 'stats'}) Stats |
|||
a.nav-item.is-tab(href='/admin/users', class={'is-active': adminTab === 'users'}) Users |
|||
a.nav-item.is-tab(href='/admin/settings', class={'is-active': adminTab === 'settings'}) Site Settings |
|||
a.nav-item.is-tab(href='/logout') Logout |
|||
block adminContent |
|||
.container.is-fluid |
|||
.columns.is-gapless |
|||
|
|||
.column.is-narrow.is-hidden-touch.sidebar |
|||
|
|||
aside |
|||
.sidebar-label |
|||
i.icon-th-small |
|||
span Navigation |
|||
ul.sidebar-menu |
|||
li |
|||
a(href='/') |
|||
i.icon-home |
|||
span Home |
|||
|
|||
aside |
|||
.sidebar-label |
|||
i.icon-head |
|||
span Account |
|||
ul.sidebar-menu |
|||
li |
|||
a(href='/admin/profile') |
|||
i.icon-user |
|||
span My Profile |
|||
li |
|||
a(href='/admin/stats') |
|||
i.icon-bar-graph-2 |
|||
span Stats |
|||
li |
|||
a(href='/admin/users') |
|||
i.icon-users |
|||
span Users |
|||
li |
|||
a(href='/admin/settings') |
|||
i.icon-cog |
|||
span Site Settings |
|||
li |
|||
a(href='/logout') |
|||
i.icon-delete2 |
|||
span Logout |
|||
|
|||
.column |
|||
block adminContent |
@ -1,6 +1,9 @@ |
|||
extends ./_layout.pug |
|||
|
|||
block adminContent |
|||
section.section |
|||
.container |
|||
label.label Coming soon |
|||
.hero |
|||
h1.title#title Site Settings |
|||
h2.subtitle Manage site configuration |
|||
.form-sections |
|||
section |
|||
| Coming soon |
@ -1,11 +1,14 @@ |
|||
extends ./_layout.pug |
|||
|
|||
block adminContent |
|||
section.section |
|||
.container |
|||
label.label Entries |
|||
p.control= totalEntries |
|||
label.label Uploads |
|||
p.control= totalUploads |
|||
label.label Users |
|||
p.control= totalUsers |
|||
.hero |
|||
h1.title#title Stats |
|||
h2.subtitle General site-wide statistics |
|||
.form-sections |
|||
section |
|||
label.label Entries |
|||
p.control= totalEntries |
|||
label.label Uploads |
|||
p.control= totalUploads |
|||
label.label Users |
|||
p.control= totalUsers |
@ -1,15 +1,18 @@ |
|||
extends ./_layout.pug |
|||
|
|||
block adminContent |
|||
section.section |
|||
.container |
|||
.columns |
|||
.column.is-three-quarters |
|||
label.label Coming soon |
|||
.column |
|||
p.control |
|||
button.button.is-info |
|||
| Create Local User |
|||
p.control |
|||
button.button.is-info |
|||
| Authorize Social User |
|||
.hero |
|||
h1.title#title Users |
|||
h2.subtitle Manage users and rights |
|||
ul.hero-menu |
|||
li |
|||
a.is-blue(href='/') |
|||
i.icon-plus |
|||
span Create Local User |
|||
li |
|||
a.is-indigo(href='/') |
|||
i.icon-globe |
|||
span Authorize Social User |
|||
.form-sections |
|||
section |
|||
| Coming soon |
Write
Preview
Loading…
Cancel
Save