ui: add problem_search snippet for homepage

This commit is contained in:
undefined committed 2022-04-01 01:00:20 +08:00
1 parent 4b1916d324
commit 7777ba9999
2 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.34.28",
"version": "4.34.29",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -0,0 +1,13 @@
<div class="section side">
<div class="section__header">
<h1 class="section__title">{{ _('Search') }}</h1>
</div>
<form method="get" action="p">
<div class="section__body">
<label>
<input name="q" type="text" class="textbox" value="" placeholder="1001">
</label>
<button type="submit" class="primary button">{{ _('Search') }}</button>
</div>
</form>
</div>