mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUAC-1160: Create "guacForm" directive which allows the editing of an arbitrary set of fields.
This commit is contained in:
@@ -59,17 +59,8 @@ THE SOFTWARE.
|
||||
|
||||
<!-- Connection parameters -->
|
||||
<h2 class="header">{{'MANAGE_CONNECTION.SECTION_HEADER_PARAMETERS' | translate}}</h2>
|
||||
<div class="section" ng-class="{loading: !parameters}">
|
||||
<table class="properties connection-parameters">
|
||||
|
||||
<!-- All the different possible editable field types -->
|
||||
<tr ng-repeat="parameter in protocols[connection.protocol].parameters">
|
||||
<th>{{parameter.title | translate}}</th>
|
||||
<td>
|
||||
<guac-form-field field="parameter" model="parameters[parameter.name]"></guac-form-field>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="section connection-parameters" ng-class="{loading: !parameters}">
|
||||
<guac-form fields="protocols[connection.protocol].parameters" model="parameters"></guac-form>
|
||||
</div>
|
||||
|
||||
<!-- Form action buttons -->
|
||||
|
Reference in New Issue
Block a user