ohif-viewer/Packages/lesiontracker/client/components/serverInformationModal/serverInformationForm.html

40 lines
1.4 KiB
HTML
Raw Normal View History

<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 eq this.serverType.get "dicomWeb"}}
{{>serverInformationDicomWeb this}}
{{/if}}
{{#if eq this.serverType.get "dimse"}}
2016-05-14 17:30:11 +02:00
{{>serverInformationDimse this}}
{{/if}}
2016-05-14 17:30:11 +02:00
{{#if this.serverType.get}}
<div>
<input type="submit" class="btn btn-primary" value="Save">
</div>
{{/if}}
</form>
</template>