aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-23 22:29:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-28 21:46:41 +0300
commit8a094bb0481a9c53646cc15db2e8acecafc3d10c (patch)
tree4fd7012b6a26eb852d42fba8b52bfcf8f1cf2fdd /www
parent7e0e141273032c7afc1a9129512aa42c672fcf5d (diff)
Add basic support for CI request handling
Diffstat (limited to 'www')
-rw-r--r--www/ci-body.css22
-rw-r--r--www/ci.css3
-rw-r--r--www/ci.scss3
-rw-r--r--www/ci.xhtml26
4 files changed, 54 insertions, 0 deletions
diff --git a/www/ci-body.css b/www/ci-body.css
new file mode 100644
index 0000000..1403dbd
--- /dev/null
+++ b/www/ci-body.css
@@ -0,0 +1,22 @@
+/*
+ * CI request submission form (based on proplist and form-table)
+ */
+#ci
+{
+ margin-top: .8em;
+ margin-bottom: .8em;
+
+ padding-top: .4em;
+ padding-bottom: .4em;
+}
+
+#ci th
+{
+ width: 7.5em;
+}
+
+#ci input, #submit-padding
+{
+ width: 100%;
+ margin:0;
+}
diff --git a/www/ci.css b/www/ci.css
new file mode 100644
index 0000000..1ec2d9c
--- /dev/null
+++ b/www/ci.css
@@ -0,0 +1,3 @@
+@import url(common.css);
+@import url(brep-common.css);
+@import url(ci-body.css);
diff --git a/www/ci.scss b/www/ci.scss
new file mode 100644
index 0000000..395938e
--- /dev/null
+++ b/www/ci.scss
@@ -0,0 +1,3 @@
+@import "common";
+@import "brep-common";
+@import "ci-body";
diff --git a/www/ci.xhtml b/www/ci.xhtml
new file mode 100644
index 0000000..185f08b
--- /dev/null
+++ b/www/ci.xhtml
@@ -0,0 +1,26 @@
+<!-- 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">
+ <table id="ci" class="proplist">
+ <tbody>
+ <tr>
+ <th>repository</th>
+ <td><input type="text" name="repository" required=""/></td>
+ </tr>
+ <tr>
+ <th>package</th>
+ <td><input type="text" name="package"/></td>
+ </tr>
+ </tbody>
+ </table>
+ <table class="form-table">
+ <tbody>
+ <tr>
+ <td id="submit-padding"/>
+ <td><input type="submit" value="Submit"/></td>
+ </tr>
+ </tbody>
+ </table>
+</form>