guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal Ezzaki <kamalezza...@gmail.com>
Subject Re: Reloading the application
Date Tue, 26 Mar 2019 14:31:58 GMT
Can you please help .
so i need to add new file .html with this content :

<meta name="replace" content=".login-ui .login-dialog">

<div class="login-ui" ng-class="{error: loginError, continuation:
isContinuation(), initial: !isContinuation()}" >

    <!-- Login error message -->
    <p class="login-error" translate="{{loginError.key}}"
       translate-values="{{loginError.variables}}"></p>

    <div class="login-dialog-middle">

        <div class="login-dialog">

            <form class="login-form" ng-submit="login()">

                <!-- Guacamole version -->
                <div>*<img src="newlogo.png">*</div>

                <div class="version">
                    <div class="app-name">{{'APP.NAME' | translate}}</div>
                    <div class="version-number">{{'APP.VERSION' |
translate}}</div>
                </div>

                <!-- Login message/instructions -->
                <p ng-show="helpText" translate="{{helpText.key}}"
                   translate-values="{{helpText.variables}}"></p>

                <!-- Login fields -->
                <div class="login-fields">
                    <guac-form namespace="'LOGIN'"
content="remainingFields" model="enteredValues"></guac-form>
                </div>

                <!-- Submit button -->
                <div class="buttons">
                    <input type="text" name="login" class="login"
value="{{'LOGIN.ACTION_LOGIN' | translate}}"/>
                    <input type="submit" name="login"
class="continue-login" value="{{'LOGIN.ACTION_CONTINUE' |
translate}}"/>
                </div>

            </form>

        </div>

    </div>

</div>



Le mar. 26 mars 2019 à 15:04, Mike Jumper <mjumper@apache.org> a écrit :

> On Tue, Mar 26, 2019, 06:51 Kamal Ezzaki <kamalezzaki1@gmail.com> wrote:
>
>> Hello Please can someone tell me how to edit the login interface, when i
>> add someting in
>> the /var/lib/tomcat/webapps/guacamole/app/login/templates/login.html
>> nothing changes
>>
>
> You can't (and shouldn't) edit the interface this way. Changes to the
> interface need to be made through extensions:
>
> http://guacamole.apache.org/doc/gug/guacamole-ext.html#ext-patch-html
>
> - Mike
>
>

Mime
View raw message