Templates removed
This commit is contained in:
1 parent
808b47c18a
commit
7a5d16f34d
40 files changed
+1
-678
No files matched your search
+1
-6
@@ -69,11 +69,6 @@ gulp.task('copy robots.txt', () => {
|
||||
.pipe(gulp.dest('./public'))
|
||||
})
|
||||
|
||||
gulp.task('copy templates', () => {
|
||||
return gulp.src('./src/templates/**')
|
||||
.pipe(gulp.dest('./out/templates'))
|
||||
})
|
||||
|
||||
gulp.task('copy views', () => {
|
||||
return gulp.src('./src/views/**')
|
||||
.pipe(gulp.dest('./out/views'))
|
||||
@@ -122,6 +117,6 @@ gulp.task('production', () => {
|
||||
})
|
||||
|
||||
gulp.task('default', ['style', 'compile'])
|
||||
gulp.task('copy', ['copy views', 'copy templates', 'copy fonts', 'copy graphics', 'copy 3rdparty', 'copy robots.txt'])
|
||||
gulp.task('copy', ['copy views', 'copy fonts', 'copy graphics', 'copy 3rdparty', 'copy robots.txt'])
|
||||
gulp.task('deploy', ['default', 'copy', 'compile 3rdparty', 'imagemin'])
|
||||
gulp.task('compile production', ['production', 'compile'])
|
||||
@@ -1,26 +0,0 @@
|
||||
import socketIO from 'socket.io';
|
||||
|
||||
export default function(server, store) {
|
||||
let io = socketIO(server);
|
||||
io.on('connection', socket => {
|
||||
// console.log('a user connected');
|
||||
|
||||
// socket.emit('feed', {
|
||||
// type: 'test',
|
||||
// id: 1,
|
||||
// message: 'hello world'
|
||||
// });
|
||||
|
||||
// socket.on('my other event', function (data) {
|
||||
// console.log(data);
|
||||
// });
|
||||
});
|
||||
|
||||
let transfer = name => i => io.emit(name, i);
|
||||
let timeline = transfer('timeline');
|
||||
|
||||
store.timeline.on('update', timeline);
|
||||
// store.timeline.on('update', i => {
|
||||
// console.log(`io update ${JSON.stringify(i, null, '\t')}`);
|
||||
// });
|
||||
}
|
||||
@@ -32,7 +32,6 @@ const pages = require('./routes/pages')
|
||||
const sitemap = require('./routes/sitemap')
|
||||
|
||||
const dirPublic = path.join(__dirname, '../public')
|
||||
const dirTemplates = path.join(__dirname, 'templates')
|
||||
|
||||
handlebars.registerHelper('raw-helper', options => options.fn())
|
||||
|
||||
@@ -62,7 +61,6 @@ export default function (store) {
|
||||
app.use($(conditional()))
|
||||
app.use($(etag()))
|
||||
app.use(serve(dirPublic))
|
||||
app.use(serve(dirTemplates))
|
||||
app.use($(redirect(redirectionTable)))
|
||||
app.use($(helmet()))
|
||||
app.use(queryObject())
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<div class="content content_wide content--padding-top--menu">
|
||||
<div class="error-404">
|
||||
<h1>Страница не найдена.</h1>
|
||||
<img src="http://static.shlisselburg.org/art/graphics/skull.jpg" alt=""/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,75 +0,0 @@
|
||||
<div class="accessibility-control">
|
||||
<div class="accessibility-control__block">
|
||||
<span>Цветовая схема: </span>
|
||||
<ul>
|
||||
<li ng-repeat="i in scopes.color">
|
||||
<span
|
||||
class="actor"
|
||||
ng-class="{active: isActive('color', i)}"
|
||||
ng-click="setColorTheme(i[0])"
|
||||
>{{i[1]}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="accessibility-control__block">
|
||||
<span>Размер шрифта: </span>
|
||||
<ul>
|
||||
<li ng-repeat="i in scopes.fontSize">
|
||||
<span
|
||||
class="actor"
|
||||
ng-class="{active: isActive('fontSize', i)}"
|
||||
ng-click="setFontTheme(i[0])"
|
||||
>{{i[1]}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="accessibility-control__block">
|
||||
<span>Начертание: </span>
|
||||
<ul>
|
||||
<li ng-repeat="i in scopes.fontFamily">
|
||||
<span
|
||||
class="actor"
|
||||
ng-class="{active: isActive('font', i)}"
|
||||
ng-click="setFontFamilyTheme(i[0])"
|
||||
>{{i[1]}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="accessibility-control__block">
|
||||
<span>Картинки: </span>
|
||||
<ul>
|
||||
<li ng-repeat="i in scopes.image">
|
||||
<span
|
||||
class="actor"
|
||||
ng-class="{active: isActive('image', i)}"
|
||||
ng-click="setImageTheme(i[0])"
|
||||
>{{i[1]}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="accessibility-control__block">
|
||||
<span>Кернинг: </span>
|
||||
<ul>
|
||||
<li ng-repeat="i in scopes.kerning">
|
||||
<span
|
||||
class="actor"
|
||||
ng-class="{active: isActive('kerning', i)}"
|
||||
ng-click="setKerningTheme(i[0])"
|
||||
>{{i[1]}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div style="margin: 1em 0">
|
||||
<span class="actor"
|
||||
ng-click="setDefaultSettings()"
|
||||
>Стандартная настройка</span>
|
||||
<span class="actor"
|
||||
ng-click="setDefaultTheme()"
|
||||
>Обычный режим</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +0,0 @@
|
||||
<div class="album-collection">
|
||||
<h2 class="album-collection__title">{{$.title}}</h2>
|
||||
<div class="album-collection__body">
|
||||
<gallery-item ng-repeat="i in $.albums" record="i"></gallery-item>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,15 +0,0 @@
|
||||
<article class="album">
|
||||
<!--<header class="album__head">-->
|
||||
<!--<h2>{{$.album.title}}</h2>-->
|
||||
<!--<p class="date">{{$.album.date | date : "dd.MM.yyyy"}}</p>-->
|
||||
<!--</header>-->
|
||||
|
||||
<!--<div class="album__body" ng-bind-html="$.post"></div>-->
|
||||
|
||||
<header class="album__head">
|
||||
<h2>{{$.title}}</h2>
|
||||
<!--<p class="date">{{$.album.date | date : "dd.MM.yyyy"}}</p>-->
|
||||
</header>
|
||||
|
||||
<div class="album__body" ng-transclude></div>
|
||||
</article>
|
||||
@@ -1,3 +0,0 @@
|
||||
<div class="article-page-control {{$.style}}">
|
||||
<a href="/events/{{$.page}}">{{$.text}}</a>
|
||||
</div>
|
||||
@@ -1,8 +0,0 @@
|
||||
<article class="article">
|
||||
<header class="article__head">
|
||||
<a href="{{$.url}}"><h2>{{$.post.title}}</h2></a>
|
||||
<p class="date">{{$.post.date | date : "dd.MM.yyyy"}}</p>
|
||||
</header>
|
||||
|
||||
<div class="article__body" ng-bind-html="$.message"></div>
|
||||
</article>
|
||||
@@ -1,7 +0,0 @@
|
||||
<div class="document">
|
||||
<div class="document__image">
|
||||
<a href="{{$.document.url}}" target="_blank" class="invisible">
|
||||
<img ng-src="{{$.document.preview.data.small.url}}">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +0,0 @@
|
||||
<nav class="breadcrumbs">
|
||||
<ul>
|
||||
<li ng-repeat="i in $ctrl.crumbs">
|
||||
<a ng-show="i.url" href="{{i.url}}">{{i.name}}</a>
|
||||
<span ng-hide="i.url">{{i.name}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -1,3 +0,0 @@
|
||||
<section class="content content_thin content--padding-top--menu">
|
||||
<div class="cloud-page__body" ng-bind-html="$.content"></div>
|
||||
</section>
|
||||
@@ -1,15 +0,0 @@
|
||||
<div class="document">
|
||||
<a href="{{$.document.url}}" target="_blank" class="invisible">
|
||||
<div class="document__image {{$.imageClass}}">
|
||||
<img ng-src="{{$.previewUrl}}" alt="{{$.document.title}}"/>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="document__file">
|
||||
<a href="{{$.document.url}}" target="_blank">{{$.document.title | uppercaseFirst}}</a>
|
||||
</div>
|
||||
|
||||
<div class="document__file-info">
|
||||
<a href="{{$.document.url}}" target="_blank">{{$.file.name | ext}} ({{$.file.size | bytes}})</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
<div class="footer-links">
|
||||
<h4 class="footer-links__header" ng-show="$ctrl.title">{{$ctrl.title}}</h4>
|
||||
<ul>
|
||||
<li class="footer-links__link" ng-repeat="i in $ctrl.links"><a href="{{i.url}}" target="_blank">{{i.link}}</a>
|
||||
<span ng-show="i.description"> — </span>{{i.description}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -1,6 +0,0 @@
|
||||
<div class="gallery-item">
|
||||
<a href="{{$.record.url}}">
|
||||
<h3>{{$.record.title}}</h3>
|
||||
<img ng-src="{{$.previewImage}}" alt="{{$.record.title}}"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -1,6 +0,0 @@
|
||||
<nav role="navigation" class="main-menu">
|
||||
<li ng-repeat="item in $ctrl.menu" class="{{item.color}}" ng-class="{selected: $ctrl.isActive(item)}">
|
||||
<span ng-hide="$ctrl.isValid(item)">{{item.text}}</span>
|
||||
<a href="{{item.url}}" ng-show="$ctrl.isValid(item)">{{item.text}}</a>
|
||||
</li>
|
||||
</nav>
|
||||
@@ -1,10 +0,0 @@
|
||||
<div class="navigation">
|
||||
<accessibility-control></accessibility-control>
|
||||
<div class="navigation__body">
|
||||
<main-menu items="$.menu"></main-menu>
|
||||
|
||||
<div class="navigation__right">
|
||||
<theme-selector></theme-selector>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,36 +0,0 @@
|
||||
<div class="content content_thin content--padding-top--menu">
|
||||
<!--<album album="$.album"></album>-->
|
||||
<album title="{{$.album.title}}">
|
||||
<div ng-bind-html="$.post"></div>
|
||||
</album>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
<!--<breadcrumbs crumbs="$.crumbs"></breadcrumbs>-->
|
||||
|
||||
<!--<div class="album-block">-->
|
||||
<!--<h1>{{$.album.title}}</h1>-->
|
||||
|
||||
<!--<div class="album" ng-show="$.album">-->
|
||||
<!--<div class="album-info">-->
|
||||
<!--<p>Предмет: {{$.album.course}}</p>-->
|
||||
<!--<p>Преподаватель: {{$.album.teacherName}}</p>-->
|
||||
<!--<p class="description" ng-show="$.album.description">{{$.album.description}}</p>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="album-item" ng-repeat="product in $.album.content">-->
|
||||
<!--<img ng-src="{{product.content.big.url}}" alt=""/>-->
|
||||
|
||||
<!--<div class="product-info">-->
|
||||
<!--<div>-->
|
||||
<!--<p ng-show="product.title" class="title">{{product.title | removeNewline}}</p>-->
|
||||
|
||||
<!--<p>{{product.author}}</p>-->
|
||||
|
||||
<!--<p ng-show="product.authorAge">{{product.authorAge}} лет</p>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
</div>
|
||||
@@ -1,6 +0,0 @@
|
||||
<section class="content content_thin content--padding-top--menu">
|
||||
<!--<h-article ng-repeat="i in $.posts" post="i"></h-article>-->
|
||||
<h-article post="$.article"></h-article>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
</section>
|
||||
@@ -1,6 +0,0 @@
|
||||
<div class="content content_wide content--padding-top--menu">
|
||||
<h2>Награды</h2>
|
||||
<div class="documents-container">
|
||||
<award ng-repeat="i in $.items" document="i"></award>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,12 +0,0 @@
|
||||
<div class="page-collective content content_full">
|
||||
<img class="page-collective__collective-image"
|
||||
width="100%"
|
||||
src="https://static.shlisselburg.org/art/graphics/collective.jpg">
|
||||
|
||||
<div class="content content_semi-wide content--padding-top--double">
|
||||
<teacher-profile
|
||||
ng-repeat="i in $ctrl.members"
|
||||
profile="i"
|
||||
show-url="{{true}}"></teacher-profile>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,9 +0,0 @@
|
||||
<div class="content content_wide content--padding-top--menu">
|
||||
<div>
|
||||
<h2>{{$.item.name}}</h2>
|
||||
|
||||
<div class="documents-container">
|
||||
<document document="$.item" preview="big"></document>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,13 +0,0 @@
|
||||
<div class="content content_thin content--padding-top--menu">
|
||||
<div class="documents-container"
|
||||
ng-repeat="c in $.collections"
|
||||
>
|
||||
<div class="documents-container__head">
|
||||
<h3>{{c.name}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="documents-container__body">
|
||||
<document ng-repeat="i in c.documents" document="i"></document>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,15 +0,0 @@
|
||||
<section class="content content_thin content--padding-top--menu">
|
||||
<article-page-control
|
||||
ng-show="$.prevPage"
|
||||
page="{{$.prevPage}}"
|
||||
direction="indirect"
|
||||
></article-page-control>
|
||||
|
||||
<h-article ng-repeat="i in $.posts" post="i"></h-article>
|
||||
|
||||
<article-page-control
|
||||
ng-show="$.nextPage"
|
||||
page="{{$.nextPage}}"
|
||||
direction="direct"
|
||||
></article-page-control>
|
||||
</section>
|
||||
@@ -1,29 +0,0 @@
|
||||
<div class="content content_semi-wide">
|
||||
<breadcrumbs crumbs="$ctrl.crumbs"></breadcrumbs>
|
||||
|
||||
<div class="album-block">
|
||||
<h3>{{$ctrl.album.title}}</h3>
|
||||
|
||||
<div class="album" ng-show="$ctrl.album">
|
||||
<div class="album-info">
|
||||
<p>Предмет: {{$ctrl.album.course}}</p>
|
||||
<p>Преподаватель: {{$ctrl.album.teacherName}}</p>
|
||||
<p class="description" ng-show="$ctrl.album.description">{{$ctrl.album.description}}</p>
|
||||
</div>
|
||||
|
||||
<div class="album-item" ng-repeat="product in $ctrl.album.content">
|
||||
<img ng-src="{{product.content.big.url}}" alt=""/>
|
||||
|
||||
<div class="product-info">
|
||||
<div>
|
||||
<p ng-show="product.title" class="title">{{product.title | removeNewline}}</p>
|
||||
|
||||
<p>{{product.author}}</p>
|
||||
|
||||
<p ng-show="product.authorAge">{{product.authorAge}} лет</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
<div class="content content_wide content--padding-top--menu">
|
||||
<album-collection
|
||||
ng-repeat="i in $.collections"
|
||||
title="{{i.title}}"
|
||||
albums="i.albums"
|
||||
></album-collection>
|
||||
</div>
|
||||
@@ -1,13 +0,0 @@
|
||||
<div class="content content_wide content--padding-top--menu">
|
||||
<div class="schedule-selector">
|
||||
<label> Семестр
|
||||
<select
|
||||
ng-model="$ctrl.currentSchedule"
|
||||
ng-change="$ctrl.loadSchedule($ctrl.currentSchedule, true)"
|
||||
ng-options="s.text for s in $ctrl.schedules">
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<schedule schedule="$ctrl.schedule"></schedule>
|
||||
</div>
|
||||
@@ -1,48 +0,0 @@
|
||||
<div class="content content_full">
|
||||
<div class="main-image" ng-switch="$.helloBlock">
|
||||
<img src="https://static.shlisselburg.org/art/graphics/entrance.jpg"
|
||||
ng-switch-when="mobile-image"
|
||||
/>
|
||||
|
||||
<div class="main-image__content"
|
||||
ng-switch-default
|
||||
>
|
||||
<parallax></parallax>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content content_thin">
|
||||
<div class="hudozka-title">
|
||||
<p>МБУДО</p>
|
||||
<h1>Шлиссельбургская детская художественная школа</h1>
|
||||
</div>
|
||||
<!--<div class="main-block">-->
|
||||
<!--<div>-->
|
||||
<!--<!–<a href="tel://{{telephone}}"></a>–>-->
|
||||
<!--<span class="telephone">{{contact.telephone}}</span>-->
|
||||
|
||||
<!--<!–<ul class="submenu">–>-->
|
||||
<!--<!–<li><a href="/team#director">директор</a><p>М. Г. Тимашева</p></li>–>-->
|
||||
<!--<!–<li><a href="/enter">поступление</a></li>–>-->
|
||||
<!--<!–<li><a href="/contacts">контактная информация</a></li>–>-->
|
||||
<!--<!–<li><a href="/awards">награды</a></li>–>-->
|
||||
<!--<!–</ul>–>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--<h1>Шлиссельбургская детская художественная школа</h1>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="tape-block">-->
|
||||
<!--<div class="tape-block__body">-->
|
||||
<!--<div class="tape tape-tl"></div>-->
|
||||
<!--<div class="tape tape-tr"></div>-->
|
||||
<!--<div class="tape tape-bl"></div>-->
|
||||
<!--<div class="tape tape-br"></div>-->
|
||||
|
||||
<!--<div class="tape-block__content"></div>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<timeline></timeline>
|
||||
</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
<div class="content content_semi-wide content--padding-top--menu">
|
||||
<teacher-profile profile="$.member" show-url="{{false}}"></teacher-profile>
|
||||
</div>
|
||||
@@ -1,8 +0,0 @@
|
||||
<div class="parallax">
|
||||
<div class="parallax__container">
|
||||
<div class="parallax__layer" ng-repeat="i in layers" ng-style="{top: i.y, left: i.x}">
|
||||
<img ng-src="{{i.url}}" alt="">
|
||||
</div>
|
||||
<div class="parallax__end"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +0,0 @@
|
||||
<div class="schedule-record" ng-class="{even: $ctrl.i % 2 === 0, empty: !$ctrl.record.content[0].lesson}">
|
||||
<div class="schedule-record__head">Группа {{$ctrl.record.name}} ({{$ctrl.record.time}})</div>
|
||||
<div class="schedule-record__main">
|
||||
<p class="schedule-record__name">{{$ctrl.record.content[0].course.title}}</p>
|
||||
<p class="schedule-record__tutor"><a href="{{$ctrl.record.content[0].teacher.url}}">{{$ctrl.short($ctrl.record.content[0].teacher.name)}}</a></p>
|
||||
<p class="schedule-record__time" ng-repeat="time in $ctrl.record.content[0].time">{{time.join('—')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,10 +0,0 @@
|
||||
<div class="schedule-slider__slide" ng-class="{current: $ctrl.day.current}">
|
||||
<div class="schedule-slider__head">
|
||||
<p>{{$ctrl.day.day}}</p>
|
||||
<p>{{$ctrl.day.date}}</p>
|
||||
</div>
|
||||
|
||||
<div class="schedule-slider__body">
|
||||
<schedule-record ng-repeat="group in $ctrl.day.groups track by $index" record="group" i="$index"></schedule-record>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1 +0,0 @@
|
||||
<div class="schedule-slick"></div>
|
||||
@@ -1,72 +0,0 @@
|
||||
<div class="schedule-table" ng-show="$ctrl.schedule">
|
||||
<div class="schedule-table__head">
|
||||
<div class="group">Гр.</div>
|
||||
<div ng-class="{current: $ctrl.isToday(0)}">
|
||||
<p class="day">Понедельник</p>
|
||||
<p class="date">{{$ctrl.weekDay(0)}}</p>
|
||||
</div>
|
||||
<div ng-class="{current: $ctrl.isToday(1)}">
|
||||
<p class="day">Вторник</p>
|
||||
<p class="date">{{$ctrl.weekDay(1)}}</p>
|
||||
</div>
|
||||
<div ng-class="{current: $ctrl.isToday(2)}">
|
||||
<p class="day">Среда</p>
|
||||
<p class="date">{{$ctrl.weekDay(2)}}</p>
|
||||
</div>
|
||||
<div ng-class="{current: $ctrl.isToday(3)}">
|
||||
<p class="day">Четверг</p>
|
||||
<p class="date">{{$ctrl.weekDay(3)}}</p>
|
||||
</div>
|
||||
<div ng-class="{current: $ctrl.isToday(4)}">
|
||||
<p class="day">Пятница</p>
|
||||
<p class="date">{{$ctrl.weekDay(4)}}</p>
|
||||
</div>
|
||||
<div ng-class="{current: $ctrl.isToday(5)}">
|
||||
<p class="day">Суббота</p>
|
||||
<p class="date">{{$ctrl.weekDay(5)}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="schedule-table__body">
|
||||
<div class="schedule-table__body-row"
|
||||
ng-repeat="i in $ctrl.schedule.groups">
|
||||
|
||||
<div class="schedule-table__body-group">
|
||||
<p class="name">{{i.name}}</p>
|
||||
<p class="time">{{i.time}}</p>
|
||||
</div>
|
||||
|
||||
<div class="schedule-table__record"
|
||||
ng-repeat="day in i.week track by $index"
|
||||
ng-class="{current: $ctrl.isToday($index)}"
|
||||
>
|
||||
<div class="schedule-table__course"
|
||||
ng-repeat="lesson in day track by $index"
|
||||
>
|
||||
<p class="lesson">
|
||||
<a ng-if="lesson.course.url"
|
||||
href="{{lesson.course.url}}"
|
||||
>
|
||||
{{lesson.course.title}}
|
||||
</a>
|
||||
<span ng-if="!lesson.course.url">
|
||||
{{lesson.course.title}}
|
||||
</span>
|
||||
</p>
|
||||
<p class="teacher">
|
||||
<a ng-if="lesson.teacher.url"
|
||||
href="{{lesson.teacher.url}}"
|
||||
>
|
||||
{{$ctrl.short(lesson.teacher.name)}}
|
||||
</a>
|
||||
<span ng-if="!lesson.teacher.url"
|
||||
>
|
||||
{{$ctrl.short(lesson.teacher.name)}}
|
||||
</span>
|
||||
</p>
|
||||
<p class="time" ng-repeat="time in lesson.time">{{time.join(' — ')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +0,0 @@
|
||||
<div ng-switch="$ctrl.type">
|
||||
<schedule-slider schedule="$ctrl.schedule"
|
||||
ng-switch-when="slider"
|
||||
></schedule-slider>
|
||||
<schedule-table schedule="$ctrl.schedule"
|
||||
ng-switch-default
|
||||
></schedule-table>
|
||||
</div>
|
||||
@@ -1,19 +0,0 @@
|
||||
<div class="teacher-profile">
|
||||
<div class="teacher-profile__picture">
|
||||
<img ng-src="{{$.image.url}}" >
|
||||
</div>
|
||||
|
||||
<div class="teacher-profile__info">
|
||||
<h2 ng-hide="$.url">{{$.firstName}} {{$.middleName}} <strong>{{$.lastName}}</strong></h2>
|
||||
<h2 ng-show="$.url"><a href="{{$.profile.url}}">{{$.firstName}} {{$.middleName}} <strong>{{$.lastName}}</strong></a></h2>
|
||||
|
||||
<div>
|
||||
<p class="teacher-profile__position"><i><strong>{{$.profile.position}}</strong></i></p>
|
||||
<p>{{$.profile.status}}</p>
|
||||
<p>Образование: {{$.profile.edu}}</p>
|
||||
<p>Диплом: <i>{{$.profile.diploma}}</i></p>
|
||||
</div>
|
||||
|
||||
<div class="teacher-profile__biography" ng-bind-html="$.biography"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,16 +0,0 @@
|
||||
<div class="timeline-record-instagram">
|
||||
<div class="timeline-record-instagram__head">
|
||||
<p class="date">{{$ctrl.post.date | date : "dd.MM.yyyy"}}</p>
|
||||
</div>
|
||||
|
||||
<div class="timeline-record-instagram__body">
|
||||
<a href="{{$ctrl.post.url}}" target="_blank" class="invisible">
|
||||
<img ng-src="{{$ctrl.post.image}}" alt="">
|
||||
</a>
|
||||
<div class="timeline-record-instagram__user">
|
||||
<img ng-src="{{$ctrl.post.userpic}}" alt=""/>
|
||||
<span>{{$ctrl.post.username}}</span>
|
||||
</div>
|
||||
<p>{{$ctrl.post.text | removeHashtags | strip}}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,10 +0,0 @@
|
||||
<div class="timeline__record"
|
||||
ng-switch="$ctrl.type"
|
||||
>
|
||||
<timeline-record-instagram post="$ctrl.post"
|
||||
ng-switch-when="instagram"
|
||||
></timeline-record-instagram>
|
||||
<h-article post="$ctrl.post"
|
||||
ng-switch-default
|
||||
></h-article>
|
||||
</div>
|
||||
@@ -1,13 +0,0 @@
|
||||
<div class="timeline">
|
||||
<timeline-record type="{{post.type}}" post="post"
|
||||
ng-repeat="post in $ctrl.feed track by $index"
|
||||
></timeline-record>
|
||||
<div class="timeline__footer" ng-show="$ctrl.showFooter">
|
||||
<button class="more"
|
||||
ng-click="$ctrl.loadNext()"
|
||||
ng-disabled="$ctrl.timelineUpdating">
|
||||
<span us-spinner="{radius:5, width:2, length: 4}" spinner-key="timelineMore"></span>
|
||||
<span ng-hide="$ctrl.timelineUpdating">Ещё</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,107 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html ng-app="hudozka">
|
||||
|
||||
<head>
|
||||
<meta name="fragment" content="!">
|
||||
<meta name="google-site-verification" content="8BxOTw-Q02DS2KAdcGcnIMwiPZ58DVB18XpOfRibCcg">
|
||||
<meta name="google-site-verification" content="A-TEemUw4hHpULUDCd6xhxfHnyRbgKtss90JGKXnSpw" />
|
||||
<meta name='yandex-verification' content='643c7dac144b9dac' />
|
||||
<meta name="msvalidate.01" content="E878301FE3E3F12D233A6B1156889601" />
|
||||
<meta name="viewport" content="width=device-width, maximum-scale=1.0" />
|
||||
<meta name="referrer" content="unsafe-url">
|
||||
|
||||
{{{{raw-helper}}}}
|
||||
|
||||
<base href="/">
|
||||
<title ng-bind="title">Шлиссельбургская Детская Художественная Школа</title>
|
||||
|
||||
<link rel="icon" type="image/png" href="//static.shlisselburg.org/art/graphics/favicon-32.png" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="//static.shlisselburg.org/art/graphics/favicon-57.png" />
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="//static.shlisselburg.org/art/graphics/favicon-72.png" />
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="//static.shlisselburg.org/art/graphics/favicon-114.png" />
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="//static.shlisselburg.org/art/graphics/favicon-144.png" />
|
||||
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="style.css"/>
|
||||
<!--<link rel="stylesheet" href="/animate.min.css">-->
|
||||
<link rel="stylesheet" href="/fonts/PTSans/stylesheet.css">
|
||||
<link rel="stylesheet" href="/fonts/PTSerif/stylesheet.css">
|
||||
|
||||
<script src="/libs.js"></script>
|
||||
|
||||
<script src="//cdn.jsdelivr.net/jquery.slick/1.5.7/slick.min.js"></script>
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.5.7/slick.css"/>
|
||||
|
||||
<script src="/app.js"></script>
|
||||
|
||||
{{{{/raw-helper}}}}
|
||||
|
||||
<script>
|
||||
if(window.location.host.indexOf('localhost') === -1){
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date();
|
||||
a = s.createElement(o),
|
||||
m = s.getElementsByTagName(o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||
|
||||
ga('create', 'UA-60209057-1', 'auto');
|
||||
//ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>window.hudozka={{{data}}}</script>
|
||||
</head>
|
||||
|
||||
{{{{raw-helper}}}}
|
||||
<body>
|
||||
<div class="body-wrapper {{theme}}" ng-controller="AppController">
|
||||
<header ng-switch="navigation">
|
||||
<navigation menu="menuProvider" right-text="{{phone}}"></navigation>
|
||||
</header>
|
||||
|
||||
<div class="body-wrapper__content">
|
||||
<ng-view class="page" autoscroll></ng-view>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="footer-info">
|
||||
<footer-links title="{{footer.links.docs.title}}" links="footer.links.docs.links"></footer-links>
|
||||
</div>
|
||||
|
||||
<div class="contacts" ng-controller="ContactsController">
|
||||
<div>
|
||||
<h4>Контактная информация</h4>
|
||||
<p>Адрес: {{address}}</p>
|
||||
<p>Телефон: {{telephone}}</p>
|
||||
<p>Почта: <a href="mailto:{{email}}">{{email}}</a></p>
|
||||
<p>Вконтакте: <a href="https://vk.com/shlisselburghudozka">shlisselburghudozka</a></p>
|
||||
<p>Инстаграм: <a href="https://www.instagram.com/hudozka/">hudozka</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="copyright" ng-controller="CopyrightController">
|
||||
<span>© 2012—{{now}} Шлиссельбургская Детская Художественная Школа</span>
|
||||
<span ng-show="developer">Разработка и поддержка сайта — <a href="http://tmshv.ru?utm_source=artshburg&utm_medium=developer&utm_campaign=tmshv_ru">www.tmshv.ru</a></span>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// (function() {
|
||||
// var d = document;
|
||||
// var s = d.createElement('script');
|
||||
// s.src = '//hudozka.disqus.com/embed.js';
|
||||
// s.setAttribute('data-timestamp', Date.now());
|
||||
// (d.head || d.body).appendChild(s);
|
||||
// })();
|
||||
</script>
|
||||
</body>
|
||||
{{{{/raw-helper}}}}
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user