summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-09-13 03:46:52 +0000
committerot <ot@localhost>2007-09-13 03:46:52 +0000
commitf1aa91d0fa4225a2e2f120d3534a757c49abe03a (patch)
treedd926fc57d6fc936818eb9a88573f8a259397607
parent39cb6663967f3ec38e15a622093d08a72bcda3d1 (diff)
downloadmarkup-validator-f1aa91d0fa4225a2e2f120d3534a757c49abe03a.zip
markup-validator-f1aa91d0fa4225a2e2f120d3534a757c49abe03a.tar.gz
markup-validator-f1aa91d0fa4225a2e2f120d3534a757c49abe03a.tar.bz2
basic styling for the instructions along the file upload box in results
-rw-r--r--htdocs/style/results.css9
-rw-r--r--share/templates/en_US/table.tmpl3
2 files changed, 10 insertions, 2 deletions
diff --git a/htdocs/style/results.css b/htdocs/style/results.css
index 1411a70..ae392e0 100644
--- a/htdocs/style/results.css
+++ b/htdocs/style/results.css
@@ -1,5 +1,5 @@
/* style sheet for the validator's results page */
-/* $Id: results.css,v 1.19 2007-06-06 19:26:42 ot Exp $ */
+/* $Id: results.css,v 1.20 2007-09-13 03:46:52 ot Exp $ */
div#results_container {
margin: 2em;
@@ -53,6 +53,13 @@ div#results_container ul.navbar li {
/* Various Bits of the Table Header */
/*
*/
+
+p.revalidate_instructions {
+ font-size: small;
+ font-style: italic;
+ margin: .5em .5em 0 1em;
+}
+
fieldset#revalidate_opts {
width: 100%;
margin: 0;
diff --git a/share/templates/en_US/table.tmpl b/share/templates/en_US/table.tmpl
index e5a9cfb..17be343 100644
--- a/share/templates/en_US/table.tmpl
+++ b/share/templates/en_US/table.tmpl
@@ -46,8 +46,9 @@
<TMPL_IF NAME="is_upload">
<th><label title="Choose a Local File to Upload and Validate" for="uploaded_file">File</label>:</th>
<td colspan="2">
- <p>If you wish to re-validate an uploaded file, please select it again here:</p>
+
<input type="file" id="uploaded_file" name="uploaded_file" size="30" />
+ <p class="revalidate_instructions">Use the file selection box above if you wish to re-validate the uploaded file <TMPL_VAR NAME="file_uri" ESCAPE="HTML"></p>
</td>
<TMPL_ELSE>