This commit is contained in:
tmshv committed 2016-03-07 04:46:42 +03:00
1 parent 261e842802
commit 0485a4acea
122 files changed
+4866 -3842

No files matched your search

@@ -0,0 +1,3 @@
<div class="article-page-control {{$.style}}">
<a href="/events/{{$.page}}">{{$.text}}</a>
</div>
+8
View File
@@ -0,0 +1,8 @@
<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>
-8
View File
@@ -1,8 +0,0 @@
<article class="event-post">
<header class="event-post__head">
<a href="{{$.url}}"><h3>{{$.post.title}}</h3></a>
<p class="date">{{$.post.date | date : "dd.MM.yyyy"}}</p>
</header>
<div class="event-post__body" ng-bind-html="$.message"></div>
</article>
+1 -1
View File
@@ -1,3 +1,3 @@
<section class="content content_thin content--padding-top--menu">
<event-post ng-repeat="i in $.posts" post="i"></event-post>
<h-article ng-repeat="i in $.posts" post="i"></h-article>
</section>
+13 -1
View File
@@ -1,3 +1,15 @@
<section class="content content_thin content--padding-top--menu">
<event-post ng-repeat="i in $.events" post="i"></event-post>
<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>
+5 -3
View File
@@ -1,7 +1,9 @@
<div class="content content_full" ng-switch="$.helloBlock">
<img ng-switch-when="mobile-image"
src="https://static.shlisselburg.org/art/graphics/entrance.jpg" width="100%">
<parallax ng-switch-default></parallax>
<div class="main-image">
<img ng-switch-when="mobile-image"
src="https://static.shlisselburg.org/art/graphics/entrance.jpg" width="100%">
<parallax ng-switch-default></parallax>
</div>
</div>
<div class="content content_thin">
@@ -40,7 +40,6 @@
ng-repeat="day in i.week track by $index"
ng-class="{current: $ctrl.isToday($index)}"
>
<p class="lesson"><a href="">{{day.lesson}}</a></p>
<p class="teacher"><a href="{{day.teacher.url}}">{{day.teacher.name}}</a></p>
<p class="time" ng-repeat="time in day.time">{{time}}</p>
@@ -4,8 +4,8 @@
</div>
<div class="teacher-profile__info">
<h3 ng-hide="$.url">{{$.firstName}} {{$.middleName}} <strong>{{$.lastName}}</strong></h3>
<h3 ng-show="$.url"><a href="{{$.profile.url}}">{{$.firstName}} {{$.middleName}} <strong>{{$.lastName}}</strong></a></h3>
<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>
@@ -1,16 +1,16 @@
<div class="timeline-record-instagram">
<div class="timeline-record-instagram__head">
<p class="date">{{$ctrl.post.date | date : "dd.MM.yyyy"}}</p>
<div class="timeline-record-instagram__user">
<img ng-src="{{$ctrl.post.userpic}}" alt=""/>
<span>{{$ctrl.post.username}}</span>
</div>
</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-post">
<div class="timeline-record-post__head">
<div>
<p class="date">{{$ctrl.post.date | date : "dd.MM.yyyy"}}</p>
<!--<a href="#{{$ctrl.post.uri}}">{{$ctrl.post.date | date : "dd.MM.yyyy"}}</a>-->
</div>
</div>
<div class="timeline-record-post__body" ng-bind-html="$ctrl.message"></div>
</div>
@@ -4,7 +4,7 @@
<timeline-record-instagram post="$ctrl.post"
ng-switch-when="instagram"
></timeline-record-instagram>
<timeline-record-post post="$ctrl.post"
ng-switch-default
></timeline-record-post>
<h-article post="$ctrl.post"
ng-switch-default
></h-article>
</div>
+1 -1
View File
@@ -2,7 +2,7 @@
<timeline-record type="{{post.type}}" post="post"
ng-repeat="post in $ctrl.feed track by $index"
></timeline-record>
<div class="timeline__footer" ng-show="showFooter()">
<div class="timeline__footer" ng-show="$ctrl.showFooter">
<button class="more"
ng-click="$ctrl.loadNext()"
ng-disabled="$ctrl.timelineUpdating">
+3 -4
View File
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html ng-app="hudozhka.instagram">
<html ng-app="hudozka.instagram">
<head>
<base href="/">
<meta name="fragment" content="!">
@@ -9,9 +9,8 @@
<link rel="stylesheet" href="/style.css">
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/bower_components/angular/angular.min.js"></script>
<script src="/instagram.js"></script>
<script src="/libs.js"></script>
<script src="/app.js"></script>
</head>
<body ng-controller="InstagramController">
<div class="controls">
+5 -2
View File
@@ -12,8 +12,9 @@
<title ng-bind="title">ДХШ Шлиссельбурга</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/animate.min.css">
<link rel="stylesheet" href="/fonts/stylesheet.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>
@@ -66,6 +67,8 @@
<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>