mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 22:51:22 +00:00
79 lines
2.9 KiB
HTML
79 lines
2.9 KiB
HTML
<!--
|
|
Copyright 2014 Glyptodon LLC.
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
-->
|
|
|
|
|
|
<!-- Dialog container for the modal -->
|
|
<div class="dialog-container">
|
|
<div class="dialog edit">
|
|
|
|
<!-- Connection group name -->
|
|
<div class="header">
|
|
<h2>{{connectionGroup.name}}</h2>
|
|
</div>
|
|
|
|
<!-- Main connection group edit section -->
|
|
<div class="body">
|
|
<div class="form">
|
|
<div class="settings section">
|
|
<dl>
|
|
<dd>
|
|
<table class="fields section">
|
|
|
|
<!-- Edit connection group name -->
|
|
<tr>
|
|
<th>{{'manage.edit.connectionGroup.name' | translate}}</th>
|
|
|
|
<td><input type="text" ng-model="connectionGroup.name"/></td>
|
|
</tr>
|
|
|
|
<!-- Edit connection group location -->
|
|
<tr>
|
|
<th>{{'manage.edit.connectionGroup.location' | translate}}</th>
|
|
|
|
<td>
|
|
<location-chooser value="connectionGroup.parentIdentifier" root-group="rootGroup"/>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<!-- Edit connection group type -->
|
|
<tr>
|
|
<th>{{'manage.edit.connectionGroup.type.label' | translate}}</th>
|
|
<td>
|
|
<select ng-model="connectionGroup.type" ng-options="type.value as 'manage.edit.connectionGroup.type.' + type.label | translate for type in types | orderBy: name"></select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Control buttons -->
|
|
<div class="footer">
|
|
<button ng-click="save()">{{'manage.edit.connectionGroup.save' | translate}}</button>
|
|
<button ng-click="close()">{{'manage.edit.connectionGroup.cancel' | translate}}</button>
|
|
<button ng-click="delete()" class="danger">{{'manage.edit.connectionGroup.delete' | translate}}</button>
|
|
</div>
|
|
</div>
|
|
</div> |