forked from rDrama/rDrama
fix
parent
2fe96da2b8
commit
2bf5dd21c8
|
@ -8,32 +8,32 @@
|
|||
</div>
|
||||
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
|
||||
<h2 class="ml-2 font-bold text-lg font-heading leading-normal mb-2">Recent Mod Activity</h2>
|
||||
<ul class="flex flex-col divide-y space-y-2 mb-0">
|
||||
{% for ma in actions %}
|
||||
<div id="action-{{ma.id}}" class="position-relative d-flex justify-content-between flex-wrap align-items-center h-min-16 px-3 py-3 mb-3 mb-md-2 bg-white{% if loop.index > 1 %} border-top{% endif %}">
|
||||
<li id="action-{{ma.id}}" class="relative flex items-center">
|
||||
|
||||
<div class="d-flex flex-grow-1 align-items-center">
|
||||
<div class="d-flex align-items-center justify-content-center {{ma.color}} mr-3 rounded-lg flex-shrink-0" style="width: 32px;height: 32px;"><i class="far text-center {{ma.icon}} text-lg text-white fa-fw"></i></div>
|
||||
<div class="d-flex align-items-center">
|
||||
<span class="rounded">
|
||||
<img src="{{ma.user.profile_url}}" alt="avatar" width=42 height=42 class="rounded-circle">
|
||||
</span>
|
||||
<div class="text-muted pl-3">
|
||||
<div>
|
||||
<a href="{{ma.user.url}}" class="font-weight-bold text-black" target="_self">@{{ma.user.username}}</a>
|
||||
<div class="d-flex flex-grow-1 align-items-center">
|
||||
<div class="d-flex align-items-center justify-content-center {{ma.color}} mr-3 rounded-lg flex-shrink-0" style="width: 32px;height: 32px;"><i class="far text-center {{ma.icon}} text-lg text-white fa-fw"></i></div>
|
||||
<div class="d-flex align-items-center">
|
||||
<span class="rounded">
|
||||
<img src="{{ma.user.profile_url}}" alt="avatar" width=42 height=42 class="rounded-circle">
|
||||
</span>
|
||||
<div class="text-muted pl-3">
|
||||
<div>
|
||||
<a href="{{ma.user.url}}" class="font-weight-bold text-black" target="_self">@{{ma.user.username}}</a>
|
||||
|
||||
<span>{{ma.string | safe}}</span>
|
||||
</div>
|
||||
|
||||
<div class="text-gray-500">{{ma.age_string}} <a href="{{ma.permalink}}"><i class="far fa-link ml-1 text-muted"></i></a>
|
||||
<a href="javascript:void(0)" class="copy-link" role="button"data-clipboard-text="{{ma.permalink | full_link}}"><i class="far fa-copy ml-1 text-muted"></i></a>
|
||||
</div>
|
||||
|
||||
<span>{{ma.string | safe}}</span>
|
||||
</div>
|
||||
|
||||
<div class="text-gray-500">{{ma.age_string}} <a href="{{ma.permalink}}"><i class="far fa-link ml-1 text-muted"></i></a>
|
||||
<a href="javascript:void(0)" class="copy-link" role="button"data-clipboard-text="{{ma.permalink | full_link}}"><i class="far fa-copy ml-1 text-muted"></i></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
<div class="py-4 text-center">
|
||||
<i class="block fas fa-ghost text-lg text-gray-400 dark:text-gray-700"></i>
|
||||
|
|
Loading…
Reference in New Issue