40 lines
1.4 KiB
HTML
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 serverType.get "dicomWeb"}}
|
|
{{>serverInformationDicomWeb this}}
|
|
{{/if}}
|
|
{{#if equals serverType.get "dimse"}}
|
|
TODO: Print DIMSE form
|
|
{{/if}}
|
|
{{#if serverType.get}}
|
|
<div>
|
|
<input type="submit" class="btn btn-primary" value="Save">
|
|
</div>
|
|
{{/if}}
|
|
</form>
|
|
</template>
|