Updated ui slightly

This commit is contained in:
Alex Janousek
2026-02-16 10:49:33 -05:00
parent f7a6f213dd
commit 58a2162f51
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{% macro browse_list(items) %} {% macro browse_list(items) %}
{% if items %} {% if items %}
<nav class="browse-list"> <nav class="browse-list">
<ul> <ul class="usa-list usa-list--unstyled">
{% for item in items %} {% for item in items %}
{% if item.title and item.link %} {% if item.title and item.link %}
<li class="browse-list-item"> <li class="browse-list-item">

View File

@@ -15,14 +15,14 @@
</h2> </h2>
</div> </div>
<div class="grid-col-9 margin-top-1"> <div class="grid-col-9 margin-top-1">
<ul> <ul class="usa-list usa-list--unstyled">
{% else %} {% else %}
<ul> <ul class="usa-list usa-list--unstyled">
{% endif %} {% endif %}
{% for org in organizations|sort %} {% for org in organizations|sort %}
<li class="browse-list-item margin-y-2"> <li class="browse-list-item margin-y-2">
<a href="{{ url_for('.organization_dashboard', org_id=org.id) }}" class="usa-link">{{ org.name }}</a> <a href="{{ url_for('.organization_dashboard', org_id=org.id) }}" class="usa-link">{{ org.name }}</a>
<p class="browse-list-hint"> <p class="browse-list-hint margin-top-05 margin-bottom-0 text-base font-body-xs">
{{ org.count_of_live_services }} {{ org.count_of_live_services }}
live service{% if org.count_of_live_services != 1 %}s{% endif %} live service{% if org.count_of_live_services != 1 %}s{% endif %}
</p> </p>
@@ -62,10 +62,10 @@
Platform admin Platform admin
</h2> </h2>
</div> </div>
<ul class="grid-col-9 margin-top-3"> <ul class="usa-list usa-list--unstyled grid-col-9 margin-top-3">
<li class="browse-list-item"> <li class="browse-list-item margin-y-2">
<a href="{{ url_for('.organizations') }}" class="usa-link">All organizations</a> <a href="{{ url_for('.organizations') }}" class="usa-link">All organizations</a>
<p class="browse-list-hint"> <p class="browse-list-hint margin-top-05 margin-bottom-0 text-base font-body-xs">
{{ org_count|format_thousands }} organizations, {{ live_service_count|format_thousands }} live services {{ org_count|format_thousands }} organizations, {{ live_service_count|format_thousands }} live services
</p> </p>
</li> </li>