mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUACAMOLE-5: Display share links within Guacamole menu. Persist within ManagedClient.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<div class="header">
|
||||
<h2>{{client.name}}</h2>
|
||||
<div class="share-menu" ng-show="canShareConnection()">
|
||||
<guac-menu title="'CLIENT.ACTION_SHARE' | translate">
|
||||
<guac-menu menu-title="'CLIENT.ACTION_SHARE' | translate">
|
||||
<ul ng-repeat="sharingProfile in sharingProfiles">
|
||||
<li><a ng-click="share(sharingProfile)">{{sharingProfile.name}}</a></li>
|
||||
</ul>
|
||||
@@ -56,6 +56,22 @@
|
||||
<!-- Scrollable body -->
|
||||
<div class="menu-body" guac-touch-drag="menuDrag" guac-scroll="menu.scrollState">
|
||||
|
||||
<!-- Connection sharing -->
|
||||
<div class="menu-section" id="share-links" ng-show="isShared()">
|
||||
<div class="content">
|
||||
<h3>{{'CLIENT.INFO_CONNECTION_SHARED' | translate}}</h3>
|
||||
<p class="description"
|
||||
translate="CLIENT.HELP_SHARE_LINK"
|
||||
translate-values="{LINKS : getShareLinkCount()}"></p>
|
||||
<table>
|
||||
<tr ng-repeat="link in client.shareLinks | orderBy: name">
|
||||
<th>{{link.name}}</th>
|
||||
<td><a href="{{link.href}}" target="_blank">{{link.href}}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Clipboard -->
|
||||
<div class="menu-section" id="clipboard-settings">
|
||||
<h3>{{'CLIENT.SECTION_HEADER_CLIPBOARD' | translate}}</h3>
|
||||
|
Reference in New Issue
Block a user