some fixup

This commit is contained in:
pg 2015-10-10 01:49:52 +02:00
parent 89d2f1bbc7
commit 6a7a74f5e4
6 changed files with 66 additions and 68 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
dist/
node_modules/
npm-debug.log
*.swp

Binary file not shown.

View File

@ -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='js/index.js')
include ./mixing.jade
include ./page.jade

View File

@ -29,7 +29,7 @@ app.on('ready', function() {
mainWindow.loadUrl('file://' + __dirname + '/index.jade');
// Open the DevTools.
//mainWindow.openDevTools();
mainWindow.openDevTools();
// Emitted when the window is closed.
mainWindow.on('closed', function() {

62
mixing.jade Normal file
View 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.

View File

@ -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
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
body
.parallax
input#menu-toggle.hidden(type='checkbox')
label(for='menu-toggle')
@ -110,6 +48,3 @@ mixin dopage
// /.container
// /.content
// /.parallax