-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from RSE-Sheffield/ui/icons-consistent
UI/icons consistent
- Loading branch information
Showing
15 changed files
with
80 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -272,7 +272,6 @@ | |
</div> | ||
{/if} | ||
|
||
|
||
<div class="form-check form-switch mb-3"> | ||
<label class="form-label"> | ||
Required | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<form method="get" action="{{ search_url }}" class="d-flex gap-2"> | ||
{% for key, value in current_params.items %} | ||
{% if key != 'q' and key != 'page' %} | ||
<input type="hidden" name="{{ key }}" value="{{ value }}"> | ||
<form method="get" action="{{ search_url }}" class="d-flex gap-2"> | ||
{% for key, value in current_params.items %} | ||
{% if key != 'q' and key != 'page' %} | ||
<input type="hidden" name="{{ key }}" value="{{ value }}"> | ||
{% endif %} | ||
{% endfor %} | ||
{{ search_form.q }} | ||
<button type="submit" class="btn btn-primary"><div class="d-flex flex-row align-items-center"><i class="bx bxs-search"></i> Search</div></button> | ||
{% if current_search %} | ||
<a href="{{ search_url }}" class="btn btn-light border"><div class="d-flex flex-row align-items-center"><i class="bx bxs-x-circle"></i> Clear</div></a> | ||
{% endif %} | ||
{% endfor %} | ||
{{ search_form.q }} | ||
<button type="submit" class="btn btn-primary">Search</button> | ||
{% if current_search %} | ||
<a href="{{ search_url }}" class="btn btn-outline-secondary">Clear</a> | ||
{% endif %} | ||
</form> | ||
</form> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,4 +112,4 @@ h1, h2, h3, h4, h5, h6 { | |
|
||
.form-control { | ||
padding: 0.375rem 0.75rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
{% load static %} | ||
{% load django_bootstrap5 %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title> | ||
{% block title %}SORT{% endblock %} | ||
</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/boxicons.min.css" | ||
rel="stylesheet"> | ||
<link href="{% static 'css/base.css' %}" rel="stylesheet"> | ||
<link href="{% static 'css/utilities.css' %}" rel="stylesheet"> | ||
{% block extra_css %}{% endblock %} | ||
</head> | ||
<body> | ||
{% block navitems %}<!-- Content here -->{% endblock %} | ||
<main> | ||
<div class="card-body"> | ||
{% if messages %} | ||
{% for message in messages %} | ||
{% if message.tags == 'success' %} | ||
<div class="text-center alert alert-success" role="alert">{{ message }}</div> | ||
{% endif %} | ||
{% if message.tags == 'error' %} | ||
<div class="text-center alert alert-danger" role="alert">{{ message }}</div> | ||
{% elif message.tags == 'warning' %} | ||
<div class="text-center alert alert-warning" role="alert">{{ message }}</div> | ||
{% elif message.tags == 'info' %} | ||
<div class="text-center alert alert-info" role="alert">{{ message }}</div> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% block content %}<!-- Content here -->{% endblock %} | ||
</div> | ||
</main> | ||
|
||
{% include 'footer.html' %} | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | ||
</body> | ||
</html> | ||
{% load static %} | ||
{% load django_bootstrap5 %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title> | ||
{% block title %}SORT{% endblock %} | ||
</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/boxicons.min.css" | ||
rel="stylesheet"> | ||
<link href="{% static 'css/base.css' %}" rel="stylesheet"> | ||
<link href="{% static 'css/utilities.css' %}" rel="stylesheet"> | ||
{% block extra_css %}{% endblock %} | ||
</head> | ||
<body> | ||
{% block navitems %}<!-- Content here -->{% endblock %} | ||
<main> | ||
<div class="card-body"> | ||
{% if messages %} | ||
{% for message in messages %} | ||
{% if message.tags == 'success' %} | ||
<div class="text-center alert alert-success" role="alert">{{ message }}</div> | ||
{% endif %} | ||
{% if message.tags == 'error' %} | ||
<div class="text-center alert alert-danger" role="alert">{{ message }}</div> | ||
{% elif message.tags == 'warning' %} | ||
<div class="text-center alert alert-warning" role="alert">{{ message }}</div> | ||
{% elif message.tags == 'info' %} | ||
<div class="text-center alert alert-info" role="alert">{{ message }}</div> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% block content %}<!-- Content here -->{% endblock %} | ||
</div> | ||
</main> | ||
|
||
{% include 'footer.html' %} | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters