mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Added basic GET templates.
This commit is contained in:
parent
af8c23a332
commit
eb15e94822
0
ugly_hacks/santiago/protocols/https/__init__.py
Normal file
0
ugly_hacks/santiago/protocols/https/__init__.py
Normal file
@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>$message</p>
|
||||
<p>You're <a href="/hosting">hosting</a> these services for $client:</p>
|
||||
#if $services
|
||||
<ul>
|
||||
#for service in $services
|
||||
<li><a href="/hosting/$client/$service">$service</a></li>
|
||||
#end for
|
||||
</ul>
|
||||
#end if
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>$message</p>
|
||||
<p>You're <a href="/hosting">hosting</a>
|
||||
$service for <a href="/hosting/$client/">$client</a> at:</p>
|
||||
#if $locations
|
||||
<ul>
|
||||
#for location in $locations
|
||||
<li><a href="$location">$location</a></li>
|
||||
#end for
|
||||
</ul>
|
||||
#end if
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>$message</p>
|
||||
<p>You are hosting services for:</p>
|
||||
#if $clients
|
||||
<ul>
|
||||
#for $client in $clients
|
||||
<li><a href="/hosting/$client">$client</a></li>
|
||||
#end for
|
||||
</ul>
|
||||
#end if
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<p>$message</p>
|
||||
<p>You're hosting <a href="/hosting/$client/$service">$service</a>
|
||||
for <a href="/hosting/$client/">$client</a>
|
||||
at <a href="$location">$location</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user