Compare commits

...

3 Commits

6 changed files with 45 additions and 9 deletions

View File

@ -226,4 +226,4 @@ For now, either email me (if you know me personally) or make a pull request to a
PTTH is licensed under the
[GNU AGPLv3](https://www.gnu.org/licenses/agpl-3.0.html)
Copyright 2020 "Trish"
Copyright 2020-2021 "Trish"

View File

@ -52,8 +52,6 @@ Lorem ipsum dolor set amet
<p>
<a href="endless_sink">Data sink (POST only)</a>
<p>Persistent toggle is <pre>{{persistent_toggle}}</pre></p>
<form action="toggle" method="post">
<input type="submit" value="Toggle">
</form>

View File

@ -14,6 +14,10 @@
.entry_list div:nth-child(odd) {
background-color: #ddd;
}
.fine {
color: #444;
font-size: 12px;
}
</style>
<title>PTTH relay</title>
</head>
@ -33,5 +37,12 @@
</div>
<p class="fine">
Rendered by PTTH relay server.
Copyright 2020-2021 "Trish" ReactorScram. Licensed under the
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPLv3.</a>
<a href="https://six-five-six-four.com/git/reactor/ptth">Download source code</a>
</p>
</body>
</html>

View File

@ -95,6 +95,13 @@ Git version: {{git_version}}
{{else}}
Not built from Git
{{/if}}
<p>
Rendered by PTTH relay server.
Copyright 2020-2021 "Trish" ReactorScram. Licensed under the
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPLv3.</a>
<a href="https://six-five-six-four.com/git/reactor/ptth">Download source code</a>
</p>
</div>
</body>

View File

@ -27,6 +27,10 @@ AIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAA" rel="icon" type="image/x-icon" />
transition: var(--dark-mode-transition);
}
.fine {
color: #444;
font-size: 12px;
}
.light_switch {
display: none;
}
@ -40,7 +44,7 @@ AIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAA" rel="icon" type="image/x-icon" />
.light_switch_label::before {
content: "[ ] ";
}
a {
.app a {
color: var(--main-link-color);
transition: var(--dark-mode-transition);
}
@ -122,6 +126,15 @@ AIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAA" rel="icon" type="image/x-icon" />
<!-- Doesn't work perfectly yet -->
<!--<label for="light_switch" class="light_switch_label">Dark mode</label>-->
</page>
</div>
<p class="fine">
Rendered by PTTH end server.
Copyright 2020-2021 "Trish" ReactorScram. Licensed under the
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPLv3.</a>
<a href="https://six-five-six-four.com/git/reactor/ptth">Download source code</a>
</p>
</body>
</html>

View File

@ -15,6 +15,10 @@
.entry_list div:nth-child(even) {
background-color: #ddd;
}
.fine {
color: #444;
font-size: 12px;
}
</style>
<title>{{metrics_startup.server_name}}</title>
</head>
@ -22,10 +26,6 @@
<h1>{{metrics_startup.server_name}}</h1>
<h2>Gauges</h2>
<p>RSS MiB: {{metrics_interval.rss_mib}}</p>
<div class="entry_list">
<div>
@ -40,5 +40,12 @@
</div>
<p class="fine">
Rendered by PTTH end server.
Copyright 2020-2021 "Trish" ReactorScram. Licensed under the
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPLv3.</a>
<a href="https://six-five-six-four.com/git/reactor/ptth">Download source code</a>
</p>
</body>
</html>