mazer-rails 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +75 -0
- data/lib/mazer-rails.rb +13 -0
- data/lib/mazer_rails/engine.rb +27 -0
- data/lib/mazer_rails/version.rb +1 -1
- data/mazer-rails.gemspec +5 -2
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-all-300-normal.woff +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-all-400-normal.woff +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-all-600-normal.woff +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-all-700-normal.woff +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-all-800-normal.woff +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-300-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-400-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-600-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-700-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-800-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-300-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-400-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-600-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-700-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-800-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-300-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-400-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-600-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-700-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-800-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-300-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-400-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-600-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-700-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-800-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-300-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-400-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-600-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-700-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-800-normal.woff2 +0 -0
- data/vendor/assets/fonts/vendor/bootstrap-icons/bootstrap-icons.woff +0 -0
- data/vendor/assets/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2 +0 -0
- data/vendor/assets/javascripts/mazer/app.js +2 -0
- data/vendor/assets/javascripts/mazer/bootstrap.js +2 -0
- data/vendor/assets/javascripts/mazer/initTheme.js +1 -0
- data/vendor/assets/javascripts/mazer/mazer.js +2 -0
- data/vendor/assets/stylesheets/mazer/app-dark.scss +1 -0
- data/vendor/assets/stylesheets/mazer/app.scss +13 -0
- metadata +60 -120
- data/lib/mazer_rails.rb +0 -7
- data/vendor/assets/fonts/iconly/Iconly---Bold.eot +0 -0
- data/vendor/assets/fonts/iconly/Iconly---Bold.svg +0 -19
- data/vendor/assets/fonts/iconly/Iconly---Bold.ttf +0 -0
- data/vendor/assets/fonts/iconly/Iconly---Bold.woff +0 -0
- data/vendor/assets/images/bg/4853433.png +0 -0
- data/vendor/assets/images/faces/1.jpg +0 -0
- data/vendor/assets/images/faces/2.jpg +0 -0
- data/vendor/assets/images/faces/3.jpg +0 -0
- data/vendor/assets/images/faces/4.jpg +0 -0
- data/vendor/assets/images/faces/5.jpg +0 -0
- data/vendor/assets/images/faces/6.jpg +0 -0
- data/vendor/assets/images/faces/7.jpg +0 -0
- data/vendor/assets/images/faces/8.jpg +0 -0
- data/vendor/assets/images/logo/favicon.png +0 -0
- data/vendor/assets/images/logo/favicon.svg +0 -1
- data/vendor/assets/images/logo/logo.svg +0 -1
- data/vendor/assets/images/samples/1.png +0 -0
- data/vendor/assets/images/samples/2.png +0 -0
- data/vendor/assets/images/samples/3.png +0 -0
- data/vendor/assets/images/samples/4.png +0 -0
- data/vendor/assets/images/samples/architecture1.jpg +0 -0
- data/vendor/assets/images/samples/banana.jpg +0 -0
- data/vendor/assets/images/samples/bg-mountain.jpg +0 -0
- data/vendor/assets/images/samples/building.jpg +0 -0
- data/vendor/assets/images/samples/error-403.svg +0 -94
- data/vendor/assets/images/samples/error-404.svg +0 -88
- data/vendor/assets/images/samples/error-500.svg +0 -76
- data/vendor/assets/images/samples/jump.jpg +0 -0
- data/vendor/assets/images/samples/motorcycle.jpg +0 -0
- data/vendor/assets/images/samples/origami.jpg +0 -0
- data/vendor/assets/images/samples/water.jpg +0 -0
- data/vendor/assets/images/svg-loaders/audio.svg +0 -29
- data/vendor/assets/images/svg-loaders/ball-triangle.svg +0 -1
- data/vendor/assets/images/svg-loaders/bars.svg +0 -1
- data/vendor/assets/images/svg-loaders/circles.svg +0 -20
- data/vendor/assets/images/svg-loaders/grid.svg +0 -1
- data/vendor/assets/images/svg-loaders/hearts.svg +0 -1
- data/vendor/assets/images/svg-loaders/oval.svg +0 -1
- data/vendor/assets/images/svg-loaders/puff.svg +0 -1
- data/vendor/assets/images/svg-loaders/rings.svg +0 -1
- data/vendor/assets/images/svg-loaders/spinning-circles.svg +0 -1
- data/vendor/assets/images/svg-loaders/tail-spin.svg +0 -1
- data/vendor/assets/images/svg-loaders/three-dots.svg +0 -1
- data/vendor/assets/javascripts/app.js +0 -9
- data/vendor/assets/javascripts/bootstrap.js +0 -6
- data/vendor/assets/javascripts/components/dark.js +0 -65
- data/vendor/assets/javascripts/components/sidebar.js +0 -185
- data/vendor/assets/javascripts/helper/isDesktop.js +0 -1
- data/vendor/assets/javascripts/initTheme.js +0 -5
- data/vendor/assets/javascripts/mazer.js +0 -9
- data/vendor/assets/javascripts/pages/ckeditor.js +0 -3
- data/vendor/assets/javascripts/pages/component-toasts.js +0 -9
- data/vendor/assets/javascripts/pages/dashboard.js +0 -158
- data/vendor/assets/javascripts/pages/datatables.js +0 -1
- data/vendor/assets/javascripts/pages/filepond.js +0 -181
- data/vendor/assets/javascripts/pages/form-editor.js +0 -27
- data/vendor/assets/javascripts/pages/form-element-select.js +0 -14
- data/vendor/assets/javascripts/pages/horizontal-layout.js +0 -43
- data/vendor/assets/javascripts/pages/jquery.js +0 -1
- data/vendor/assets/javascripts/pages/jsvectormap.js +0 -60
- data/vendor/assets/javascripts/pages/parsley.js +0 -55
- data/vendor/assets/javascripts/pages/quill.js +0 -27
- data/vendor/assets/javascripts/pages/rater-js.js +0 -38
- data/vendor/assets/javascripts/pages/simple-datatables.js +0 -46
- data/vendor/assets/javascripts/pages/summernote.js +0 -20
- data/vendor/assets/javascripts/pages/sweetalert2.js +0 -142
- data/vendor/assets/javascripts/pages/tinymce.js +0 -22
- data/vendor/assets/javascripts/pages/toastify.js +0 -81
- data/vendor/assets/javascripts/pages/ui-apexchart.js +0 -521
- data/vendor/assets/javascripts/pages/ui-chartjs.js +0 -445
- data/vendor/assets/javascripts/pages/ui-todolist.js +0 -5
- data/vendor/assets/stylesheets/_fonts.scss +0 -5
- data/vendor/assets/stylesheets/_mazer.scss +0 -103
- data/vendor/assets/stylesheets/_utilities.scss +0 -53
- data/vendor/assets/stylesheets/_variables.scss +0 -1626
- data/vendor/assets/stylesheets/app.scss +0 -20
- data/vendor/assets/stylesheets/bootstrap.scss +0 -58
- data/vendor/assets/stylesheets/components/_alert.scss +0 -43
- data/vendor/assets/stylesheets/components/_avatar.scss +0 -78
- data/vendor/assets/stylesheets/components/_badge.scss +0 -20
- data/vendor/assets/stylesheets/components/_breadcrumb.scss +0 -10
- data/vendor/assets/stylesheets/components/_buttons.scss +0 -62
- data/vendor/assets/stylesheets/components/_card.scss +0 -126
- data/vendor/assets/stylesheets/components/_carousel.scss +0 -6
- data/vendor/assets/stylesheets/components/_divider.scss +0 -37
- data/vendor/assets/stylesheets/components/_dropdowns.scss +0 -24
- data/vendor/assets/stylesheets/components/_forms.scss +0 -213
- data/vendor/assets/stylesheets/components/_icons.scss +0 -48
- data/vendor/assets/stylesheets/components/_modal.scss +0 -46
- data/vendor/assets/stylesheets/components/_navbar.scss +0 -280
- data/vendor/assets/stylesheets/components/_navs.scss +0 -32
- data/vendor/assets/stylesheets/components/_pagination.scss +0 -39
- data/vendor/assets/stylesheets/components/_progress.scss +0 -32
- data/vendor/assets/stylesheets/components/_sidebar.scss +0 -171
- data/vendor/assets/stylesheets/components/_table.scss +0 -36
- data/vendor/assets/stylesheets/iconly.scss +0 -327
- data/vendor/assets/stylesheets/layouts/main.scss +0 -48
- data/vendor/assets/stylesheets/mixins/_navbar.scss +0 -20
- data/vendor/assets/stylesheets/pages/auth.scss +0 -51
- data/vendor/assets/stylesheets/pages/chat.scss +0 -145
- data/vendor/assets/stylesheets/pages/datatables.scss +0 -7
- data/vendor/assets/stylesheets/pages/dripicons.scss +0 -20
- data/vendor/assets/stylesheets/pages/email.scss +0 -625
- data/vendor/assets/stylesheets/pages/error.scss +0 -22
- data/vendor/assets/stylesheets/pages/form-element-select.scss +0 -7
- data/vendor/assets/stylesheets/pages/simple-datatables.scss +0 -20
- data/vendor/assets/stylesheets/pages/summernote.scss +0 -4
- data/vendor/assets/stylesheets/themes/dark/_mazer-dark.scss +0 -82
- data/vendor/assets/stylesheets/themes/dark/_root.scss +0 -55
- data/vendor/assets/stylesheets/themes/dark/_variables-dark.scss +0 -329
- data/vendor/assets/stylesheets/themes/dark/app-dark.scss +0 -54
- data/vendor/assets/stylesheets/widgets/chat.scss +0 -26
- data/vendor/assets/stylesheets/widgets/todo.scss +0 -33
@@ -1,445 +0,0 @@
|
|
1
|
-
var chartColors = {
|
2
|
-
red: "rgb(255, 99, 132)",
|
3
|
-
orange: "rgb(255, 159, 64)",
|
4
|
-
yellow: "rgb(255, 205, 86)",
|
5
|
-
green: "rgb(75, 192, 192)",
|
6
|
-
info: "#41B1F9",
|
7
|
-
blue: "#3245D1",
|
8
|
-
purple: "rgb(153, 102, 255)",
|
9
|
-
grey: "#EBEFF6",
|
10
|
-
}
|
11
|
-
|
12
|
-
var config1 = {
|
13
|
-
type: "line",
|
14
|
-
data: {
|
15
|
-
labels: ["January", "February", "March", "April", "May", "June", "July"],
|
16
|
-
datasets: [
|
17
|
-
{
|
18
|
-
label: "Balance",
|
19
|
-
backgroundColor: "#fff",
|
20
|
-
borderColor: "#fff",
|
21
|
-
data: [20, 40, 20, 70, 10, 50, 20],
|
22
|
-
fill: false,
|
23
|
-
pointBorderWidth: 100,
|
24
|
-
pointBorderColor: "transparent",
|
25
|
-
pointRadius: 3,
|
26
|
-
pointBackgroundColor: "transparent",
|
27
|
-
pointHoverBackgroundColor: "rgba(63,82,227,1)",
|
28
|
-
},
|
29
|
-
],
|
30
|
-
},
|
31
|
-
options: {
|
32
|
-
responsive: true,
|
33
|
-
maintainAspectRatio: false,
|
34
|
-
layout: {
|
35
|
-
padding: {
|
36
|
-
left: -10,
|
37
|
-
top: 10,
|
38
|
-
},
|
39
|
-
},
|
40
|
-
legend: {
|
41
|
-
display: false,
|
42
|
-
},
|
43
|
-
title: {
|
44
|
-
display: false,
|
45
|
-
},
|
46
|
-
tooltips: {
|
47
|
-
mode: "index",
|
48
|
-
intersect: false,
|
49
|
-
},
|
50
|
-
hover: {
|
51
|
-
mode: "nearest",
|
52
|
-
intersect: true,
|
53
|
-
},
|
54
|
-
scales: {
|
55
|
-
xAxes: [
|
56
|
-
{
|
57
|
-
gridLines: {
|
58
|
-
drawBorder: false,
|
59
|
-
display: false,
|
60
|
-
},
|
61
|
-
ticks: {
|
62
|
-
display: false,
|
63
|
-
},
|
64
|
-
},
|
65
|
-
],
|
66
|
-
yAxes: [
|
67
|
-
{
|
68
|
-
gridLines: {
|
69
|
-
display: false,
|
70
|
-
drawBorder: false,
|
71
|
-
},
|
72
|
-
ticks: {
|
73
|
-
display: false,
|
74
|
-
},
|
75
|
-
},
|
76
|
-
],
|
77
|
-
},
|
78
|
-
},
|
79
|
-
}
|
80
|
-
var config2 = {
|
81
|
-
type: "line",
|
82
|
-
data: {
|
83
|
-
labels: ["January", "February", "March", "April", "May", "June", "July"],
|
84
|
-
datasets: [
|
85
|
-
{
|
86
|
-
label: "Revenue",
|
87
|
-
backgroundColor: "#fff",
|
88
|
-
borderColor: "#fff",
|
89
|
-
data: [20, 800, 300, 400, 10, 50, 20],
|
90
|
-
fill: false,
|
91
|
-
pointBorderWidth: 100,
|
92
|
-
pointBorderColor: "transparent",
|
93
|
-
pointRadius: 3,
|
94
|
-
pointBackgroundColor: "transparent",
|
95
|
-
pointHoverBackgroundColor: "rgba(63,82,227,1)",
|
96
|
-
},
|
97
|
-
],
|
98
|
-
},
|
99
|
-
options: {
|
100
|
-
responsive: true,
|
101
|
-
maintainAspectRatio: false,
|
102
|
-
layout: {
|
103
|
-
padding: {
|
104
|
-
left: -10,
|
105
|
-
top: 10,
|
106
|
-
},
|
107
|
-
},
|
108
|
-
legend: {
|
109
|
-
display: false,
|
110
|
-
},
|
111
|
-
title: {
|
112
|
-
display: false,
|
113
|
-
},
|
114
|
-
tooltips: {
|
115
|
-
mode: "index",
|
116
|
-
intersect: false,
|
117
|
-
},
|
118
|
-
hover: {
|
119
|
-
mode: "nearest",
|
120
|
-
intersect: true,
|
121
|
-
},
|
122
|
-
scales: {
|
123
|
-
xAxes: [
|
124
|
-
{
|
125
|
-
gridLines: {
|
126
|
-
drawBorder: false,
|
127
|
-
display: false,
|
128
|
-
},
|
129
|
-
ticks: {
|
130
|
-
display: false,
|
131
|
-
},
|
132
|
-
},
|
133
|
-
],
|
134
|
-
yAxes: [
|
135
|
-
{
|
136
|
-
gridLines: {
|
137
|
-
display: false,
|
138
|
-
drawBorder: false,
|
139
|
-
},
|
140
|
-
ticks: {
|
141
|
-
display: false,
|
142
|
-
},
|
143
|
-
},
|
144
|
-
],
|
145
|
-
},
|
146
|
-
},
|
147
|
-
}
|
148
|
-
var config3 = {
|
149
|
-
type: "line",
|
150
|
-
data: {
|
151
|
-
labels: ["January", "February", "March", "April", "May", "June", "July"],
|
152
|
-
datasets: [
|
153
|
-
{
|
154
|
-
label: "Orders",
|
155
|
-
backgroundColor: "#fff",
|
156
|
-
borderColor: "#fff",
|
157
|
-
data: [20, 40, 20, 200, 10, 540, 723],
|
158
|
-
fill: false,
|
159
|
-
pointBorderWidth: 100,
|
160
|
-
pointBorderColor: "transparent",
|
161
|
-
pointRadius: 3,
|
162
|
-
pointBackgroundColor: "transparent",
|
163
|
-
pointHoverBackgroundColor: "rgba(63,82,227,1)",
|
164
|
-
},
|
165
|
-
],
|
166
|
-
},
|
167
|
-
options: {
|
168
|
-
responsive: true,
|
169
|
-
maintainAspectRatio: false,
|
170
|
-
layout: {
|
171
|
-
padding: {
|
172
|
-
left: -10,
|
173
|
-
top: 10,
|
174
|
-
},
|
175
|
-
},
|
176
|
-
legend: {
|
177
|
-
display: false,
|
178
|
-
},
|
179
|
-
title: {
|
180
|
-
display: false,
|
181
|
-
text: "Chart.js Line Chart",
|
182
|
-
},
|
183
|
-
tooltips: {
|
184
|
-
mode: "index",
|
185
|
-
intersect: false,
|
186
|
-
},
|
187
|
-
hover: {
|
188
|
-
mode: "nearest",
|
189
|
-
intersect: true,
|
190
|
-
},
|
191
|
-
scales: {
|
192
|
-
xAxes: [
|
193
|
-
{
|
194
|
-
gridLines: {
|
195
|
-
drawBorder: false,
|
196
|
-
display: false,
|
197
|
-
},
|
198
|
-
ticks: {
|
199
|
-
display: false,
|
200
|
-
},
|
201
|
-
},
|
202
|
-
],
|
203
|
-
yAxes: [
|
204
|
-
{
|
205
|
-
gridLines: {
|
206
|
-
display: false,
|
207
|
-
drawBorder: false,
|
208
|
-
},
|
209
|
-
ticks: {
|
210
|
-
display: false,
|
211
|
-
},
|
212
|
-
},
|
213
|
-
],
|
214
|
-
},
|
215
|
-
},
|
216
|
-
}
|
217
|
-
var config4 = {
|
218
|
-
type: "line",
|
219
|
-
data: {
|
220
|
-
labels: ["January", "February", "March", "April", "May", "June", "July"],
|
221
|
-
datasets: [
|
222
|
-
{
|
223
|
-
label: "My First dataset",
|
224
|
-
backgroundColor: "#fff",
|
225
|
-
borderColor: "#fff",
|
226
|
-
data: [20, 40, 20, 70, 10, 5, 23],
|
227
|
-
fill: false,
|
228
|
-
pointBorderWidth: 100,
|
229
|
-
pointBorderColor: "transparent",
|
230
|
-
pointRadius: 3,
|
231
|
-
pointBackgroundColor: "transparent",
|
232
|
-
pointHoverBackgroundColor: "rgba(63,82,227,1)",
|
233
|
-
},
|
234
|
-
],
|
235
|
-
},
|
236
|
-
options: {
|
237
|
-
responsive: true,
|
238
|
-
maintainAspectRatio: false,
|
239
|
-
layout: {
|
240
|
-
padding: {
|
241
|
-
left: -10,
|
242
|
-
top: 10,
|
243
|
-
},
|
244
|
-
},
|
245
|
-
legend: {
|
246
|
-
display: false,
|
247
|
-
},
|
248
|
-
title: {
|
249
|
-
display: false,
|
250
|
-
text: "Chart.js Line Chart",
|
251
|
-
},
|
252
|
-
tooltips: {
|
253
|
-
mode: "index",
|
254
|
-
intersect: false,
|
255
|
-
},
|
256
|
-
hover: {
|
257
|
-
mode: "nearest",
|
258
|
-
intersect: true,
|
259
|
-
},
|
260
|
-
scales: {
|
261
|
-
xAxes: [
|
262
|
-
{
|
263
|
-
gridLines: {
|
264
|
-
drawBorder: false,
|
265
|
-
display: false,
|
266
|
-
},
|
267
|
-
ticks: {
|
268
|
-
display: false,
|
269
|
-
},
|
270
|
-
},
|
271
|
-
],
|
272
|
-
yAxes: [
|
273
|
-
{
|
274
|
-
gridLines: {
|
275
|
-
display: false,
|
276
|
-
drawBorder: false,
|
277
|
-
},
|
278
|
-
ticks: {
|
279
|
-
display: false,
|
280
|
-
},
|
281
|
-
},
|
282
|
-
],
|
283
|
-
},
|
284
|
-
},
|
285
|
-
}
|
286
|
-
|
287
|
-
var ctxBar = document.getElementById("bar").getContext("2d")
|
288
|
-
var myBar = new Chart(ctxBar, {
|
289
|
-
type: "bar",
|
290
|
-
data: {
|
291
|
-
labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"],
|
292
|
-
datasets: [
|
293
|
-
{
|
294
|
-
label: "Students",
|
295
|
-
backgroundColor: [
|
296
|
-
chartColors.grey,
|
297
|
-
chartColors.grey,
|
298
|
-
chartColors.grey,
|
299
|
-
chartColors.grey,
|
300
|
-
chartColors.info,
|
301
|
-
chartColors.blue,
|
302
|
-
chartColors.grey,
|
303
|
-
],
|
304
|
-
data: [5, 10, 30, 40, 35, 55, 15],
|
305
|
-
},
|
306
|
-
],
|
307
|
-
},
|
308
|
-
options: {
|
309
|
-
responsive: true,
|
310
|
-
barRoundness: 1,
|
311
|
-
title: {
|
312
|
-
display: true,
|
313
|
-
text: "Students in 2020",
|
314
|
-
},
|
315
|
-
legend: {
|
316
|
-
display: false,
|
317
|
-
},
|
318
|
-
scales: {
|
319
|
-
yAxes: [
|
320
|
-
{
|
321
|
-
ticks: {
|
322
|
-
beginAtZero: true,
|
323
|
-
suggestedMax: 40 + 20,
|
324
|
-
padding: 10,
|
325
|
-
},
|
326
|
-
gridLines: {
|
327
|
-
drawBorder: false,
|
328
|
-
},
|
329
|
-
},
|
330
|
-
],
|
331
|
-
xAxes: [
|
332
|
-
{
|
333
|
-
gridLines: {
|
334
|
-
display: false,
|
335
|
-
drawBorder: false,
|
336
|
-
},
|
337
|
-
},
|
338
|
-
],
|
339
|
-
},
|
340
|
-
},
|
341
|
-
})
|
342
|
-
var line = document.getElementById("line").getContext("2d")
|
343
|
-
var gradient = line.createLinearGradient(0, 0, 0, 400)
|
344
|
-
gradient.addColorStop(0, "rgba(50, 69, 209,1)")
|
345
|
-
gradient.addColorStop(1, "rgba(265, 177, 249,0)")
|
346
|
-
|
347
|
-
var gradient2 = line.createLinearGradient(0, 0, 0, 400)
|
348
|
-
gradient2.addColorStop(0, "rgba(255, 91, 92,1)")
|
349
|
-
gradient2.addColorStop(1, "rgba(265, 177, 249,0)")
|
350
|
-
|
351
|
-
var myline = new Chart(line, {
|
352
|
-
type: "line",
|
353
|
-
data: {
|
354
|
-
labels: [
|
355
|
-
"16-07-2018",
|
356
|
-
"17-07-2018",
|
357
|
-
"18-07-2018",
|
358
|
-
"19-07-2018",
|
359
|
-
"20-07-2018",
|
360
|
-
"21-07-2018",
|
361
|
-
"22-07-2018",
|
362
|
-
"23-07-2018",
|
363
|
-
"24-07-2018",
|
364
|
-
"25-07-2018",
|
365
|
-
],
|
366
|
-
datasets: [
|
367
|
-
{
|
368
|
-
label: "Balance",
|
369
|
-
data: [50, 25, 61, 50, 72, 52, 60, 41, 30, 45],
|
370
|
-
backgroundColor: "rgba(50, 69, 209,.6)",
|
371
|
-
borderWidth: 3,
|
372
|
-
borderColor: "rgba(63,82,227,1)",
|
373
|
-
pointBorderWidth: 0,
|
374
|
-
pointBorderColor: "transparent",
|
375
|
-
pointRadius: 3,
|
376
|
-
pointBackgroundColor: "transparent",
|
377
|
-
pointHoverBackgroundColor: "rgba(63,82,227,1)",
|
378
|
-
},
|
379
|
-
{
|
380
|
-
label: "Balance",
|
381
|
-
data: [20, 35, 45, 75, 37, 86, 45, 65, 25, 53],
|
382
|
-
backgroundColor: "rgba(253, 183, 90,.6)",
|
383
|
-
borderWidth: 3,
|
384
|
-
borderColor: "rgba(253, 183, 90,.6)",
|
385
|
-
pointBorderWidth: 0,
|
386
|
-
pointBorderColor: "transparent",
|
387
|
-
pointRadius: 3,
|
388
|
-
pointBackgroundColor: "transparent",
|
389
|
-
pointHoverBackgroundColor: "rgba(63,82,227,1)",
|
390
|
-
},
|
391
|
-
],
|
392
|
-
},
|
393
|
-
options: {
|
394
|
-
responsive: true,
|
395
|
-
layout: {
|
396
|
-
padding: {
|
397
|
-
top: 10,
|
398
|
-
},
|
399
|
-
},
|
400
|
-
tooltips: {
|
401
|
-
intersect: false,
|
402
|
-
titleFontFamily: "Helvetica",
|
403
|
-
titleMarginBottom: 10,
|
404
|
-
xPadding: 10,
|
405
|
-
yPadding: 10,
|
406
|
-
cornerRadius: 3,
|
407
|
-
},
|
408
|
-
legend: {
|
409
|
-
display: true,
|
410
|
-
},
|
411
|
-
scales: {
|
412
|
-
yAxes: [
|
413
|
-
{
|
414
|
-
gridLines: {
|
415
|
-
display: true,
|
416
|
-
drawBorder: true,
|
417
|
-
},
|
418
|
-
ticks: {
|
419
|
-
display: true,
|
420
|
-
},
|
421
|
-
},
|
422
|
-
],
|
423
|
-
xAxes: [
|
424
|
-
{
|
425
|
-
gridLines: {
|
426
|
-
drawBorder: false,
|
427
|
-
display: false,
|
428
|
-
},
|
429
|
-
ticks: {
|
430
|
-
display: false,
|
431
|
-
},
|
432
|
-
},
|
433
|
-
],
|
434
|
-
},
|
435
|
-
},
|
436
|
-
})
|
437
|
-
|
438
|
-
// let ctx1 = document.getElementById("canvas1").getContext("2d");
|
439
|
-
// let ctx2 = document.getElementById("canvas2").getContext("2d");
|
440
|
-
// let ctx3 = document.getElementById("canvas3").getContext("2d");
|
441
|
-
// let ctx4 = document.getElementById("canvas4").getContext("2d");
|
442
|
-
// var lineChart1 = new Chart(ctx1, config1);
|
443
|
-
// var lineChart2 = new Chart(ctx2, config2);
|
444
|
-
// var lineChart3 = new Chart(ctx3, config3);
|
445
|
-
// var lineChart4 = new Chart(ctx4, config4);
|
@@ -1,103 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Mazer, Technology Innovations Bootstrap HTML5 Landing Page
|
3
|
-
*
|
4
|
-
* File: app.scss
|
5
|
-
*
|
6
|
-
* If you want to edit the components, just go to _variables.scss
|
7
|
-
*/
|
8
|
-
|
9
|
-
/**
|
10
|
-
|
11
|
-
====== TABLE OF CONTENTS =======
|
12
|
-
1. Mixins
|
13
|
-
2. Bootstrap Components Override
|
14
|
-
2.1 Alert
|
15
|
-
2.2 Avatar
|
16
|
-
2.3 Badge
|
17
|
-
2.4 Buttons
|
18
|
-
2.5 Breadcrumb
|
19
|
-
2.6 Carousel
|
20
|
-
2.7 Card
|
21
|
-
2.8 Divider
|
22
|
-
2.9 Dropdowns
|
23
|
-
2.10 Forms
|
24
|
-
2.11 Modal
|
25
|
-
2.12 Sidebar
|
26
|
-
2.13 Navs
|
27
|
-
2.14 Navbar
|
28
|
-
2.15 Pagination
|
29
|
-
2.16 Table
|
30
|
-
2.17 Progress
|
31
|
-
4. Pages
|
32
|
-
4.0 Layout
|
33
|
-
4.1 Auth
|
34
|
-
4.2 Error
|
35
|
-
5. Utilities
|
36
|
-
|
37
|
-
|
38
|
-
*/
|
39
|
-
|
40
|
-
// 1. Mixins
|
41
|
-
@import "./mixins/navbar";
|
42
|
-
|
43
|
-
// 2. Bootstrap Components Override
|
44
|
-
|
45
|
-
// - 2.1. Alert
|
46
|
-
@import "./components/alert";
|
47
|
-
|
48
|
-
// - 2.2. Avatar
|
49
|
-
@import "./components/avatar";
|
50
|
-
|
51
|
-
// - 2.3. Badge
|
52
|
-
@import "./components/badge";
|
53
|
-
|
54
|
-
// - 2.4. Buttons
|
55
|
-
@import "./components/buttons";
|
56
|
-
|
57
|
-
// - 2.5. breadcrumb
|
58
|
-
@import "./components/breadcrumb";
|
59
|
-
|
60
|
-
// - 2.6. carousel
|
61
|
-
@import "./components/carousel";
|
62
|
-
|
63
|
-
// - 2.7. card
|
64
|
-
@import "./components/card";
|
65
|
-
|
66
|
-
// - 2.8. divider
|
67
|
-
@import "./components/divider";
|
68
|
-
|
69
|
-
// - 2.9. dropdowns
|
70
|
-
@import "./components/dropdowns";
|
71
|
-
|
72
|
-
// - 2.10. forms
|
73
|
-
@import "./components/forms";
|
74
|
-
|
75
|
-
// - 2.11. modal
|
76
|
-
@import "./components/modal";
|
77
|
-
|
78
|
-
// - 2.12. sidebar
|
79
|
-
@import "./components/sidebar";
|
80
|
-
|
81
|
-
// - 2.13. navs
|
82
|
-
@import "./components/navs";
|
83
|
-
|
84
|
-
// - 2.14. navbar
|
85
|
-
@import "./components/navbar";
|
86
|
-
|
87
|
-
// - 2.15. pagination
|
88
|
-
@import "./components/pagination";
|
89
|
-
|
90
|
-
// - 2.16. table
|
91
|
-
@import "./components/table";
|
92
|
-
|
93
|
-
// - 2.17. progress
|
94
|
-
@import "./components/progress";
|
95
|
-
|
96
|
-
// - 2.18. icons
|
97
|
-
@import "./components/icons";
|
98
|
-
|
99
|
-
// - 4.0 Layout
|
100
|
-
@import "./layouts/main.scss";
|
101
|
-
|
102
|
-
// - 5.0 Utilities
|
103
|
-
@import "./utilities"
|
@@ -1,53 +0,0 @@
|
|
1
|
-
|
2
|
-
// Margin
|
3
|
-
.mt-10 { margin-top: 3rem; }
|
4
|
-
.mb-10 { margin-bottom: 3rem; }
|
5
|
-
.my-10 { margin-top: 3rem; margin-bottom: 3rem; }
|
6
|
-
.mb-24 { margin-bottom: 6rem; }
|
7
|
-
.my-24 { margin-bottom: 6rem; margin-top: 6rem; }
|
8
|
-
|
9
|
-
// Opacity
|
10
|
-
.opacity-50 { opacity: 50%; }
|
11
|
-
|
12
|
-
// Padding
|
13
|
-
.py-4-5 { padding-top: 2rem !important; padding-bottom: 2rem !important }
|
14
|
-
|
15
|
-
|
16
|
-
// Font size
|
17
|
-
.text-sm { font-size: .875rem; }
|
18
|
-
.text-xl { font-size: 1.25rem; }
|
19
|
-
.text-4xl { font-size: 2.25rem; }
|
20
|
-
.text-6xl { font-size: 4rem; }
|
21
|
-
.text-black { color: #000 }
|
22
|
-
|
23
|
-
// Background
|
24
|
-
.bg-gradient-ltr { background: linear-gradient(to right, #095CDE, #53C3F3); }
|
25
|
-
@each $key, $value in $theme-colors-light {
|
26
|
-
.bg-light-#{$key} {
|
27
|
-
background-color: $value;
|
28
|
-
color: darken($value,80%);
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
.font-semibold { font-weight: 600; }
|
33
|
-
.font-bold { font-weight: bold; }
|
34
|
-
.font-extrabold { font-weight: 800; }
|
35
|
-
|
36
|
-
// Text Width
|
37
|
-
.text-width-md { max-width: 450px }
|
38
|
-
|
39
|
-
// Text Color
|
40
|
-
.text-gray-300 { color: $gray-300 !important }
|
41
|
-
.text-gray-400 { color: $gray-400 !important }
|
42
|
-
.text-gray-500 { color: $gray-500 !important }
|
43
|
-
.text-gray-600 { color: $gray-600 !important }
|
44
|
-
|
45
|
-
|
46
|
-
// Button
|
47
|
-
.btn-xl { padding: 1rem 2rem; }
|
48
|
-
|
49
|
-
// Icon
|
50
|
-
.icon-mid:before { vertical-align: middle; }
|
51
|
-
|
52
|
-
// Z Index
|
53
|
-
.z-1 { z-index: 1 }
|