frontend: redisign some elements
This commit is contained in:
parent
22c4835875
commit
08aa7d278c
5 changed files with 60 additions and 19 deletions
|
|
@ -123,10 +123,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container page-header text-primary clearfix" ng-cloak>
|
||||
<h1 ng-if="(current_theme)">{{ themes[current_theme].name }} <small class="authors" ng-if="themes[current_theme].authors" ng-bind-html="themes[current_theme].authors"></small></h1>
|
||||
<h1 ng-if="(!current_theme && title)" ng-cloak>{{ title }} <small class="authors" ng-if="authors">{{ authors }}</small></h1>
|
||||
<h1 ng-if="(!current_theme && !title)">{{ settings.title }} <small class="authors">{{ settings.authors }}</small></h1>
|
||||
<div style="background-image: url({{ themes[current_theme].image }})" ng-if="(current_theme)" class="page-header">
|
||||
<div class="container text-primary" ng-cloak>
|
||||
<h1><a ng-href="{{ themes[current_theme].urlid }}" ng-bind="themes[current_theme].name"></a></h1>
|
||||
<h2 ng-bind-html="themes[current_theme].authors"></h2>
|
||||
</div>
|
||||
<div class="headerfade"></div>
|
||||
</div>
|
||||
|
||||
<div class="container text-primary clearfix" ng-if="!current_theme" ng-cloak>
|
||||
<h1 ng-if="title" ng-cloak>{{ title }} <small class="authors" ng-if="authors">{{ authors }}</small></h1>
|
||||
<h1 ng-if="!title">{{ settings.title }} <small class="authors">{{ settings.authors }}</small></h1>
|
||||
</div>
|
||||
|
||||
<div class="container" ng-view>
|
||||
|
|
|
|||
Reference in a new issue