Skip to content

Commit a4df52e

Browse files
committed
refactor: new files strucuture
1 parent ef3c3ef commit a4df52e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+8938
-0
lines changed

pug/404.pug

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
extends /_layout/pages.pug
2+
3+
block view
4+
.c-container
5+
.c-row.c-justify-content-center
6+
.c-col-md-6
7+
.c-clearfix
8+
h1.c-float-left.c-display-3.c-mr-4 404
9+
h4.c-pt-3 Oops! You're lost.
10+
p.c-text-muted The page you are looking for was not found.
11+
.input-prepend.c-input-group
12+
.c-input-group-prepend
13+
span.c-input-group-text
14+
img.c-icon(src="assets/icons/magnifying-glass.svg" width="16" height="16" alt="CoreUI Icons Magnifying Glass")
15+
input#prependedInput.c-form-control(size='16', type='text', placeholder='What are you looking for?')
16+
span.c-input-group-append
17+
button.c-btn.c-btn-info(type='button') Search

pug/500.pug

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
extends /_layout/pages.pug
2+
3+
block view
4+
.c-container
5+
.c-row.c-justify-content-center
6+
.c-col-md-6
7+
.c-clearfix
8+
h1.c-float-left.c-display-3.c-mr-4 500
9+
h4.c-pt-3 Houston, we have a problem!
10+
p.c-text-muted The page you are looking for is temporarily unavailable.
11+
.input-prepend.c-input-group
12+
.c-input-group-prepend
13+
span.c-input-group-text
14+
img.c-icon(src="assets/icons/magnifying-glass.svg" width="16" height="16" alt="CoreUI Icons Magnifying Glass")
15+
input#prependedInput.c-form-control(size='16', type='text', placeholder='What are you looking for?')
16+
span.c-input-group-append
17+
button.c-btn.c-btn-info(type='button') Search

pug/_layout/default.pug

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- var static = true
2+
doctype html
3+
include ../_partials/banner.pug
4+
5+
html(lang='en')
6+
head
7+
base(href=base)
8+
include ../_partials/head.pug
9+
block styles
10+
body.c-app.c-default-layout
11+
include ../_partials/header.pug
12+
include ../_partials/sidebar.pug
13+
.c-body
14+
main(class='c-main')
15+
include ../_partials/breadcrumb.pug
16+
.c-container-fluid
17+
block view
18+
include ../_partials/footer.pug
19+
include ../_partials/scripts.pug

pug/_layout/pages.pug

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- var static = true
2+
- var page = true
3+
doctype html
4+
include ../_partials/banner.pug
5+
6+
html(lang='en')
7+
head
8+
base(href=base)
9+
include ../_partials/head.pug
10+
block styles
11+
body.c-app.c-default-layout.c-flex-row.c-align-items-center
12+
block view
13+
14+
include ../_partials/scripts.pug

pug/_partials/banner.pug

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//
2+
* CoreUI - Free Bootstrap Admin Template
3+
* @version v3.0.0-alpha.0
4+
* @link https://coreui.io
5+
* Copyright (c) 2018 creativeLabs Łukasz Holeczek
6+
* Licensed under MIT (https://coreui.io/license)
7+
= "\n"

pug/_partials/breadcrumb.pug

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Breadcrumb
2+
ol.c-breadcrumb
3+
li.c-breadcrumb-item Home
4+
if !starter
5+
li.c-breadcrumb-item
6+
a(href="#") Admin
7+
li.c-breadcrumb-item.c-active Dashboard
8+
// Breadcrumb Menu
9+
li.c-breadcrumb-menu.c-d-md-down-none
10+
.c-btn-group(role="group" aria-label="Button group")
11+
a.c-btn(href="#")
12+
img.c-icon(src="assets/icons/speech.svg" width="16" height="16" alt="CoreUI Icons Speech")
13+
a.c-btn(href="./")
14+
img.c-icon(src="assets/icons/graph.svg" width="16" height="16" alt="CoreUI Icons Graph")
15+
|  Dashboard
16+
a.c-btn(href="#")
17+
img.c-icon(src="assets/icons/settings.svg" width="16" height="16" alt="CoreUI Icons Settings")
18+
|  Settings

pug/_partials/footer.pug

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
footer.c-footer
2+
div
3+
a(href='https://coreui.io') CoreUI
4+
| © 2019 creativeLabs.
5+
div.c-ml-auto
6+
| Powered by 
7+
a(href='https://coreui.io') CoreUI

pug/_partials/head.pug

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
meta(charset='utf-8')
2+
meta(http-equiv='X-UA-Compatible', content='IE=edge')
3+
meta(name='viewport', content='width=device-width, initial-scale=1.0, shrink-to-fit=no')
4+
meta(name='description', content='CoreUI - Open Source Bootstrap Admin Template')
5+
meta(name='author', content='Łukasz Holeczek')
6+
meta(name='keyword', content='Bootstrap,Admin,Template,Open,Source,jQuery,CSS,HTML,RWD,Dashboard')
7+
title CoreUI Free Bootstrap Admin Template
8+
9+
// Icons
10+
link(href='node_modules/@coreui/icons/css/coreui-icons.min.css', rel='stylesheet')
11+
link(href='node_modules/flag-icon-css/css/flag-icon.min.css', rel='stylesheet')
12+
13+
// Main styles for this application
14+
link(href='css/style.css', rel='stylesheet')
15+
link(href='vendors/pace-progress/css/pace.min.css', rel='stylesheet')
16+
17+
// Global site tag (gtag.js) - Google Analytics
18+
script(async='', src='https://www.googletagmanager.com/gtag/js?id=UA-118965717-3')
19+
script.
20+
window.dataLayer = window.dataLayer || [];
21+
function gtag(){dataLayer.push(arguments);}
22+
gtag('js', new Date());
23+
// Shared ID
24+
gtag('config', 'UA-118965717-3');
25+
// Bootstrap ID
26+
gtag('config', 'UA-118965717-5');

pug/_partials/header.pug

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
header.c-header.c-header-light.c-header-fixed
2+
button.c-header-toggler.c-class-toggler.c-d-lg-none.c-mr-auto(type="button" data-target="#sidebar" data-class="c-sidebar-show")
3+
span.c-header-toggler-icon
4+
a.c-header-brand.c-header-brand-md-down-centered(href="#")
5+
img.c-header-brand-full(src="assets/brand/coreui-base.svg" width="97" height="46" alt="CoreUI Logo")
6+
img.c-header-brand-minimized(src="assets/brand/coreui-signet.svg" width="46" height="46" alt="CoreUI Logo")
7+
button.c-header-toggler.c-class-toggler.c-d-md-down-none(type="button" data-target="#sidebar" data-class="c-sidebar-lg-show" responsive="true")
8+
span.c-header-toggler-icon
9+
if !starter
10+
ul.c-nav.c-header-nav.c-d-md-down-none
11+
li.c-nav-item.c-px-3
12+
a.c-nav-link(href="#") Dashboard
13+
li.c-nav-item.c-px-3
14+
a.c-nav-link(href="#") Users
15+
li.c-nav-item.c-px-3
16+
a.c-nav-link(href="#") Settings
17+
ul.c-nav.c-header-nav.c-ml-auto
18+
li.c-nav-item.c-d-md-down-none.c-mx-2
19+
a.c-nav-link(href="#")
20+
img.c-icon(src="assets/icons/bell.svg" width="16" height="16" alt="CoreUI Icons Bell")
21+
span.c-badge.c-badge-pill.c-badge-danger 5
22+
li.c-nav-item.c-d-md-down-none.c-mx-2
23+
a.c-nav-link(href="#")
24+
img.c-icon(src="assets/icons/list-rich.svg" width="16" height="16" alt="CoreUI Icons List Rich")
25+
li.c-nav-item.c-d-md-down-none.c-mx-2
26+
a.c-nav-link(href="#")
27+
img.c-icon(src="assets/icons/location-pin.svg" width="16" height="16" alt="CoreUI Icons Location Pin")
28+
li.c-nav-item.c-dropdown
29+
a.c-nav-link(data-toggle="c-dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false")
30+
img.c-img-avatar(src="assets/img/avatars/6.jpg" alt="[email protected]")
31+
.c-dropdown-menu.c-dropdown-menu-right.c-pt-0
32+
.c-dropdown-header.c-bg-light.c-py-2
33+
strong Account
34+
a.c-dropdown-item(href="#")
35+
img.c-icon.c-mr-2(src="assets/icons/bell.svg" width="16" height="16" alt="CoreUI Icons Bell")
36+
| Updates
37+
span.c-badge.c-badge-info.c-ml-auto 42
38+
a.c-dropdown-item(href="#")
39+
img.c-icon.c-mr-2(src="assets/icons/envelope-open.svg" width="16" height="16" alt="CorseUI Icons Envelope Open")
40+
| Messages
41+
span.c-badge.c-badge-success.c-ml-auto 42
42+
a.c-dropdown-item(href="#")
43+
img.c-icon.c-mr-2(src="assets/icons/task1.svg" width="16" height="16" alt="CoreUI Icons Task")
44+
| Tasks
45+
span.c-badge.c-badge-danger.c-ml-auto 42
46+
a.c-dropdown-item(href="#")
47+
img.c-icon.c-mr-2(src="assets/icons/comment-square.svg" width="16" height="16" alt="CoreUI Icons Comment Square")
48+
| Comments
49+
span.c-badge.c-badge-warning.c-ml-auto 42
50+
.c-dropdown-header.c-bg-light.c-py-2
51+
strong Settings
52+
a.c-dropdown-item(href="#")
53+
img.c-icon.c-mr-2(src="assets/icons/user.svg" width="16" height="16" alt="CoreUI Icons User")
54+
| Profile
55+
a.c-dropdown-item(href="#")
56+
img.c-icon.c-mr-2(src="assets/icons/settings.svg" width="16" height="16" alt="CoreUI Icons Settings")
57+
| Settings
58+
a.c-dropdown-item(href="#")
59+
img.c-icon.c-mr-2(src="assets/icons/credit-card.svg" width="16" height="16" alt="CoreUI Icons Credit Card")
60+
| Payments
61+
span.c-badge.c-badge-secondary.c-ml-auto 42
62+
a.c-dropdown-item(href="#")
63+
img.c-icon.c-mr-2(src="assets/icons/file.svg" width="16" height="16" alt="CoreUI Icons File")
64+
| Projects
65+
span.c-badge.c-badge-primary.c-ml-auto 42
66+
.c-dropdown-divider
67+
a.c-dropdown-item(href="#")
68+
img.c-icon.c-mr-2(src="assets/icons/lock-locked.svg" width="16" height="16" alt="CoreUI Icons Lock Locked")
69+
| Lock Account
70+
a.c-dropdown-item(href="#")
71+
img.c-icon.c-mr-2(src="assets/icons/account-logout.svg" width="16" height="16" alt="CoreUI Icons Account Logout")
72+
| Logout

pug/_partials/scripts.pug

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// CoreUI and necessary plugins
2+
script(src='node_modules/pace-progress/pace.min.js')
3+
script(src='node_modules/@coreui/coreui/dist/js/coreui.bundle.min.js')
4+
5+
block scripts
6+
7+
if ajax
8+
unless page
9+
script.
10+
new coreui.AsyncLoad(document.getElementById('ui-view'));
11+
document.addEventListener('xhr', function() {
12+
Pace.restart()
13+
}, true);
14+

0 commit comments

Comments
 (0)