From d43e6f05e1e007835220ed189438d642599a46e5 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 1 Apr 2017 18:00:35 +0000 Subject: [PATCH 1/3] Revert "topkek" This reverts commit a0abc22dcd0505d25945db1b4cadde1f202fcfd0 --- s/item.tpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s/item.tpl.html b/s/item.tpl.html index 9e2ab10..4f752a9 100644 --- a/s/item.tpl.html +++ b/s/item.tpl.html @@ -23,7 +23,7 @@
{% if item == "image" || item == "audio" || item == "video" %} - + {% else %}

404 - Not f0cked

{% endif %} From 0e00f2901a5c9c25cbcb1b6f05a7e54d821a76a5 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 1 Apr 2017 18:00:46 +0000 Subject: [PATCH 2/3] Revert "topkek" This reverts commit fc0081d8e24e86f523a136728bd33a6c19882c47 --- s/scroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s/scroller.js b/s/scroller.js index a87656f..8f4d56b 100644 --- a/s/scroller.js +++ b/s/scroller.js @@ -7,7 +7,7 @@ $(()=>{ var html = ""; for(var i = 0; i < msg.items.length; i++) if(msg.items[i].id) - html += "
  • \n"; + html += "
  • \n"; $('#posts').append(html); $('#posts').data('last', msg.last); load = false; From 9542f76ce78a1cb50661fbae07ffa1d0a4b8aac4 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 1 Apr 2017 18:00:57 +0000 Subject: [PATCH 3/3] Revert "topkek" This reverts commit 8c3c84ce29bacef1dd0a30480285fd0e61d27d80 --- s/index.tpl.html | 2 +- s/item.tpl.html | 51 ++++++++++++++++++++++++++++++------------------ 2 files changed, 33 insertions(+), 20 deletions(-) diff --git a/s/index.tpl.html b/s/index.tpl.html index 715320c..010a344 100644 --- a/s/index.tpl.html +++ b/s/index.tpl.html @@ -9,7 +9,7 @@
      - {% for item in items %}
    • + {% for item in items %}
    • {% endfor %}
    diff --git a/s/item.tpl.html b/s/item.tpl.html index 4f752a9..1e5a304 100644 --- a/s/item.tpl.html +++ b/s/item.tpl.html @@ -20,26 +20,39 @@  | {% endif %}
    -
    -
    - {% if item == "image" || item == "audio" || item == "video" %} - - {% else %} -

    404 - Not f0cked

    - {% endif %} -
    -
    -
    - ID: {{ id }} | by: {{ username }}
    - src: {{ src }}
    - Download: {{ dest }}
    - mime: {{ mime }} 
    - size: {{ size }}
    - channel: {{ userchannel }}  - network: {{ usernetwork }}
    - timestamp: {{ timestamp }}
    - theme: +
    +
    + {% if item == "video" %} + + {% elseif item == "audio" %} + {% if thumb != null %} +
    +
    + {% endif %} + + {% if thumb != null %}
    + {% endif %} + {% elseif item == "image" %} + + {% else %} +

    404 - Not f0cked

    + {% endif %} +
    +
    + +
    + ID: {{ id }} | by: {{ username }}
    + src: {{ src }}
    + Download: {{ dest }}
    + mime: {{ mime }} 
    + size: {{ size }}
    + channel: {{ userchannel }}  + network: {{ usernetwork }}
    + timestamp: {{ timestamp }}
    + theme: +
    +