From 3ad35832835fa0554b6fa28b74e9b7d21283392b Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 16 Mar 2023 18:37:12 +0900 Subject: Listen on Unix socket instead of TCP --- eg/hybring.conf | 14 ++++++++++++++ eg/style.css | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 eg/hybring.conf create mode 100644 eg/style.css (limited to 'eg') 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; +} -- cgit 1.4.1