added uikit markup for: createthread, reply, showthreads and thread winix functions

This commit is contained in:
2021-02-12 18:57:14 +01:00
parent 22a45697fa
commit ae8637d455
15 changed files with 123 additions and 95 deletions

View File

@@ -1,45 +1,56 @@
<div class="winix">
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h1>[end]
[if false]
[if mount_page_arg_is "info"][include "item_info.html"][end]
[if thread_can_reply]
<div class="winix_itemoptions_b">
<ul>
<li><a href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a></li>
</ul>
</div>
[end]
[if not [thread_mount_arg_is "sort_desc"]]
<div class="winix_threadbox">
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
[if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end]
[if thread_mount_arg_is "info"][include "item_info.html"][end]
[item_print_content]
</div>
[end]
[if thread_mount_arg_is "sort_desc"]
[if thread_can_reply]
<div class="uk-margin">
<a class="uk-button uk-button-default" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
</div>
[end]
[end]
[for thread_sort_tab]
<div class="winix_threadbox[if index "even"] winix_threadboxcolor[end]">
[if thread_sort_tab_can_write]<a class="winix_threadedit" href="[thread_sort_tab_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
<div class="uk-margin [if index "odd"]uk-tile-default[else]uk-tile-muted uk-padding-small[end]">
[if thread_sort_tab_can_write]<a class="uk-button uk-button-default uk-button-small" href="[thread_sort_tab_link]/emacs" rel="nofollow">{edit}</a>[end]
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[thread_sort_tab_subject]</h2>[end]
[if thread_mount_arg_is "info"][include "thread_sort_tab_info.html"][end]
[thread_sort_tab_print_content]
</div>
[end]
[if thread_mount_arg_is "sort_desc"]
<div class="winix_threadbox">
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
[if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end]
[if thread_mount_arg_is "info"][include "item_info.html"][end]
[item_print_content]
</div>
[end]
[if not [thread_mount_arg_is "sort_desc"]]
[if thread_can_reply]
<div class="uk-margin">
<a class="uk-button uk-button-default" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
</div>
[end]
[end]
</div>