summaryrefslogtreecommitdiff
path: root/templates/packages/flag.html
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:56:56 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 14:49:44 -0500
commitd7d0b26593348e17fa85889c4adbf72c1680bc4c (patch)
treeecc9ac39f89c1e33dcf4a4bad0b92d9af109b918 /templates/packages/flag.html
parentb26e0d1fd66d7b74e3da5f1e62757401811b46ab (diff)
Redesigned flag page
* form accessibility * descriptive href titles * better semantics Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/flag.html')
-rw-r--r--templates/packages/flag.html56
1 files changed, 34 insertions, 22 deletions
diff --git a/templates/packages/flag.html b/templates/packages/flag.html
index 1071fdf8..1e85be89 100644
--- a/templates/packages/flag.html
+++ b/templates/packages/flag.html
@@ -2,28 +2,40 @@
{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
{% block content %}
-<div>
- {% if confirmed %}
- <p>Thank you. Maintainers have been notified.</p>
- {% else %}
- <p>If you notice that one of Arch's packages is out of date (ie, there is a
- newer <b>stable</b> release available), then please notify us using the
- form below.</p>
- <p>The message box portion of the flag utility is optional, and meant for
- short messages only. If you need more than 200 characters for your
- message, then file a bug report, email the maintainer directly, or send an
- email to the arch-general mailing list with your additional text.</p>
-
- <p><b>Note:</b> Please do <i>not</i> use this facility if the package is
- broken! Use the <a href='http://bugs.archlinux.org'>bug tracker</a>
- instead.</p>
+<div id="pkg-flag" class="box">
+{% if confirmed %}
+ <h2>Package Flagged</h2>
+
+ <p>Thank you, the maintainers have been notified about <strong>{{ pkg.pkgname }}</strong>.</p>
+
+ <p>You can return to the package details page for
+ <a href="{{ pkg.get_absolute_url }}" title="Package details for {{pkg.pkgname}}">{{pkg.pkgname}}</a>.</p>
+{% else %}
+ <h2>Flag Package: {{ pkg.pkgname }}</h2>
+
+ <p>If you notice a package is out of date (i.e., there is a newer
+ <strong>stable</strong> release available), then please notify us using
+ the form below.</p>
+
+ <p>The message box portion of the flag utility is optional, and meant
+ for short messages only. If you need more than 200 characters for your
+ message, then file a bug report, email the maintainer directly, or send
+ an email to the <a href="http://mailman.archlinux.org/mailman/listinfo/arch-general"
+ title="Visit the arch-general mailing list">arch-general mailing list</a>
+ with your additional text.</p>
+
+ <p><strong>Note:</strong> Please do <em>not</em> use this facility if the
+ package is broken! Use the <a href="http://bugs.archlinux.org"
+ title="Arch Linux Bugtracker">bug tracker</a> instead.</p>
+
<p>Please confirm your flag request for {{pkg.pkgname}}:</p>
- <form method="post" action=".">
- <table>
- {{form}}
- </table>
- <input type="submit" value=" Confirm " />
- </form>
- {% endif %}
+
+ <form id="flag-pkg-form" method="post" action=".">
+ <fieldset>
+ {{ form.as_p }}
+ </fieldset>
+ <p><label></label> <input title="Flag {{ pkg.pkgname }} as out-of-date" type="submit" value="Flag Package" /></p>
+ </form>
+{% endif %}
</div>
{% endblock %}