diff --git a/scipost/templates/scipost/base.html b/scipost/templates/scipost/base.html index 2bedef9de0857fbfb823f74ed24c21783a37cd06..a4a02ad1a4be7fdf9c7a19399ecf9a11ee9fbebb 100644 --- a/scipost/templates/scipost/base.html +++ b/scipost/templates/scipost/base.html @@ -31,8 +31,9 @@ {% block bodysup %} {% endblock bodysup %} - {% block content %} - {% endblock content %} + <div class="container"> + {% block content %}{% endblock content %} + </div> {% include 'scipost/footer.html' %} diff --git a/theses/templates/theses/unvetted_thesislinks.html b/theses/templates/theses/unvetted_thesislinks.html index f2245e0a6f698670eb439883a4483b8eea19d28c..6846720a4d81155ee3d888a68a48187bc4df8ad8 100644 --- a/theses/templates/theses/unvetted_thesislinks.html +++ b/theses/templates/theses/unvetted_thesislinks.html @@ -6,21 +6,23 @@ {% endblock headsup %} -{% block bodysup %} +{% block content %} - -<h1>Unvetted Thesis Links</h1> -<ul> - {% for thesislink in thesislinks %} - <li> - {{ thesislink.author }} - {{ thesislink.title }} - - <a href = "{% url 'theses:vet_thesislink' pk=thesislink.id %}">vet</a> - </li> - {% empty %} - <li> - No unvetted thesis links. - </li> - {% endfor %} -</ul> - -{% endblock bodysup %} +<div class="row"> + <div class="col-12"> + <h1>Unvetted Thesis Links</h1> + <ul> + {% for thesislink in thesislinks %} + <li> + {{ thesislink.author }} - {{ thesislink.title }} - + <a href = "{% url 'theses:vet_thesislink' pk=thesislink.id %}">vet</a> + </li> + {% empty %} + <li> + No unvetted thesis links. + </li> + {% endfor %} + </ul> + </div> +</div> +{% endblock content %} diff --git a/theses/templates/theses/vet_thesislink.html b/theses/templates/theses/vet_thesislink.html index 3694c92f0f94b02e57dd15fb4102e2ff4dbba7df..8822dfff11c61f69a0a0ded2b8e5ea12b0004f33 100644 --- a/theses/templates/theses/vet_thesislink.html +++ b/theses/templates/theses/vet_thesislink.html @@ -1,16 +1,22 @@ {% extends 'scipost/base.html' %} +{% load bootstrap %} + {% block pagetitle %}: Unvetted Thesis Links{% endblock pagetitle %} {% block headsup %} {% endblock headsup %} -{% block bodysup %} +{% block content %} -<form action="" method="post">{% csrf_token %} - {{ form.as_p }} - <input type="submit" value="Update" /> -</form> +<div class="row"> + <div class="col-12"> + <form action="" method="post">{% csrf_token %} + {{ form|bootstrap }} + <input class="btn btn-primary" type="submit" value="Update" /> + </form> + </div> +</div> -{% endblock bodysup %} +{% endblock content %}