diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/buildfile | 6 | ||||
-rw-r--r-- | www/submit-body.css | 22 | ||||
-rw-r--r-- | www/submit.css | 3 | ||||
-rw-r--r-- | www/submit.scss | 3 | ||||
-rw-r--r-- | www/submit.xhtml | 25 |
5 files changed, 58 insertions, 1 deletions
diff --git a/www/buildfile b/www/buildfile index eebac99..964851a 100644 --- a/www/buildfile +++ b/www/buildfile @@ -10,4 +10,8 @@ define scss: file scss{*}: extension = scss scss{*}: install = data/www/ -./: css{*} scss{*} +define xhtml: file +xhtml{*}: extension = xhtml +xhtml{*}: install = data/www/ + +./: css{*} scss{*} xhtml{*} diff --git a/www/submit-body.css b/www/submit-body.css new file mode 100644 index 0000000..0cb86d1 --- /dev/null +++ b/www/submit-body.css @@ -0,0 +1,22 @@ +/* + * Package archive submission form (based on proplist and form-table) + */ +#submit +{ + margin-top: .8em; + margin-bottom: .8em; + + padding-top: .4em; + padding-bottom: .4em; +} + +#submit th +{ + width: 5.7em; +} + +#submit input +{ + width: 100%; + margin:0; +} diff --git a/www/submit.css b/www/submit.css new file mode 100644 index 0000000..6bab4a4 --- /dev/null +++ b/www/submit.css @@ -0,0 +1,3 @@ +@import url(common.css); +@import url(brep-common.css); +@import url(submit-body.css); diff --git a/www/submit.scss b/www/submit.scss new file mode 100644 index 0000000..3a42ad6 --- /dev/null +++ b/www/submit.scss @@ -0,0 +1,3 @@ +@import "common"; +@import "brep-common"; +@import "submit-body"; diff --git a/www/submit.xhtml b/www/submit.xhtml new file mode 100644 index 0000000..f222b1f --- /dev/null +++ b/www/submit.xhtml @@ -0,0 +1,25 @@ +<!-- Note that in HTML5 the boolean attribute absence represents false value, + true otherwise. If it is present then the value must be empty or + case-insensitively match the attribute's name. --> + +<form method="post" enctype="multipart/form-data"> + <table id="submit" class="proplist"> + <tbody> + <tr> + <th>archive</th> + <td> + <input type="file" + name="archive" + accept=".tar.gz" + required="" + autofocus=""/> + </td> + </tr> + <tr> + <th>sha256</th> + <td><input type="text" name="sha256sum" required=""/></td> + </tr> + </tbody> + </table> + <div><input type="submit" value="Submit"/></div> +</form> |