forked from rDrama/rDrama
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
commit
da44aab298
|
@ -45,6 +45,16 @@
|
||||||
<i class="fas fa-gift fa-fw mr-2" aria-hidden="true"></i>Gift Award
|
<i class="fas fa-gift fa-fw mr-2" aria-hidden="true"></i>Gift Award
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
<li id="unsave-{{c.id}}" class="hidden {% if c.id in v.saved_comment_idlist() %}md:block{% endif %}">
|
||||||
|
<button class="hover:text-gray-400" onclick="post_toast3('/unsave_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
||||||
|
<i class="fas fa-bookmark fa-fw mr-2"></i>Unsave
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
<li id="save-{{c.id}}" class="hidden {% if c.id not in v.saved_comment_idlist() %}md:block{% endif %}">
|
||||||
|
<button class="hover:text-gray-400" onclick="post_toast3('/save_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
||||||
|
<i class="far fa-bookmark fa-fw mr-2"></i>Save
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li class="hidden md:block">
|
<li class="hidden md:block">
|
||||||
|
@ -79,22 +89,7 @@
|
||||||
<i class="fas fa-book-open fa-sm fa-fw mr-4"></i>Context
|
<i class="fas fa-book-open fa-sm fa-fw mr-4"></i>Context
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if v %}
|
|
||||||
<li id="unsave-{{c.id}}" class="hidden {% if c.id in v.saved_comment_idlist() %}md:block{% endif %}">
|
|
||||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast3('/unsave_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
|
||||||
<i class="fas fa-bookmark fa-sm fa-fw mr-4"></i>Unsave
|
|
||||||
</button>
|
|
||||||
</li>
|
|
||||||
<li id="save-{{c.id}}" class="hidden {% if c.id not in v.saved_comment_idlist() %}md:block{% endif %}">
|
|
||||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast3('/save_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
|
||||||
<i class="far fa-bookmark fa-sm fa-fw mr-4"></i>Save
|
|
||||||
</button>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% if v and c.parent_submission and c.author_id==v.id %}
|
{% if v and c.parent_submission and c.author_id==v.id %}
|
||||||
<li>
|
|
||||||
<hr class="mt-2 mb-1.5 border-t border-black h-1 shadow-inset-t-white-05"/>
|
|
||||||
</li>
|
|
||||||
<li class="hidden md:block">
|
<li class="hidden md:block">
|
||||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="toggleEdit('{{c.id}}')">
|
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="toggleEdit('{{c.id}}')">
|
||||||
<i class="fas fa-edit fa-sm fa-fw mr-4"></i>Edit
|
<i class="fas fa-edit fa-sm fa-fw mr-4"></i>Edit
|
||||||
|
|
|
@ -59,6 +59,16 @@
|
||||||
<i class="fas fa-bell-slash fa-fw mr-2"></i>Unsubscribe
|
<i class="fas fa-bell-slash fa-fw mr-2"></i>Unsubscribe
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
<li id="save-{{p.id}}" class="{% if p.id in v.saved_idlist() %}hidden{% endif %}">
|
||||||
|
<button class="hover:text-gray-400" onclick="post_toast2('/save_post/{{p.id}}','save-{{p.id}}','unsave-{{p.id}}')">
|
||||||
|
<i class="far fa-bookmark fa-fw mr-2"></i>Save
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
<li id="unsave-{{p.id}}" class="{% if not p.id in v.saved_idlist() %}hidden{% endif %}">
|
||||||
|
<button class="hover:text-gray-400" onclick="post_toast2('/unsave_post/{{p.id}}','save-{{p.id}}','unsave-{{p.id}}')">
|
||||||
|
<i class="fas fa-bookmark fa-fw mr-2"></i>Unsave
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- Does not require auth -->
|
<!-- Does not require auth -->
|
||||||
<li class="hidden md:inline-block">
|
<li class="hidden md:inline-block">
|
||||||
|
@ -83,24 +93,8 @@
|
||||||
<i class="fas fa-link fa-sm fa-fw mr-4"></i>Copy link
|
<i class="fas fa-link fa-sm fa-fw mr-4"></i>Copy link
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<!-- Requies auth -->
|
|
||||||
{% if v %}
|
|
||||||
<li id="save-{{p.id}}" class="{% if p.id in v.saved_idlist() %}hidden{% endif %}">
|
|
||||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast2('/save_post/{{p.id}}','save-{{p.id}}','unsave-{{p.id}}')">
|
|
||||||
<i class="far fa-bookmark fa-sm fa-fw mr-4"></i>Save
|
|
||||||
</button>
|
|
||||||
</li>
|
|
||||||
<li id="unsave-{{p.id}}" class="{% if not p.id in v.saved_idlist() %}hidden{% endif %}">
|
|
||||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast2('/unsave_post/{{p.id}}','save-{{p.id}}','unsave-{{p.id}}')">
|
|
||||||
<i class="fas fa-bookmark fa-sm fa-fw mr-4"></i>Unsave
|
|
||||||
</button>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
<!-- Requires author -->
|
<!-- Requires author -->
|
||||||
{% if v and v.id==p.author_id %}
|
{% if v and v.id==p.author_id %}
|
||||||
<li>
|
|
||||||
<hr class="mt-2 mb-1.5 border-t border-black h-1 shadow-inset-t-white-05"/>
|
|
||||||
</li>
|
|
||||||
<li id="pin-profile-{{p.id}}" class="{% if p.is_stickied %}hidden{% endif %}">
|
<li id="pin-profile-{{p.id}}" class="{% if p.is_stickied %}hidden{% endif %}">
|
||||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast2('/pin/{{p.id}}','unpin-profile-{{p.id}}','pin-profile-{{p.id}}')">
|
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast2('/pin/{{p.id}}','unpin-profile-{{p.id}}','pin-profile-{{p.id}}')">
|
||||||
<i class="fas fa-thumbtack fa-rotate--45 fa-sm fa-fw mr-4"></i>Pin to profile
|
<i class="fas fa-thumbtack fa-rotate--45 fa-sm fa-fw mr-4"></i>Pin to profile
|
||||||
|
|
Loading…
Reference in New Issue