mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
34 lines
829 B
Cheetah
34 lines
829 B
Cheetah
#import cgi
|
|
#set $client = $cgi.escape($client)
|
|
<html>
|
|
<head>
|
|
<style>
|
|
form {
|
|
display: inline;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>You are <a href="/hosting">hosting</a> these services for $client:</p>
|
|
#if $services
|
|
<ul>
|
|
#for $service in $services
|
|
#set $service = $cgi.escape(service)
|
|
<li><a href="/hosting/$client/$service">$service</a>
|
|
<form method="post" action="/hosting/$client">
|
|
<input type="hidden" name="delete" value="$service" />
|
|
<input type="submit" value="Delete" />
|
|
</form>
|
|
</li>
|
|
#end for
|
|
</ul>
|
|
#end if
|
|
|
|
<hr />
|
|
<form method="post" action="/hosting/$client">
|
|
<label>Service: <input name="put" /></label>
|
|
<input type="submit" value="Create New Service" />
|
|
</form>
|
|
</body>
|
|
</html>
|