Commit 07f95def authored by Corentin Mors's avatar Corentin Mors
Browse files

Merge branch 'develop'

parents edeeb595 72767dcf
......@@ -5,12 +5,14 @@
<div class="row">
<div class="col-12">
<h2>View of mission #{{ mission._id }}</h2>
<h2>View of mission {{ mission._id }}</h2>
<hr>
{% include "partials/modals/add-participant-modal.html" %}
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#add-participant-modal">
Add new participant
</button>
{% include "partials/modals/add-checklist.html" %}
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#add-checklist-modal">
Add new checklist
</button>
......
<div class="modal fade" id="add-mission-modal" tabindex="-1" role="dialog" aria-labelledby="add-mission-modal-label" aria-hidden="true">
<div class="modal-dialog" role="document">
<form action="/missions/" method="POST">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Add new mission</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="input-title">Title</label>
<input title="text" class="form-control" id="input-title" name="title" aria-describedby="quantityHelp" placeholder="Enter title">
</div>
<div class="form-group">
<label for="input-description">description</label>
<input type="description" class="form-control" id="input-description" name="description" aria-describedby="descriptionHelp" placeholder="Enter description">
</div>
<div class="form-group">
<label for="input-priority">priority</label>
<input type="priority" class="form-control" id="input-priority" name="priority" aria-describedby="priorityHelp" placeholder="Enter priority">
</div>
<div class="form-group">
<label for="input-start_date">start_date</label>
<input type="start_date" class="form-control" id="input-start_date" name="start_date" aria-describedby="start_dateHelp" placeholder="Enter start date">
</div>
<div class="form-group">
<label for="input-end_date">end_date</label>
<input type="end_date" class="form-control" id="input-end_date" name="end_date" aria-describedby="end_dateHelp" placeholder="Enter end date">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Add mission</button>
</div>
</div>
</form>
</div>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment