diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2016-12-15 18:25:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-15 18:25:42 +0900 |
| commit | cae526e65a20f3da2d8884c4d8e8978c54120000 (patch) | |
| tree | 2954153dd49f616f5018490058ff4bfbd17300d3 /templates/themes/catalog/catalog.html | |
| parent | b58fab98147a92c8e6d22f15d23684508b6bb811 (diff) | |
| parent | 5feae402cb55d49963bfd2c6f5a33d10690ecbc1 (diff) | |
Merge pull request #79 from lainchan/clean_prod_vichan_update
Merge vichan changes from upstream and changes directly applied to the site.
Diffstat (limited to 'templates/themes/catalog/catalog.html')
| -rw-r--r-- | templates/themes/catalog/catalog.html | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index f23298bf..ac19a90e 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -4,12 +4,13 @@ <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <script type='text/javascript'> - active_page = "catalog"; + var active_page = "catalog" + , board_name = "{{ board }}"; </script> + <title>{{ settings.title }} ( /{{ board }}/ )</title> {% include 'header.html' %} - <title>{{ settings.title }} (/{{ board }}/)</title> </head> -<body class="theme-catalog board-{{ board }}"> +<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} theme-catalog active-catalog" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}"> <div class="top bar topbar"> {{ boardlist.top }} </div> @@ -41,15 +42,17 @@ <option value="large">{% trans 'Large' %}</option> </select> </div> - - <div class="threads"> - <ul id="Grid"> - {% for post in recent_posts %} - <li class="mix" + <br></br> + <div class="threads"> + <div id="Grid"> + {% for post in recent_posts %} + <div class="mix" data-reply="{{ post.reply_count }}" - data-bump="{{ post.bump }}" - data-time="{{ post.time }}" - data-board="{{ post.board }}" + data-bump="{{ post.bump }}" + data-time="{{ post.time }}" + data-id="{{ post.id }}" + data-sticky="{% if post.sticky %}true{% else %}false{% endif %}" + data-locked="{% if post.locked %}true{% else %}false{% endif %}" > <div class="thread grid-li grid-size-small"> <a href="{{post.link}}"> @@ -61,7 +64,7 @@ id="img-{{ post.id }}" data-subject="{% if post.subject %}{{ post.subject|e }}{% endif %}" data-name="{{ post.name|e }}" data-muhdifference="{{ post.muhdifference }}" class="{{post.board}} thread-image" title="{{post.bump|date('%b %d %H:%M')}}"> </a> <div class="replies"> - <strong>R: {{ post.reply_count }} / I: {{ post.image_count }}</strong> + <strong>R: {{ post.reply_count }} / I: {{ post.image_count }}{% if post.sticky %} (sticky){% endif %}</strong> {% if post.subject %} <p class="intro"> <span class="subject"> @@ -75,9 +78,9 @@ {{ post.body }} </div> </div> - </li> + </div> {% endfor %} - </ul> + </div> </div> <hr/> |
