- added to Request: is_htmx_request (bool) - true if the request is made by htmx library (ajax)

- commented out using mount_page_arg_is "subject" and "info" from fun_cat.html and fun_run.html - they will be removed soon
- some improvements in fun_reply.html, fun_showthreads.html and fun_thread.html (scrolling)
This commit is contained in:
2021-05-31 10:58:34 +02:00
parent e6fae4598c
commit 22de3322ae
18 changed files with 112 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
<div class="winix">
<div class="winix winix-thread">
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h1>[end]
[if false]
@@ -55,4 +55,24 @@
</div>
[if winix_function_param_is "scrolltop"]
<div class="winix-fake-div"></div>
[if winix_has_uikit]
<script>
[# how does it work?]
UIkit.scroll(".winix-fake-div").scrollTo(".winix-thread");
</script>
[end]
[end]
[if winix_function_param_is "scrolldown"]
<div class="winix-fake-div"></div>
[if winix_has_uikit]
<script>
[# how does it work?]
UIkit.scroll(".winix-fake-div").scrollTo(".winix-fake-div");
</script>
[end]
[end]