|
@@ -1,3 +1,4 @@
|
|
|
+% from rest.tool_color import color
|
|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
<head>
|
|
@@ -33,17 +34,18 @@ form {
|
|
|
}
|
|
|
</style>
|
|
|
<title>{{tool.title()}}</title>
|
|
|
+ <link rel="manifest" href="/static/{{tool}}-manifest.json"/>
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@2.1.0/build/pure-min.css" integrity="sha384-yHIFVG6ClnONEA5yB5DJXfW2/KC173DIQrYoZMEtBvGzmf0PKiGyNEqe9N6BNDBH" crossorigin="anonymous"/>
|
|
|
<link rel="stylesheet" href="https://shandan.one/css/grids-responsive-min.css"/>
|
|
|
<link rel="stylesheet" href="https://shandan.one/css/responsive-visibility-collapse.css"/>
|
|
|
</head>
|
|
|
- <body align="center" style="text-align: center">
|
|
|
- % include('button-style')
|
|
|
+ <body style="text-align: center">
|
|
|
+ % include(f'buttongroup-common')
|
|
|
<form id="{{tool}}-open" action="{{action}}" method="{{method}}">
|
|
|
<label for="{{tool}}-code">
|
|
|
<span hidden="true">Enter&nbs;</span>
|
|
|
- <span>{{tool.title()}}</span>
|
|
|
+ <span style="color: {{ color[tool] }}">{{tool.title()}}</span>
|
|
|
<span hidden="true">&nbs;Code</span></span>
|
|
|
</label>
|
|
|
<input
|
|
@@ -58,7 +60,8 @@ form {
|
|
|
style="margin: 0.1em 0 0.3em"
|
|
|
autofocus="true"
|
|
|
></input>
|
|
|
- <button class="button-resize pure-button" type="submit" form="{{tool}}-open"> Open </button>
|
|
|
+ <button class="button-resize pure-button" type="submit" form="{{tool}}-open"> Submit </button>
|
|
|
</form>
|
|
|
+ % include('form-common')
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|