Skip to content

Commit 872222d

Browse files
committed
Add status legend to Prowlarr UI for improved indexer status visibility
- Introduced a new status legend in the home section to display the current status of indexers, including 'Active', 'Throttled', and 'Failed'. - Enhanced the styling of the legend for better visual clarity and organization. - Updated responsive design for legend items to ensure usability on mobile devices.
1 parent da344a3 commit 872222d

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

frontend/templates/components/home_section.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,39 @@ <h3><i class="fas fa-download"></i> Swaparr Status</h3>
734734
color: var(--text-tertiary);
735735
}
736736

737+
/* Status Legend */
738+
.prowlarr-legend {
739+
margin-top: 15px;
740+
padding: 12px 15px;
741+
background-color: rgba(16, 20, 28, 0.6);
742+
border-radius: 6px;
743+
border: 1px solid rgba(90, 109, 137, 0.1);
744+
}
745+
746+
.legend-title {
747+
font-size: 0.85em;
748+
font-weight: 600;
749+
color: var(--text-primary);
750+
margin-bottom: 8px;
751+
}
752+
753+
.legend-items {
754+
display: flex;
755+
flex-wrap: wrap;
756+
gap: 15px;
757+
}
758+
759+
.legend-item {
760+
display: flex;
761+
align-items: center;
762+
gap: 8px;
763+
}
764+
765+
.legend-description {
766+
font-size: 0.75em;
767+
color: var(--text-secondary);
768+
}
769+
737770
/* Mobile responsive */
738771
@media (max-width: 768px) {
739772
.prowlarr-subcards {
@@ -749,6 +782,15 @@ <h3><i class="fas fa-download"></i> Swaparr Status</h3>
749782
.indexers-list {
750783
max-height: 150px;
751784
}
785+
786+
.legend-items {
787+
flex-direction: column;
788+
gap: 8px;
789+
}
790+
791+
.legend-item {
792+
justify-content: center;
793+
}
752794
}
753795
</style>
754796

@@ -795,6 +837,25 @@ <h5><i class="fas fa-clock"></i> Statistics</h5>
795837
</div>
796838
</div>
797839
</div>
840+
841+
<!-- Status Legend -->
842+
<div class="prowlarr-legend">
843+
<div class="legend-title">Status Legend:</div>
844+
<div class="legend-items">
845+
<div class="legend-item">
846+
<span class="indexer-status active">Active</span>
847+
<span class="legend-description">Indexer is working normally</span>
848+
</div>
849+
<div class="legend-item">
850+
<span class="indexer-status throttled">Throttled</span>
851+
<span class="legend-description">Rate limited - reduce search frequency</span>
852+
</div>
853+
<div class="legend-item">
854+
<span class="indexer-status failed">Failed</span>
855+
<span class="legend-description">Disabled or not responding</span>
856+
</div>
857+
</div>
858+
</div>
798859
</div>
799860

800861
</div>

0 commit comments

Comments
 (0)