= data files now stored in ./modules in json-files;

= config.js loads data files using require();
= config.js stores listening port;
= document page ui enhancements;
= other;
This commit is contained in:
tmshv committed 2014-03-17 21:57:52 +04:00
1 parent 9dec14e0db
commit b2f213a7e1
9 files changed
+144 -223

No files matched your search

+4 -3
View File
@@ -9,11 +9,12 @@ block content
for group in blocks
.docblock
if(group.type == 'documents')
h2 #{group.name}
//- h2 #{group.name}
for i in group.items
.doc
img(src='#{i.preview}')
a(href='#{i.path}') #{i.name}
a(href='#{i.path}')
img(src='#{i.preview}')
span #{i.title}
//- .docblock
//- h2 Лицензии, свидетельства и уставы
-31
View File
@@ -1,31 +0,0 @@
[
{
"category":"Лицензии. сертификаты",
""
}
"licences":[
],
"g":[
],
"docs":[
{
"file": "",
"name": "",
"pages": 10
},
{
"file": "",
"name": "",
"pages": 10
},
{
"file": "",
"name": "",
"pages": 10
}
]
]
+1 -1
View File
@@ -12,4 +12,4 @@ block menu
block content
.displaybox
iframe#doc(src="#{doc.url[0]}")
iframe#doc(src="#{doc.download}")
+1 -1
View File
@@ -8,7 +8,7 @@ block content
h1
span.bold ДХШ
span.norm Шлиссельбурга,
span.norm #{doc.name}
span.norm #{doc.title}
.doclist
for a in doc.url
img(src='#{a}')