code cleaning up; - pages/; -routers/;

This commit is contained in:
tmshv committed 2015-03-01 04:49:49 +03:00
1 parent 6e4749476a
commit 4d0c64bb93
23 files changed
+62 -1339

No files matched your search

-118
View File
@@ -1,118 +0,0 @@
extends ../layout
block custom_head
link(rel="stylesheet", href="/s/docs.css")
block content
include ../menu
.main
for group in blocks
.docblock
if(group.type == 'documents')
//- h2 #{group.name}
for i in group.items
.doc
a(href='#{i.path}')
img(src='#{i.preview}')
span #{i.title}
//- .docblock
//- h2 Лицензии, свидетельства и уставы
//- .panel
//- .docs
//- .doc
//- img(src='/docs/preview/statue-2013.png')
//- a(href='/document/statue-2013') Устав школы в 2013 году
//- .doc
//- img(src='/docs/preview/license_edu.png')
//- a(href='/document/edu-license') Образовательная лицензия
//- .doc
//- img(src='/docs/preview/certificate_gov.png')
//- a(href='/document/gov_certificate') Свидетельство о государственной регистрации права
//- .doc
//- img(src='/docs/preview/vatin.png')
//- a(href='/document/VAT') ИНН
//- .doc
//- img(src='/docs/preview/certificate_egryl1.png')
//- a(href='/document/EGRYL1') Свидетельство о внесении в «ЕГРЮЛ»
//- .doc
//- img(src='/docs/preview/certificate_egryl2.png')
//- a(href='/document/EGRYL2') Свидетельство о внесении в «ЕГРЮЛ»
//- .docblock
//- h2 Грамоты
//- .panel
//- ul
//- li
//- a(href='').act.select ученикам
//- li
//- a(href='').act учителям
//- ul
//- li
//- a(href='').act 2014
//- li
//- a(href='').act.select 2013
//- li
//- a(href='').act 2012
//- li
//- a(href='').act 2011
//- li
//- a(href='').act 2010
//- li
//- a(href='').act 2009
//- li
//- a(href='').act 2008
//- li
//- a(href='').act 2007
//- .docs
//- .doc
//- img(src='/docs/temp/0002_600_0.jpg')
//- .doc
//- img(src='/docs/temp/gramota1296478114.jpg')
//- .doc
//- img(src='/docs/temp/Грамота_Буркун_И.Г.jpg')
//- .doc
//- img(src='/docs/temp/Грамота_ГребенникО.С.jpg')
//- .docblock
//- h2 Образовательные программы
//- .panel
//- .docs
//- .doc
//- img(src='/docs/temp/03_.JPG')
//- .docinfo
//- p
//- a(href='') Живопись
//- p 500 страниц
//- p
//- a(href='') Скачать пдф (5 mb)
//- .doc
//- img(src='/docs/temp/22.jpg')
//- .docinfo
//- p
//- a(href='') Рисунок
//- p 500 страниц
//- p
//- a(href='') Скачать пдф (5 mb)
//- .doc
//- img(src='/docs/temp/dokument.gif')
//- .docinfo
//- p
//- a(href='') Скульптура
//- p 500 страниц
//- p
//- a(href='') Скачать пдф (5 mb)
//- .doc
//- img(src='/docs/temp/license_cryptomodulc.jpg')
//- .docinfo
//- p
//- a(href='') ДПИ
//- p 500 страниц
//- p
//- a(href='') Скачать пдф (5 mb)
//- .doc
//- img(src='/docs/temp/1340870449_1283936456_dog_bez_pol.jpg')
//- .docinfo
//- p
//- a(href='') История искусств
//- p 500 страниц
//- p
//- a(href='') Скачать пдф (5 mb)
-15
View File
@@ -1,15 +0,0 @@
extends ../layout
block custom_head
link(rel="stylesheet", href="/s/document.css")
block menu
.menu
h1
span.bold ДХШ
span.norm Шлиссельбурга,
span.norm #{doc.name}
block content
.displaybox
iframe#doc(src="#{doc.download}")
-57
View File
@@ -1,57 +0,0 @@
extends ../layout
block custom_head
if doc.viewer == "default"
link(rel='stylesheet', href='/s/pdf.css')
link(rel='stylesheet', href='/s/document.css')
if doc.extra && doc.extra.style
for style in doc.extra.style
link(rel='stylesheet', href='#{style}')
if doc.viewer == "default"
script(src='http://code.jquery.com/jquery-2.1.0.min.js')
script(src='/c/document.js')
if doc.extra && doc.extra.script
for script in doc.extra.script
script(src='#{script}')
block content
.menu.opac
.panel
h1
span.bold ДХШ
span.norm Шлиссельбурга,
span.norm #{doc.title}
.panel.right
if doc.viewer == "default" && doc.url.length > 1
.controls
p.block
span Страница
input#currentPage(pattern='[0-9]{,3}')
| из
span#totalPages
p.block
button#buttonPrev ←
button#buttonNext →
if doc.download
p.block
a.download(href='#{doc.download}')
if doc.viewer == "default"
div(id='page-container')
for url in doc.url
//- p #{url}
.pf(data-page-url='#{url}')
//- img(src='#{url}')
//- //- for url in doc.url
//- //- .pf
//- //- //-
if doc.viewer == "img-sheet"
.doclist
for url in doc.url
img(src='#{url}')
-11
View File
@@ -1,11 +0,0 @@
doctype html
html
head
link(rel="stylesheet", href="/s/main.css")
link(rel="stylesheet", href="/fonts/stylesheet.css")
block custom_head
body
block content
include yandex.metrika.jade
-7
View File
@@ -1,7 +0,0 @@
extends ../layout
block custom_head
meta(name="google-site-verification", content="8BxOTw-Q02DS2KAdcGcnIMwiPZ58DVB18XpOfRibCcg")
block content
include ../menu
-10
View File
@@ -1,10 +0,0 @@
.menu
ul
each i in menu.items
li(class='#{i.class}')
if(i.url)
a(href='#{i.url}') #{i.text}
else
span #{i.text}
a.vk(href='#{menu.vkgroup}')
img(src='/img/icon.vk.png')
-46
View File
@@ -1,46 +0,0 @@
extends ../layout
block custom_head
link(rel='stylesheet', href='/s/animate.min.css')
link(rel='stylesheet', href='/s/schedule.css')
//- script(src='http://code.jquery.com/jquery-2.1.0.min.js')
script(src='/c/jquery-2.1.0.js')
script(src='/c/schedule.js')
block content
include ../menu
.schedule
p Расписание весеннего семестра 2014 года
//- ul
//- li
//- a(href='') 2012, осень
//- li
//- a(href='') 2013, весна
//- li
//- a(href='') 2013, осень
//- li.current 2014, весна
table
thead
- var days = ["Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"];
th.group Гр.
for day in days
//- th.current.first
//- th.weekend
th
p.day #{day}
p.date
tbody
for group in groups
tr
td.group
p.name #{group.name}
p.time #{group.time}
for day in group.days
td
if day
p.lesson
a(href='') #{day.lesson}
p.teacher
a(href='') #{day.teacher}
for time in day.time
p.time #{time}
-19
View File
@@ -1,19 +0,0 @@
extends ../layout
block custom_head
link(rel="stylesheet", href="/s/team.css")
block content
img.main-picture(src='http://static.shburg.org/art/team/team.jpg')
include ../menu
.main
ul.team-list
for member in team
li.team-member
img(src='#{member.picture}')
.info
h3 #{member.firstName} #{member.middleName}
span #{member.lastName}
p #{member.position}
p #{member.status}
p #{member.edu}
-13
View File
@@ -1,13 +0,0 @@
//- //Yandex.Metrika informer
//- a(href='http://metrika.yandex.ru/stat/?id=24027460&from=informer', target='_blank', rel='nofollow')
//- img(src='//bs.yandex.ru/informer/24027460/3_1_FFFFFFFF_EFEFEFFF_0_pageviews', style='width: 88px; height: 31px; border: 0;', alt='Яндекс.Метрика', title='Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)', onclick='try{Ya.Metrika.informer({i:this,id:24027460,lang:\'ru\'});return false}catch(e){}')
//- //Yandex.Metrika informer
// Yandex.Metrika counter
script
include yandex.metrika.js
noscript
div
img(src='//mc.yandex.ru/watch/24027460', style='position: absolute; left: -9999px;', alt='')
// Yandex.Metrika counter
-1
View File
@@ -1 +0,0 @@
(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter24027460 = new Ya.Metrika({id:24027460, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks");