You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
1.9 KiB
94 lines
1.9 KiB
<!doctype html> |
|
<html> |
|
<head> |
|
<title>New Service</title> |
|
</head> |
|
<body> |
|
|
|
<h1>Add Service</h1> |
|
|
|
<form method="post"> |
|
|
|
<p> |
|
Client<br> |
|
<select name="client_id" required> |
|
<option value="">Select client</option> |
|
{% for c in clients %} |
|
<option value="{{ c.id }}">{{ c.client_code }} - {{ c.company_name }}</option> |
|
{% endfor %} |
|
</select> |
|
</p> |
|
|
|
<p> |
|
Service Name<br> |
|
<input name="service_name" required> |
|
</p> |
|
|
|
<p> |
|
Service Type<br> |
|
<select name="service_type" required> |
|
<option value="hosting">hosting</option> |
|
<option value="rpc">rpc</option> |
|
<option value="explorer">explorer</option> |
|
<option value="node">node</option> |
|
<option value="ipfs">ipfs</option> |
|
<option value="consulting">consulting</option> |
|
<option value="other">other</option> |
|
</select> |
|
</p> |
|
|
|
<p> |
|
Billing Cycle<br> |
|
<select name="billing_cycle" required> |
|
<option value="one_time">one_time</option> |
|
<option value="monthly" selected>monthly</option> |
|
<option value="quarterly">quarterly</option> |
|
<option value="yearly">yearly</option> |
|
<option value="manual">manual</option> |
|
</select> |
|
</p> |
|
|
|
<p> |
|
Currency Code<br> |
|
<select name="currency_code" required> |
|
<option value="CAD" selected>CAD</option> |
|
<option value="ETHO">ETHO</option> |
|
<option value="EGAZ">EGAZ</option> |
|
<option value="ALT">ALT</option> |
|
</select> |
|
</p> |
|
|
|
<p> |
|
Recurring Amount<br> |
|
<input type="number" step="0.00000001" name="recurring_amount" value="0.00000000" required> |
|
</p> |
|
|
|
<p> |
|
Status<br> |
|
<select name="status" required> |
|
<option value="pending">pending</option> |
|
<option value="active" selected>active</option> |
|
<option value="suspended">suspended</option> |
|
<option value="cancelled">cancelled</option> |
|
</select> |
|
</p> |
|
|
|
<p> |
|
Start Date<br> |
|
<input type="date" name="start_date"> |
|
</p> |
|
|
|
<p> |
|
Description<br> |
|
<textarea name="description" rows="5" cols="60"></textarea> |
|
</p> |
|
|
|
<p> |
|
<button type="submit">Create Service</button> |
|
</p> |
|
|
|
</form> |
|
|
|
</body> |
|
</html> |
|
{% include "footer.html" %}
|
|
|