- new role management section for corporations admins - added column "nullable" detection within /setup page for DB diff - added new map icon options options to the map add/edit dialog - refactored setup() method for all tables with static data - fixed broken map icons - fixed broken "drag/select" for systems on map - fixed new "map resize" event for non Chrome browsers - multiple minor improvements and fixes...
80 lines
3.5 KiB
HTML
80 lines
3.5 KiB
HTML
{{#hasRightMapForm}}
|
||
<form role="form" class="form-horizontal">
|
||
|
||
<div class="row">
|
||
<div class="col-xs-6 col-sm-3">
|
||
<div class="form-group">
|
||
<label for="icon" class="col-sm-4 control-label">Icon</label>
|
||
<div class="col-sm-8">
|
||
<select class="form-control pf-form-icon-field" name="icon" id="icon" title="Map icon" data-placement="top">
|
||
{{#icon}}
|
||
<option value="{{class}}" >{{{unicode}}}</option>
|
||
{{/icon}}
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-xs-6 col-sm-9">
|
||
<div class="form-group">
|
||
<label for="name" class="col-sm-2 control-label">Name</label>
|
||
<div class="col-sm-10">
|
||
<input name="name" type="text" class="form-control" id="name" value="" placeholder="Map name" data-error="Name required" data-minlength="3" data-minlength-error="Min. of 3 characters" required>
|
||
<span class="note help-block with-errors">Choose a meaningful name</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="col-xs-6 col-sm-6">
|
||
<div class="form-group">
|
||
<label for="scope" class="col-sm-2 control-label">Scope</label>
|
||
<div class="col-sm-10">
|
||
<select name="scopeId" id="scope" class="form-control" title="Connections that get tracked on this map" data-placement="top">
|
||
{{#scope}}
|
||
<option value="{{id}}">{{label}}</option>
|
||
{{/scope}}
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-xs-6 col-sm-6">
|
||
<div class="form-group">
|
||
<label for="type" class="col-sm-2 control-label">Type</label>
|
||
<div class="col-sm-10">
|
||
<select name="typeId" id="type" class="form-control" title="Alliance/Corporation maps require character authentication" data-placement="top">
|
||
{{#type}}
|
||
<option value="{{id}}">{{label}}</option>
|
||
{{/type}}
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<input type="hidden" name="id" value="0" />
|
||
|
||
|
||
<div class="{{formInfoContainerClass}} alert alert-info" style="display: none;">
|
||
<span class="txt-color txt-color-information">Info</span>
|
||
<small> (important non-critical information)</small>
|
||
</div>
|
||
|
||
<div class="{{formWarningContainerClass}} alert alert-warning" style="display: none;">
|
||
<span class="txt-color txt-color-warning">Warning</span>
|
||
<small> (important non-critical information)</small>
|
||
</div>
|
||
|
||
<div class="{{formErrorContainerClass}} alert alert-danger" style="display: none;">
|
||
<span class="txt-color txt-color-danger">Error</span>
|
||
<small> (important non-critical information)</small>
|
||
</div>
|
||
</form>
|
||
{{/hasRightMapForm}}
|
||
{{^hasRightMapForm}}
|
||
<div class="alert alert-info">
|
||
<span class="txt-color txt-color-info">Restricted</span>
|
||
<small>You don´t have the required roles.</small>
|
||
</div>
|
||
{{/hasRightMapForm}}
|