some fixup
This commit is contained in:
parent
89d2f1bbc7
commit
6a7a74f5e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
dist/
|
dist/
|
||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
*.swp
|
||||||
|
Binary file not shown.
@ -14,5 +14,5 @@ html(lang="en")
|
|||||||
script(src='https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.9/js/jquery.dataTables.min.js')
|
script(src='https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.9/js/jquery.dataTables.min.js')
|
||||||
script(src='js/index.js')
|
script(src='js/index.js')
|
||||||
|
|
||||||
|
include ./mixing.jade
|
||||||
include ./page.jade
|
include ./page.jade
|
||||||
|
|
||||||
|
2
main.js
2
main.js
@ -29,7 +29,7 @@ app.on('ready', function() {
|
|||||||
mainWindow.loadUrl('file://' + __dirname + '/index.jade');
|
mainWindow.loadUrl('file://' + __dirname + '/index.jade');
|
||||||
|
|
||||||
// Open the DevTools.
|
// Open the DevTools.
|
||||||
//mainWindow.openDevTools();
|
mainWindow.openDevTools();
|
||||||
|
|
||||||
// Emitted when the window is closed.
|
// Emitted when the window is closed.
|
||||||
mainWindow.on('closed', function() {
|
mainWindow.on('closed', function() {
|
||||||
|
62
mixing.jade
Normal file
62
mixing.jade
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
mixin summary_line(id)
|
||||||
|
.row
|
||||||
|
.small-3.columns
|
||||||
|
p(id='hist'+id class="chart")
|
||||||
|
.small-3.columns
|
||||||
|
p(id='line'+id class="chart")
|
||||||
|
.small-3.columns
|
||||||
|
p(align="center") 8888
|
||||||
|
.small-3.columns
|
||||||
|
.small-6.columns
|
||||||
|
p 8888
|
||||||
|
.small-6.columns
|
||||||
|
p 545
|
||||||
|
.small-6.columns
|
||||||
|
p 8888
|
||||||
|
.small-6.columns
|
||||||
|
p 545
|
||||||
|
|
||||||
|
|
||||||
|
mixin summary
|
||||||
|
ul.accordion(data-accordion='')
|
||||||
|
li.accordion-navigation
|
||||||
|
a(href='#panel1a') Accordion 1
|
||||||
|
#panel1a.content.active
|
||||||
|
| Panel 1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||||
|
li.accordion-navigation
|
||||||
|
a(href='#panel2a') Accordion 2
|
||||||
|
#panel2a.content
|
||||||
|
| Panel 2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||||
|
li.accordion-navigation
|
||||||
|
a(href='#panel3a') Accordion 3
|
||||||
|
#panel3a.content
|
||||||
|
| Panel 3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||||
|
|
||||||
|
mixin dopage
|
||||||
|
|
||||||
|
ul.accordion(data-accordion='')
|
||||||
|
li.accordion-navigation
|
||||||
|
a(href='#panel_1a' )
|
||||||
|
|
||||||
|
+summary_line(1)
|
||||||
|
|
||||||
|
#panel_1a.content.active
|
||||||
|
.row
|
||||||
|
.small-1.columns
|
||||||
|
p
|
||||||
|
|
||||||
|
.small-10.columns
|
||||||
|
p
|
||||||
|
table(id="tttable" class="display" width="100%")
|
||||||
|
li.accordion-navigation
|
||||||
|
a(href='#panel_2a')
|
||||||
|
+summary_line(2)
|
||||||
|
#panel_2a.content
|
||||||
|
| Panel 2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||||
|
li.accordion-navigation
|
||||||
|
a(href='#panel_3a')
|
||||||
|
+summary_line(3)
|
||||||
|
#panel_3a.content
|
||||||
|
| Panel 3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||||
|
|
||||||
|
|
67
page.jade
67
page.jade
@ -1,67 +1,5 @@
|
|||||||
mixin summary_line(id)
|
|
||||||
.row
|
|
||||||
.small-3.columns
|
|
||||||
p(id='hist'+id class="chart")
|
|
||||||
.small-3.columns
|
|
||||||
p(id='line'+id class="chart")
|
|
||||||
.small-3.columns
|
|
||||||
p(align="center") 8888
|
|
||||||
.small-3.columns
|
|
||||||
.small-6.columns
|
|
||||||
p 8888
|
|
||||||
.small-6.columns
|
|
||||||
p 545
|
|
||||||
.small-6.columns
|
|
||||||
p 8888
|
|
||||||
.small-6.columns
|
|
||||||
p 545
|
|
||||||
|
|
||||||
|
body
|
||||||
mixin summary
|
|
||||||
ul.accordion(data-accordion='')
|
|
||||||
li.accordion-navigation
|
|
||||||
a(href='#panel1a') Accordion 1
|
|
||||||
#panel1a.content.active
|
|
||||||
| Panel 1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
||||||
li.accordion-navigation
|
|
||||||
a(href='#panel2a') Accordion 2
|
|
||||||
#panel2a.content
|
|
||||||
| Panel 2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
||||||
li.accordion-navigation
|
|
||||||
a(href='#panel3a') Accordion 3
|
|
||||||
#panel3a.content
|
|
||||||
| Panel 3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
||||||
|
|
||||||
mixin dopage
|
|
||||||
|
|
||||||
ul.accordion(data-accordion='')
|
|
||||||
li.accordion-navigation
|
|
||||||
a(href='#panel_1a' )
|
|
||||||
|
|
||||||
+summary_line(1)
|
|
||||||
|
|
||||||
#panel_1a.content.active
|
|
||||||
.row
|
|
||||||
.small-1.columns
|
|
||||||
p
|
|
||||||
|
|
||||||
.small-10.columns
|
|
||||||
p
|
|
||||||
table(id="tttable" class="display" width="100%")
|
|
||||||
li.accordion-navigation
|
|
||||||
a(href='#panel_2a')
|
|
||||||
+summary_line(2)
|
|
||||||
#panel_2a.content
|
|
||||||
| Panel 2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
||||||
li.accordion-navigation
|
|
||||||
a(href='#panel_3a')
|
|
||||||
+summary_line(3)
|
|
||||||
#panel_3a.content
|
|
||||||
| Panel 3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
body
|
|
||||||
.parallax
|
.parallax
|
||||||
input#menu-toggle.hidden(type='checkbox')
|
input#menu-toggle.hidden(type='checkbox')
|
||||||
label(for='menu-toggle')
|
label(for='menu-toggle')
|
||||||
@ -110,6 +48,3 @@ mixin dopage
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// /.container
|
|
||||||
// /.content
|
|
||||||
// /.parallax
|
|
||||||
|
Loading…
Reference in New Issue
Block a user