healthchecks_healthchecks/templates/accounts/add_project_modal.html

37 lines
1.1 KiB
HTML

<div id="add-project-modal" class="modal">
<div class="modal-dialog">
<form method="post" action="{% url 'hc-add-project' %}" class="form-horizontal">
{% csrf_token %}
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
<h1>Create New Project</h1>
<p>Name your project</p>
<input
id="add-project-name"
type="text"
name="name"
class="form-control input-lg"
autocomplete="off"
required />
<p>&nbsp;</p>
{% csrf_token %}
<button
type="submit"
name="set_project_name"
class="btn btn-lg btn-primary btn-block">
Create Project
</button>
</div>
</div>
</form>
</div>
</div>