Skip to content

Commit

Permalink
Merge pull request #463 from scidsg/post-tf-changes
Browse files Browse the repository at this point in the history
Update type
  • Loading branch information
glenn-sorrentino authored Jul 27, 2024
2 parents f53dbb1 + 8edb94e commit e98de74
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
2 changes: 1 addition & 1 deletion hushline/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
--font-size-3: 1.5rem;
--font-size-4: 1.125rem;

--line-height-base: 1.5;
--line-height-base: 1.40625;
}

@font-face {
Expand Down
37 changes: 20 additions & 17 deletions hushline/templates/directory.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,24 @@
{% block content %}
<h2>User Directory</h2>
{% if not is_personal_server %}
{% if not logged_in %}
<p class="helper section-intro">👋 Hush Line connects whistleblowers with lawyers, journalists, business leaders,
and more. <mark class="highlight">We advise speaking to a legal professional before taking any confidential information from your workplace.</mark></p>
{% endif %}
<div class="directory-tabs">
<ul class="tab-list" role="tablist">
<li role="presentation">
<button type="button" class="tab active" data-tab="verified" role="tab" aria-selected="true"
aria-controls="verified" id="verified-tab">Verified</button>
</li>
<li role="presentation">
<button type="button" class="tab" data-tab="all" role="tab" aria-selected="false" aria-controls="all"
id="all-tab">All</button>
</li>
</ul>
</div>
{% if not logged_in %}
<p class="helper section-intro">👋 Hush Line connects anonymous whistleblowers with lawyers, journalists, business
leaders, and more. We advise speaking to a legal professional before taking any confidential information from your
workplace.
</p>
{% endif %}
<div class="directory-tabs">
<ul class="tab-list" role="tablist">
<li role="presentation">
<button type="button" class="tab active" data-tab="verified" role="tab" aria-selected="true"
aria-controls="verified" id="verified-tab">Verified</button>
</li>
<li role="presentation">
<button type="button" class="tab" data-tab="all" role="tab" aria-selected="false" aria-controls="all"
id="all-tab">All</button>
</li>
</ul>
</div>
{% endif %}
<div class="search-box">
<label id="searchIcon" for="searchInput" aria-label="Search users">
Expand Down Expand Up @@ -72,7 +74,8 @@ <h3>{{ user.display_name or user.primary_username }}</h3>
</div>
</div>
{% endif %}
<div id="all" class="tab-content {% if is_personal_server %}active{% endif %}" role="tabpanel" aria-labelledby="all-users-tab">
<div id="all" class="tab-content {% if is_personal_server %}active{% endif %}" role="tabpanel"
aria-labelledby="all-users-tab">
<div class="user-list">
{% for user in users %}
{% if user.show_in_directory %}
Expand Down
2 changes: 1 addition & 1 deletion hushline/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.13"
__version__ = "0.1.14"

0 comments on commit e98de74

Please sign in to comment.