ohif-viewer/Packages/lesiontracker/client/components/serverInformationModal/serverInformationForm.html
2016-08-04 16:49:51 +02:00

40 lines
1.4 KiB
HTML

<template name="serverInformationForm">
<form class="server-information-form">
<input type="hidden" name="_id">
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<label class="wrapper">
<strong>Server Name</strong>
<input type="text" name="name" class="form-control">
</label>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<label class="wrapper">
<strong>Server Type</strong>
<select name="type" class="form-control js-server-type">
<option>Select</option>
<option value="dicomWeb">DICOM Web</option>
<option value="dimse">DIMSE</option>
</select>
</label>
</div>
</div>
</div>
<hr>
{{#if equals this.serverType.get "dicomWeb"}}
{{>serverInformationDicomWeb this}}
{{/if}}
{{#if equals this.serverType.get "dimse"}}
{{>serverInformationDimse this}}
{{/if}}
{{#if this.serverType.get}}
<div>
<input type="submit" class="btn btn-primary" value="Save">
</div>
{{/if}}
</form>
</template>