mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[enh] Open 'administration' link in a new tab. #18
This commit is contained in:
parent
8eba1864a6
commit
565f1e053d
2 changed files with 4 additions and 4 deletions
|
@ -190,7 +190,7 @@ domReady(function(){
|
||||||
'<a class="link-profile-edit" href="/yunohost/sso/edit.html">'+ response.t_footerlink_edit +'</a>' + "\n" +
|
'<a class="link-profile-edit" href="/yunohost/sso/edit.html">'+ response.t_footerlink_edit +'</a>' + "\n" +
|
||||||
'<a class="link-documentation" href="//yunohost.org/docs" target="_blank">'+ response.t_footerlink_documentation +'</a>' + "\n" +
|
'<a class="link-documentation" href="//yunohost.org/docs" target="_blank">'+ response.t_footerlink_documentation +'</a>' + "\n" +
|
||||||
'<a class="link-documentation" href="//yunohost.org/support" target="_blank">'+ response.t_footerlink_support +'</a>' + "\n" +
|
'<a class="link-documentation" href="//yunohost.org/support" target="_blank">'+ response.t_footerlink_support +'</a>' + "\n" +
|
||||||
'<a class="link-admin" href="/yunohost/admin">'+ response.t_footerlink_administration +'</a>' + "\n" +
|
'<a class="link-admin" href="/yunohost/admin" target="_blank">'+ response.t_footerlink_administration +'</a>' + "\n" +
|
||||||
'</nav></div>';
|
'</nav></div>';
|
||||||
|
|
||||||
// Add overlay to DOM
|
// Add overlay to DOM
|
||||||
|
@ -198,7 +198,7 @@ domReady(function(){
|
||||||
yunoverlay = document.getElementById('ynhoverlay'),
|
yunoverlay = document.getElementById('ynhoverlay'),
|
||||||
user = document.getElementById('yuno-user'),
|
user = document.getElementById('yuno-user'),
|
||||||
apps = document.getElementById('yuno-apps');
|
apps = document.getElementById('yuno-apps');
|
||||||
|
|
||||||
var pfx = ["webkit", "moz", "MS", "o", ""];
|
var pfx = ["webkit", "moz", "MS", "o", ""];
|
||||||
function PrefixedEvent(element, type, callback) {
|
function PrefixedEvent(element, type, callback) {
|
||||||
for (var p = 0; p < pfx.length; p++) {
|
for (var p = 0; p < pfx.length; p++) {
|
||||||
|
@ -232,7 +232,7 @@ domReady(function(){
|
||||||
meta_viewport.setAttribute('content', "width=device-width");
|
meta_viewport.setAttribute('content', "width=device-width");
|
||||||
yunoverlay.classList.remove('yuno-fadeOut');
|
yunoverlay.classList.remove('yuno-fadeOut');
|
||||||
yunoverlay.classList.add('yuno-active');
|
yunoverlay.classList.add('yuno-active');
|
||||||
|
|
||||||
apps.classList.add('yuno-fadeInLeft', 'yuno-delay');
|
apps.classList.add('yuno-fadeInLeft', 'yuno-delay');
|
||||||
user.classList.add('yuno-slideintop');
|
user.classList.add('yuno-slideintop');
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<a class="link-profile-edit" href="/yunohost/sso/edit.html">{{t_footerlink_edit}}</a>
|
<a class="link-profile-edit" href="/yunohost/sso/edit.html">{{t_footerlink_edit}}</a>
|
||||||
<a class="link-documentation" href="//yunohost.org/docs" target="_blank">{{t_footerlink_documentation}}</a>
|
<a class="link-documentation" href="//yunohost.org/docs" target="_blank">{{t_footerlink_documentation}}</a>
|
||||||
<a class="link-documentation" href="//yunohost.org/support" target="_blank">{{t_footerlink_support}}</a>
|
<a class="link-documentation" href="//yunohost.org/support" target="_blank">{{t_footerlink_support}}</a>
|
||||||
<a class="link-admin" href="/yunohost/admin">{{t_footerlink_administration}}</a>
|
<a class="link-admin" href="/yunohost/admin" target="_blank">{{t_footerlink_administration}}</a>
|
||||||
</nav></div>
|
</nav></div>
|
||||||
{{/connected}}
|
{{/connected}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue