mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 06:22:16 +00:00
# Conflicts: # RIGS/static/scss/screen.scss # RIGS/templates/RIGS/event_detail.html # RIGS/templates/RIGS/event_form.html # RIGS/templates/RIGS/event_table.html # RIGS/templates/RIGS/item_row.html # RIGS/templates/RIGS/item_table.html # RIGS/templates/RIGS/organisation_detail.html # RIGS/templates/RIGS/organisation_form.html # RIGS/templates/RIGS/person_detail.html # RIGS/templates/RIGS/person_form.html # RIGS/templates/RIGS/rigboard.html # RIGS/templates/RIGS/venue_detail.html # RIGS/templates/RIGS/venue_form.html # RIGS/templates/event_print.xml # RIGS/templates/event_print_page.xml # RIGS/templates/item_modal.html # RIGS/tests/test_unit.py # assets/templates/asset_create.html # assets/templates/asset_update.html # assets/templates/partials/asset_detail_form.html # requirements.txt # templates/base.html
59 lines
3.1 KiB
HTML
59 lines
3.1 KiB
HTML
<div class="modal fade" id="itemModal" role="dialog" aria-labelledby="itemModal" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h4>{{ object.name|default:"New Event" }}</h4>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<form id="item-form">
|
|
<div class="modal-body">
|
|
<div class="form-group form-row">
|
|
<label for="item_name" class="col-sm-2 col-form-label">Item Name</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" placeholder="Item Name" class="form-control" required maxlength="255"
|
|
id="item_name"/>
|
|
</div>
|
|
</div>
|
|
<div class="form-group form-row" data-toggle="tooltip" title="A detailed description of the kit. MD enabled.">
|
|
<label for="item_description" class="col-sm-2 col-form-label">Description</label>
|
|
<div class="col-sm-10">
|
|
<textarea type="text" placeholder="Description" class="form-control md-enabled"
|
|
id="item_description" rows="8"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="col-sm-6">
|
|
<div class="form-group form-row">
|
|
<label for="item_quantity" class="col-sm-4 col-form-label">Quantity</label>
|
|
<div class="col-sm-8">
|
|
<input type="number" placeholder="Quantity" class="form-control" required
|
|
min="1" id="item_quantity"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<div class="form-group form-row">
|
|
<label for="item_cost" class="col-sm-4 col-form-label">Cost</label>
|
|
|
|
<div class="col-sm-8">
|
|
<div class="input-group">
|
|
<div class="input-group-prepend"><span class="input-group-text">£</span></div>
|
|
<input type="number" placeholder="Cost" class="form-control" required
|
|
min="-99999999.99" max="99999999.99" step="0.01"
|
|
id="item_cost"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<input type="submit" class="btn btn-primary">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|