I'm unable to make a simple test extension with AngularJS. Here's a simple demo I tested on-line:
https://www.w3schools.com/code/tryit.asp?filename=GKKW3F8XVQQR However, I am unable to include it into Guacamole. Here's what I've done. # cat guac-manifest.json { "guacamoleVersion" : "*", "name" : "test", "namespace" : "test", "html" : [ "test.html" ] } # cat test.html <meta name="after" content=".connection-list-ui"> <div ng-app="customGuacModule"> Expecting string here: <custom-guac-username></custom-guac-username> </div> <script> var app = angular.module("customGuacModule", []); app.directive("customGuacUsername", function () { return { template : "<p>Username: <i>username</i></p>" }; }); </script> There are no errors in catalina.out regarding the extension I'm loading. However, when I log into Guacamole-client I only see the string "Expecting string here: " instead of "Expecting string here: Username: username". Any ideas? Vieri --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
