GUACAMOLE-221: Extend the guacNotification service to support generic parameter prompting.

This commit is contained in:
Michael Jumper committed 2020-11-01 20:46:41 -08:00
1 parent 688ff5310c
commit 718145ce24
3 files changed
+88 -2

No files matched your search

@@ -1,4 +1,5 @@
<div class="notification" ng-class="notification.className">
<form class="notification" ng-class="notification.className"
ng-submit="notification.formSubmitCallback()">
<!-- Notification title -->
<div ng-show="notification.title" class="title-bar">
@@ -12,6 +13,15 @@
translate="{{notification.text.key}}"
translate-values="{{notification.text.variables}}"></p>
<!-- Arbitrary parameters -->
<div class="parameters" ng-show="notification.forms">
<guac-form
namespace="notification.formNamespace"
content="notification.forms"
model="notification.formModel"
model-only="true"></guac-form>
</div>
<!-- Current progress -->
<div class="progress" ng-show="notification.progress"><div class="bar" ng-show="progressPercent" ng-style="{'width': progressPercent + '%'}"></div><div
ng-show="notification.progress.text"