Merge branch 'master' of git.frat.tech:aaron/text_proxy
Conflicts: cgi-bin/proxy.cgi
This commit is contained in:
33
cgi-bin/template.html
Normal file
33
cgi-bin/template.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="theme-color" contents="#2e3440">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<title>{title} - TextProxy</title>
|
||||
<link href="/site.css" rel="stylesheet">
|
||||
<link rel="icon" type="image/png" href="/favicon.png" size="64x64">
|
||||
<link rel="icon" type="image/png" href="/favicon@2x.png" size="128x128">
|
||||
<link rel="icon" type="image/png" href="/favicon@3x.png" size="192x192">
|
||||
</head>
|
||||
<body class="dark">
|
||||
<h1>{title}</h1>
|
||||
<div class="theme">
|
||||
<select onchange="setTheme(event)">
|
||||
<option value="darker">Light-on-Black</option>
|
||||
<option value="dark" selected>Light-on-Dark</option>
|
||||
<option value="light">Dark-on-White</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="text">
|
||||
{body}
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function setTheme(e) {{
|
||||
document.body.className = e.currentTarget.value;
|
||||
}}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user