Skip to content

Commit

Permalink
Topic list migration, subforum migration fixes (#18)
Browse files Browse the repository at this point in the history
* subforum headers: add missing wrapper, remove irrelevant jcink variable

* add topic list header and rows html
  • Loading branch information
thewildmage authored Jul 15, 2021
1 parent 65b1c90 commit e789159
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dist/html-templates/subf_head.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<div class="category-wrapper">
<div class="category-inner">
<div class="category-title">
<!-- |name_text| -->
</div>
<div class="category-title"></div>
<div class="category-border"></div>
<% FORUM_ROWS %>
<div class="forum-row"><% FORUM_ROWS %></div>
</div>
</div>
12 changes: 12 additions & 0 deletions dist/html-templates/topic_list_head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="category-wrapper">
<div class="category-inner">
<div class="category-title"><!-- |forum_name| --></div>
<div class="category-border"></div>

<div class="topic-row"><% ANNOUNCEMENTS %> <% TOPIC_ROWS %></div>
</div>

<!-- |mod_form_end| -->
<!-- |forum_active| -->
<!-- |sort_options| -->
</div>
37 changes: 37 additions & 0 deletions dist/html-templates/topic_row.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<div class="topic-wrapper">
<div class="topic-title">
<!-- |prefix| -->
<!-- |topic| -->
</div>

<div class="topic-info">
<div class="topic-desc"><!-- |topic_desc| --></div>
<div class="topic-last-post-av">
<!-- |last_poster_avatar| -->
</div>
<div class="topic-last-post">
last post by:
<!-- |last_poster| -->
</div>
<div class="topic-starter">
topic started by:
<!-- |starter| -->
</div>
<div class="topic-pagination">
<!-- |pages| -->
<div class="views-replies-flex">
<div class="views-replies">
<!-- |views| -->
views
</div>
<br />
<div class="views-replies">
<!-- |replies_int| -->
posts
</div>
</div>
</div>
</div>

<!-- |mod_checkbox| -->
</div>

0 comments on commit e789159

Please sign in to comment.