2012-06-28 00:33:10 -05:00

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>