Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/templates/cache/partials/eviction_simulation.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<td title="{{ file.path }}">{{ file.filename }}</td>
<td class="text-muted">{{ file.size_display }}</td>
<td>
<span class="priority-badge {{ 'high' if file.priority_score >= 70 else 'medium' if file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if file.priority_score >= 90 else 'medium' if file.priority_score >= 70 else 'low' }}">
{{ file.priority_score }}
</span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion web/templates/cache/partials/file_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</td>
{% if eviction_enabled %}
<td>
<span class="priority-badge {{ 'high' if file.priority_score >= 70 else 'medium' if file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if file.priority_score >= 90 else 'medium' if file.priority_score >= 70 else 'low' }}">
{{ file.priority_score }}
</span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion web/templates/cache/partials/priorities_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h2>Item Priority Details</h2>
</span>
</td>
<td>
<span class="priority-badge {{ 'high' if file.priority_score >= 70 else 'medium' if file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if file.priority_score >= 90 else 'medium' if file.priority_score >= 70 else 'low' }}">
{{ file.priority_score }}
</span>
</td>
Expand Down
8 changes: 4 additions & 4 deletions web/templates/cache/partials/storage_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h2>Largest Items</h2>
</td>
{% if data.config.eviction_enabled %}
<td>
<span class="priority-badge {{ 'high' if file.priority_score >= 70 else 'medium' if file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if file.priority_score >= 90 else 'medium' if file.priority_score >= 70 else 'low' }}">
{{ file.priority_score }}
</span>
</td>
Expand Down Expand Up @@ -391,7 +391,7 @@ <h2>Oldest Cached Items</h2>
</td>
{% if data.config.eviction_enabled %}
<td>
<span class="priority-badge {{ 'high' if file.priority_score >= 70 else 'medium' if file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if file.priority_score >= 90 else 'medium' if file.priority_score >= 70 else 'low' }}">
{{ file.priority_score }}
</span>
</td>
Expand Down Expand Up @@ -467,7 +467,7 @@ <h2>Recently Cached</h2>
</td>
{% if data.config.eviction_enabled %}
<td>
<span class="priority-badge {{ 'high' if file.priority_score >= 70 else 'medium' if file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if file.priority_score >= 90 else 'medium' if file.priority_score >= 70 else 'low' }}">
{{ file.priority_score }}
</span>
</td>
Expand Down Expand Up @@ -546,7 +546,7 @@ <h2>Watchlist Expiring Soon</h2>
</td>
{% if data.config.eviction_enabled %}
<td>
<span class="priority-badge {{ 'high' if item.file.priority_score >= 70 else 'medium' if item.file.priority_score >= 40 else 'low' }}">
<span class="priority-badge {{ 'high' if item.file.priority_score >= 90 else 'medium' if item.file.priority_score >= 70 else 'low' }}">
{{ item.file.priority_score }}
</span>
</td>
Expand Down
Loading