aboutsummaryrefslogtreecommitdiff
path: root/front.html.in
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-12-11 14:37:59 -0500
committerB Stack <bgstack15@gmail.com>2020-12-11 14:37:59 -0500
commit1a6ca71719469c50cda0ea932c96630fc200036d (patch)
treee04ca634acffdcd84f9857822b707ce3b490f093 /front.html.in
parentadd note about filename (diff)
downloadhex-zero-1a6ca71719469c50cda0ea932c96630fc200036d.tar.gz
hex-zero-1a6ca71719469c50cda0ea932c96630fc200036d.tar.bz2
hex-zero-1a6ca71719469c50cda0ea932c96630fc200036d.zip
move styles to Flask static/ dir
Diffstat (limited to 'front.html.in')
-rw-r--r--front.html.in58
1 files changed, 2 insertions, 56 deletions
diff --git a/front.html.in b/front.html.in
index e6e6ca3..705633a 100644
--- a/front.html.in
+++ b/front.html.in
@@ -16,67 +16,13 @@
<title>{6}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Hex Zero" />
- <style>
-/* this is a template file that gets formatted by python str.format()
- * so these double-braces get interpreted to just single ones.
- */
-#main {{
- float: left;
- margin: 0 0 2em 4em;
- padding-bottom: 4em;
- width: auto;
-}}
-
-#header_sub {{ margin-left: 6em; }}
-#sidebar {{
- /*float: right;*/
- padding: 0 2.5em 2.5em 0;
- position: fixed;
- top: 0px;
- right: 0px;
- background-color: #eee;
- border-style: dashed;
- border-width: 0px 0px 1px 1px;
- border-color: #ddd;
-}}
-footer {{
- position: fixed;
- text-align: center;
- bottom: 0;
- width: 100%;
- padding: 0.25em;
- background: #f5f5f5;
-}}
-
-pre {{
- background-color: #ddd;
-}}
-
-body, input, select, textarea {{
- font-size: 10pt;
-}}
-.box {{
- height: 0;
- display: none;
- transition:all 0.8s linear;
-}}
-input:checked ~ .box {{
- display: inline;
-}}
-
-label#toggle {{
- font-size: 80%;
- cursor: pointer;
- color: blue;
- text-decoration: underline;
-}}
- </style>
+ <link rel="stylesheet" href="/hex-zero/static/styles.css">
</head>
<body id="body">
<div id="sidebar">
<input id="toggle" type="checkbox" style="visibility:hidden">
<label id="toggle" for="toggle">toggle upload form</label>
- <div class="box">
+ <div class="box" style="text-align: center;">
<h2>UPLOAD DIRECTLY</h2>
<form action="{0}" method="POST" enctype="multipart/form-data">
<label>File:</label>
bgstack15