This commit is contained in:
tmshv committed 2014-11-04 21:50:09 +03:00
1 parent 6909a25e1b
commit 7e30f7f278
20 files changed
+1250 -228

No files matched your search

+51 -8
View File
@@ -1,14 +1,57 @@
extends ../layout
block custom_head
link(rel="stylesheet", href="/s/document.css")
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
h1
span.bold ДХШ
span.norm Шлиссельбурга,
span.norm #{doc.title}
.doclist
for a in doc.url
img(src='#{a}')
.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}')
+13 -10
View File
@@ -3,20 +3,22 @@ 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='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
ul
li
a(href='') 2012, осень
li
a(href='') 2013, весна
li
a(href='') 2013, осень
li.current 2014, весна
p Расписание весеннего семестра 2014 года
//- ul
//- li
//- a(href='') 2012, осень
//- li
//- a(href='') 2013, весна
//- li
//- a(href='') 2013, осень
//- li.current 2014, весна
table
thead
- var days = ["Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"];
@@ -31,7 +33,8 @@ block content
for group in groups
tr
td.group
p #{group.name}
p.name #{group.name}
p.time #{group.time}
for day in group.days
td
if day