Skip to content

Commit 2e0981f

Browse files
committed
ran the build process
1 parent 4dc2b50 commit 2e0981f

91 files changed

Lines changed: 373 additions & 453 deletions

Some content is hidden

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

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,17 @@ Within the download you'll find the following directories and files, logically g
8787

8888
```
8989
backstrap/
90-
├── build/
91-
├── src/
92-
│ ├── css/
90+
├── build/
91+
├── dist/ --> DON'T CHANGE; this is just a copy of the "src/" folder, to be used in production; don't make changes here - they will be overwritten by the build process; this folder will only show up after npm run build;
92+
├── pug/ --> YES CHANGE; this is where the preview file code lives; these files get turned into the HTML files inside the "src/" folder one runs npm run pug;
93+
├── src/ --> YES CHANGE; this is where the actual source code lies, and where changes should be made;
94+
│ ├── css/ --> DON'T CHANGE; these files are generated; modify the SCSS files instead;
9395
│ ├── img/
9496
│ ├── js/
95-
│ ├── scss/
97+
│ ├── scss/ --> YES CHANGE; this is where you'll want to make CSS changes; these files get bundled and compiled, and inserted automatically inside the "src/css" folder; then the build process will copy all "src" contents inside the "dist/css" folder, so in the end your changes inside the "src/scss" folder will end up in "dist/css";
9698
│ ├── vendors/
9799
│ ├── ...
98-
│ ├── index.html
100+
│ ├── index.html --> DON'T CHANGE; the HTML files are only used for previewing the template; they get generated from the "pug" folder, so don't modify them directly, your changes will get overwritten by the build process; modify the pug files instead;
99101
│ └── ...
100102
└── package.json
101103
```
@@ -112,9 +114,12 @@ Until then, you can check out the documentation for the CoreUI Free Bootstrap Ad
112114

113115
## Contributing
114116

115-
This template is just [one CSS file](https://github.com/Laravel-Backpack/BackStrap/blob/master/src/css/backstrap.css) added on top of CoreUI.
117+
If you encounter any bugs that are NOT design-related, please [submit a ticket to the CoreUI repository](https://github.com/coreui/coreui-free-bootstrap-admin-template). We regularly merge their new releases. So all fixes there will shortly be pulled into BackStrap.
116118

117-
If you encounter any bugs that are NOT design-related, please [submit a ticket to the CoreUI repository](https://github.com/coreui/coreui-free-bootstrap-admin-template). We regularly merge their new releases. So all fix there will shortly be pulled into BackStrap.
119+
The way this works is that:
120+
- preview (HTML) changes should be done inside the ```pug``` directory; then run ```npm run pug``` to turn those PUG files into HTML files inside the ```src``` folder;
121+
- design (CSS) changes should be done inside the ```src/scss``` directory;
122+
- after you're happy with the changes you've made, you should run ```npm run build``` to compile the changes you've made inside the ```src``` folder to the ```dist``` folder, which includes the files people actually use in production;
118123

119124

120125
## Support Development

dist/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ <h4 class="pt-3">Oops! You're lost.</h4>
6161
PNotify.defaults.styling = 'bootstrap4';
6262
</script>
6363
</body>
64-
</html>
64+
</html>

dist/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ <h4 class="pt-3">Houston, we have a problem!</h4>
6161
PNotify.defaults.styling = 'bootstrap4';
6262
</script>
6363
</body>
64-
</html>
64+
</html>

dist/base/breadcrumb.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -398,4 +398,4 @@ <h6>System Utilization</h6>
398398
PNotify.defaults.styling = 'bootstrap4';
399399
</script>
400400
</body>
401-
</html>
401+
</html>

dist/base/cards.html

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<!--
33
* Backstrap - Free Bootstrap Admin Template
4-
* @version v0.1.0
4+
* @version v0.2.0
55
* @link https://backstrap.net
66
* Copyright (c) 2018 Cristian Tabacitu
77
* Licensed under MIT (https://coreui.io/license)
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -158,35 +158,24 @@
158158
<div class="col-sm-6 col-md-4">
159159
<div class="card">
160160
<div class="card-header">Card with switch
161-
<div class="card-header-actions" style="height: 21px;">
162-
<label class="switch switch-sm switch-label switch-info" tabindex="0">
163-
<input type="checkbox" class="switch-input" checked>
164-
<span class="switch-slider" data-checked="On" data-unchecked="Off"></span>
165-
</label>
166-
</div>
161+
<label class="switch switch-sm switch-text switch-info float-right mb-0">
162+
<input class="switch-input" type="checkbox"><span class="switch-label" data-on="On" data-off="Off"></span><span class="switch-handle"></span>
163+
</label>
167164
</div>
168165
<div class="card-body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</div>
169166
</div>
170167
</div>
171168
<!-- /.col-->
172169
<div class="col-sm-6 col-md-4">
173170
<div class="card">
174-
<div class="card-header">Card with label
175-
<div class="card-header-actions" style="height: 21px;">
176-
<span class="badge badge-success">Success</span>
177-
</div>
178-
</div>
171+
<div class="card-header">Card with label<span class="badge badge-success float-right">Success</span></div>
179172
<div class="card-body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</div>
180173
</div>
181174
</div>
182175
<!-- /.col-->
183176
<div class="col-sm-6 col-md-4">
184177
<div class="card">
185-
<div class="card-header">Card with badge
186-
<div class="card-header-actions" style="height: 21px;">
187-
<span class="badge badge-pill badge-danger">42</span>
188-
</div>
189-
</div>
178+
<div class="card-header">Card with label<span class="badge badge-pill badge-danger float-right">42</span></div>
190179
<div class="card-body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</div>
191180
</div>
192181
</div>
@@ -597,4 +586,4 @@ <h6>System Utilization</h6>
597586
PNotify.defaults.styling = 'bootstrap4';
598587
</script>
599588
</body>
600-
</html>
589+
</html>

dist/base/carousel.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -379,4 +379,4 @@ <h6>System Utilization</h6>
379379
PNotify.defaults.styling = 'bootstrap4';
380380
</script>
381381
</body>
382-
</html>
382+
</html>

dist/base/collapse.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -386,4 +386,4 @@ <h6>System Utilization</h6>
386386
PNotify.defaults.styling = 'bootstrap4';
387387
</script>
388388
</body>
389-
</html>
389+
</html>

dist/base/forms.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -1207,4 +1207,4 @@ <h6>System Utilization</h6>
12071207
PNotify.defaults.styling = 'bootstrap4';
12081208
</script>
12091209
</body>
1210-
</html>
1210+
</html>

dist/base/jumbotron.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -329,4 +329,4 @@ <h6>System Utilization</h6>
329329
PNotify.defaults.styling = 'bootstrap4';
330330
</script>
331331
</body>
332-
</html>
332+
</html>

dist/base/list-group.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="app aside-menu-fixed sidebar-lg-show">
3232
<header class="app-header bg-light border-0 navbar">
33-
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
33+
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show"><span class="navbar-toggler-icon"></span></button><a class="navbar-brand" href="#"><b>Back</b><span>strap</span></a>
3434
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show"><span class="navbar-toggler-icon"></span></button>
3535
<ul class="nav navbar-nav d-md-down-none">
3636
<li class="nav-item px-3"><a class="nav-link" href="#">Dashboard</a></li>
@@ -50,7 +50,7 @@
5050
</li>
5151
</ul>
5252
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show"><span class="navbar-toggler-icon"></span></button>
53-
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
53+
<button class="navbar-toggler aside-menu-toggler d-lg-none mr-3" type="button" data-toggle="aside-menu-show"><span class="navbar-toggler-icon"></span></button>
5454
</header>
5555
<div class="app-body">
5656
<div class="sidebar sidebar-pills bg-light">
@@ -465,4 +465,4 @@ <h6>System Utilization</h6>
465465
PNotify.defaults.styling = 'bootstrap4';
466466
</script>
467467
</body>
468-
</html>
468+
</html>

0 commit comments

Comments
 (0)