mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-332: Correct appearance of CAS redirect notification.
This commit is contained in:
@@ -25,7 +25,7 @@ angular.module('guacCAS').config(['formServiceProvider',
|
||||
|
||||
// Define field for ticket from CAS service
|
||||
formServiceProvider.registerFieldType("GUAC_CAS_TICKET", {
|
||||
templateUrl : '',
|
||||
templateUrl : 'app/ext/guac-cas/templates/casTicketField.html',
|
||||
controller : 'guacCASController',
|
||||
module : 'guacCAS'
|
||||
});
|
@@ -14,9 +14,15 @@
|
||||
],
|
||||
|
||||
"js" : [
|
||||
"casModule.js",
|
||||
"casController.js",
|
||||
"casConfig.js"
|
||||
]
|
||||
"cas.min.js"
|
||||
],
|
||||
|
||||
"css" : [
|
||||
"cas.min.css"
|
||||
],
|
||||
|
||||
"resources" : {
|
||||
"templates/casTicketField.html" : "text/html"
|
||||
}
|
||||
|
||||
}
|
||||
|
18
extensions/guacamole-auth-cas/src/main/resources/license.txt
Normal file
18
extensions/guacamole-auth-cas/src/main/resources/license.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
.cas-ticket-field-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: table;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.cas-ticket-field {
|
||||
width: 100%;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
<div class="cas-ticket-field-container">
|
||||
<div class="cas-ticket-field">
|
||||
<p>{{ 'LOGIN.INFO_CAS_REDIRECT_PENDING' | translate }}</p>
|
||||
</div>
|
||||
</div>
|
@@ -6,7 +6,7 @@
|
||||
|
||||
"LOGIN" : {
|
||||
"FIELD_HEADER_TICKET" : "",
|
||||
"INFO_CAS_REDIRECT_PENDING" : "Please wait, redirecting to CAS authentication."
|
||||
"INFO_CAS_REDIRECT_PENDING" : "Please wait, redirecting to CAS authentication..."
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user