Skip to content

Commit

Permalink
Fix incorrect no resources text colour
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed May 23, 2023
1 parent c1f8b89 commit 8da3767
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 7 deletions.
23 changes: 20 additions & 3 deletions upload/custom/templates/DefaultRevamp/resources/category.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,26 @@
{$PAGINATION}

{else}
<p style="color: white;">
{$NO_RESOURCES}
</p>
<table class="ui fixed single line selectable unstackable small padded res table" id="resources">
<thead>
<tr>
<th class="nine wide">
<h4>{$RESOURCE}</h4>
</th>
<th class="three wide">
<h4>{$STATS}</h4>
</th>
<th class="five wide">
<h4>{$AUTHOR}</h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3">{$NO_RESOURCES}</td>
</tr>
</tbody>
</table>
{/if}
</div>
<div class="four wide column">
Expand Down
25 changes: 21 additions & 4 deletions upload/custom/templates/DefaultRevamp/resources/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

{if $LATEST_RESOURCES}

<table class="ui fixed single line selectable unstackable small padded res table" id="sticky-threads">
<table class="ui fixed single line selectable unstackable small padded res table" id="resources">
<thead>
<tr>
<th class="nine wide">
Expand Down Expand Up @@ -98,9 +98,26 @@
{$PAGINATION}

{else}
<p style="color: white;">
{$NO_RESOURCES}
</p>
<table class="ui fixed single line selectable unstackable small padded res table" id="resources">
<thead>
<tr>
<th class="nine wide">
<h4>{$RESOURCE}</h4>
</th>
<th class="three wide">
<h4>{$STATS}</h4>
</th>
<th class="five wide">
<h4>{$AUTHOR}</h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3">{$NO_RESOURCES}</td>
</tr>
</tbody>
</table>
{/if}
</div>
<div class="four wide column">
Expand Down

0 comments on commit 8da3767

Please sign in to comment.