summary refs log tree commit diff homepage
path: root/eg
diff options
context:
space:
mode:
Diffstat (limited to 'eg')
-rw-r--r--eg/hybring.conf14
-rw-r--r--eg/style.css22
2 files changed, 36 insertions, 0 deletions
diff --git a/eg/hybring.conf b/eg/hybring.conf
new file mode 100644
index 0000000..0d202a0
--- /dev/null
+++ b/eg/hybring.conf
@@ -0,0 +1,14 @@
+[general]
+sock = hybring.sock
+db = db.sqlite
+css = style.css
+
+[opennic]
+local = opennic
+remote = http://0.0.0.0:8910/
+api = join
+
+[icann]
+local = icann
+remote = http://127.0.0.1:8910/
+api = join
diff --git a/eg/style.css b/eg/style.css
new file mode 100644
index 0000000..5a109e6
--- /dev/null
+++ b/eg/style.css
@@ -0,0 +1,22 @@
+html {
+    margin: auto;
+    max-width: 72ch;
+}
+body { margin-bottom: 2rem }
+h1, h2, h3, h4, h5, h6 { margin: 1ex 0 }
+a { text-decoration: none }
+a:hover { text-decoration: underline }
+form {
+    display: grid;
+    grid-template-columns: max-content 1fr 0;
+}
+form input { margin-bottom: 1ex }
+form label {
+    align-self: center;
+    margin-right: 1ch;
+}
+form label.error {
+  color: ActiveText;
+  margin-top: -1ex;
+  margin-bottom: 1ex;
+}