redmarkets-negotiation/templates/partials/negotiation-sidebar.html

56 lines
2.2 KiB
HTML

<div class="negotiation-owner">
<p>The Market for this negotiation is {{room_owner_display_name}}</p>
{% if room_owner_display_name == uid %}
<p>Change your display name</p>
{% endif %}
</div>
{% if user == room_owner.uid %}
<div class="market-settings">
<form id="market-settings">
<span>Manual Negotiation</span>
<div class="onoffswitch">
<input id="manual-negotiation" type="checkbox" class="onoffswitch-checkbox" {% if negotiation.manual_negotiation %}checked{% endif %}>
<label for="manual-negotiation" class="onoffswitch-label">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
<br>
<label for="is-first-negotiation">First Negotiation?</label>
<input id="is-first-negotiation" type="checkbox">
<br>
<label for="client-name">Client Name</label>
<input id="client-name" type="text" placeholder="Enter the client's name">
<br>
<label for="negotiator-name">Negotiator Name</label>
<input id="negotiator-name" type="text" placeholder="Enter the negotiator's name">
<br>
<label for="taker-crew-name">Crew Name</label>
<input id="taker-crew-name" type="text" placeholder="Enter the taker's crew's name">
<br>
<label for="takers">Numer of takers in the crew</label>
<input id="takers" type="text" pattern="[0-9]+" size="1">
<br>
<label for="first-impression-black">First Impression (Black die value)</label>
<input id="first-impression-black" type="text" pattern="[0-9]+" size="1">
<br>
<label for="first-impression-state">Level of success on the first impression</label>
<select id="first-impression-state" type="select" name="first-impression-state">
<option value="critfail">Critical Failure</option>
<option value="fail">Failure</option>
<option value="success">Success</option>
<option value="critsuccess">Critical Success</option>
</select>
</form>
</div>
{% endif %}
<div class="participants">
<h4>Participants</h4>
<p><span class="count">{{ participant_count }}</span>&nbsp;<span> takers in this room</span></p>
<ul class="participant-list">
<li participant-id="{{user}}">{{user}}</li>
</ul>
</div>