aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-21 22:42:02 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-21 22:42:02 +0100
commit5b056e8aabe9e6a8e003cbd24ed71e8a0f9de6ed (patch)
tree46ca3d91fc9a769495eab9265789be8ea9d1e531 /app/templates/users
parent4841c66602b0fdc35a78d6335583fd1d8f3e1dad (diff)
downloadcheatdb-5b056e8aabe9e6a8e003cbd24ed71e8a0f9de6ed.tar.xz
Fix .box spacing issues
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/user_profile_page.html34
1 files changed, 18 insertions, 16 deletions
diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html
index e4f9ff0..e5bd127 100644
--- a/app/templates/users/user_profile_page.html
+++ b/app/templates/users/user_profile_page.html
@@ -9,7 +9,7 @@
<div class="box box_grey">
<h2>{{ user.display_name }}</h2>
- <table>
+ <table class="box-body">
<tr>
<td>Rank:</td>
<td>
@@ -47,20 +47,22 @@
<div class="box box_grey">
<h2>Packages</h2>
- <ul>
- {% for p in user.packages %}
- <li><a href="{{ p.getDetailsURL() }}">
- {{ p.title }} by {{ p.author.display_name }}
- </a></li>
- {% else %}
- <li><i>No packages available</i></ul>
- {% endfor %}
- </ul>
- {% if user == current_user or user.checkPerm(current_user, "CHANGE_AUTHOR") %}
- <p><a class="button" href="{{ url_for('create_edit_package_page', author=user.username) }}">
- Create
- </a></p>
- {% endif %}
+ <div class="box-body">
+ <ul>
+ {% for p in user.packages %}
+ <li><a href="{{ p.getDetailsURL() }}">
+ {{ p.title }} by {{ p.author.display_name }}
+ </a></li>
+ {% else %}
+ <li><i>No packages available</i></ul>
+ {% endfor %}
+ </ul>
+ {% if user == current_user or user.checkPerm(current_user, "CHANGE_AUTHOR") %}
+ <p><a class="button" href="{{ url_for('create_edit_package_page', author=user.username) }}">
+ Create
+ </a></p>
+ {% endif %}
+ </div>
</div>
{% if form %}
@@ -68,7 +70,7 @@
<div class="box box_grey">
<h2>Edit Details</h2>
- <form action="" method="POST" class="form" role="form">
+ <form action="" method="POST" class="form box-body" role="form">
<div class="row">
<div class="col-sm-6 col-md-5 col-lg-4">
{{ form.hidden_tag() }}