aboutsummaryrefslogtreecommitdiff
path: root/app/templates/packages/editrequest_view.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-18 21:35:54 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-18 21:36:00 +0100
commit51a31b58b656e51d25537219d48cc3176109c374 (patch)
tree24264b92f31d462191f1ce8f2494c858f32ba1c8 /app/templates/packages/editrequest_view.html
parentec4461d0f79f2ac12cac643b65df9f9925ed5c53 (diff)
downloadcheatdb-51a31b58b656e51d25537219d48cc3176109c374.tar.xz
Improve alert box style
Diffstat (limited to 'app/templates/packages/editrequest_view.html')
-rw-r--r--app/templates/packages/editrequest_view.html50
1 files changed, 29 insertions, 21 deletions
diff --git a/app/templates/packages/editrequest_view.html b/app/templates/packages/editrequest_view.html
index 95d4674..a9e0d93 100644
--- a/app/templates/packages/editrequest_view.html
+++ b/app/templates/packages/editrequest_view.html
@@ -28,30 +28,38 @@
This edit request was rejected.
</div>
{% elif package.checkPerm(current_user, "APPROVE_CHANGES") %}
- <div class="box box_grey">
- <form method="post" action="{{ request.getApproveURL() }}">
- <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
- <input type="submit" value="Approve and Apply" />
- </form>
- <form method="post" action="{{ request.getRejectURL() }}">
- <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
- <input type="submit" value="Reject" />
- </form>
+ <div class="box box_grey alert">
+ Request can be merged.
+
+ <div class="alert_right">
+ <form method="post" action="{{ request.getApproveURL() }}">
+ <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
+ <input type="submit" value="Approve and Apply" />
+ </form>
+ <form method="post" action="{{ request.getRejectURL() }}">
+ <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
+ <input type="submit" value="Reject" />
+ </form>
+ </div>
</div>
{% endif %}
- <table>
- <tr>
- <th>Property</th>
- <th>Old</th>
- <th>New</th>
- </tr>
-
- {% for change in request.changes %}
+ <table class="fancyTable t-mll">
+ <thead>
<tr>
- <td>{{ change.key.value }}</td>
- <td>{{ change.oldValue }}</td>
- <td>{{ change.newValue }}</td>
+ <th>Property</th>
+ <th>Old</th>
+ <th>New</th>
</tr>
- {% endfor %}
+ </thead>
+ <tbody>
+ {% for change in request.changes %}
+ <tr>
+ <td>{{ change.key.value }}</td>
+ <td>{{ change.oldValue }}</td>
+ <td>{{ change.newValue }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
{% endblock %}