Browse Source

tidy views

tags/v1.1
parent
commit
b979baf20d
3 changed files with 1 additions and 28 deletions
  1. +1
    -2
      .rsyncignore
  2. +0
    -1
      app/views/header.htm
  3. +0
    -25
      app/views/tpl/image-with-links.html

+ 1
- 2
.rsyncignore View File

content/ content/
*.tar.gz *.tar.gz
.directory .directory

DE.backup/
doc/

+ 0
- 1
app/views/header.htm View File

<img class="logo" src="{{@RESOURCES}}img/logo.png" /> <img class="logo" src="{{@RESOURCES}}img/logo.png" />
</check> </check>
<h1><img class="text" src="/{{ @banner }}" alt="{{ @title }}" /></h1> <h1><img class="text" src="/{{ @banner }}" alt="{{ @title }}" /></h1>
<span class="login-button"><a href="/login">login</a></span>
</a> </a>

+ 0
- 25
app/views/tpl/image-with-links.html View File

<!--{~
/*
*part of gunther-rost.com (c)2018
*/ ~} -->
<repeat group="{{ @images }}" value="{{ @image }}">
<div class="card">
<check if="{{ @image.href && (! @no_links ) }}">
<true>
<a href="{{ @image.href }}" {{ @image.download?'download':'' }}>
<img src="{{ @image.src1 }}" />
<check if="{{ @image.text }}">
<true>
<div class="img-hover">{{ @image.text | raw}}</div>
</true>
</check>
<!--<img src="{{ @image.src2 }}" class="img-hover" />-->
</a>
</true>
<false>
<img src="{{ @image.src1 }}" />
<!--<img src="{{ @image.src2 }}" class="img-hover" />-->
</false>
</check>
</div>
</repeat>

Loading…
Cancel
Save