aboutsummaryrefslogtreecommitdiff
path: root/index.htm.tmpl
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-12-02 00:00:12 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-12-02 00:00:12 +0100
commitf982fb95044581435e31c765487b45d5ee963519 (patch)
tree5bc5a4e47612959e00464d0f77bc622a841770d3 /index.htm.tmpl
parent262c4593ac6df668ed4d4d899c68a256fb237214 (diff)
downloadarfnet2-search-f982fb95044581435e31c765487b45d5ee963519.tar.gz
arfnet2-search-f982fb95044581435e31c765487b45d5ee963519.zip
search actually working :D
Diffstat (limited to 'index.htm.tmpl')
-rw-r--r--index.htm.tmpl20
1 files changed, 16 insertions, 4 deletions
diff --git a/index.htm.tmpl b/index.htm.tmpl
index 1443aa0..fd21578 100644
--- a/index.htm.tmpl
+++ b/index.htm.tmpl
@@ -13,19 +13,16 @@
display: block;
}
-/* Style the form - display items horizontally */
.form-inline {
display: flex;
flex-flow: row wrap;
align-items: center;
}
-/* Add some margins for each label */
.form-inline label {
}
-/* Style the input fields */
.form-inline input {
flex-grow: 1;
vertical-align: middle;
@@ -37,6 +34,20 @@
border: none;
}
+.result {
+ margin-left: 1em;
+ margin-bottom: 1em;
+}
+
+.name {
+ font-weight: bold;
+ font-size: 16pt;
+ margin: 0;
+}
+
+.path {
+
+}
</style>
</head>
@@ -50,10 +61,11 @@
<p>Search all of the ARFNET content fast</p>
<div class="box">
<form class="form-inline" action="/query" method="get">
- <input class="input" type="text" name="query">
+ <input class="input" type="text" name="query" value="%s">
<button type="submit">Search</button>
</form>
</div>
+ %s
</main>
</body>
</html>