Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
9afe4622
Commit
9afe4622
authored
5 years ago
by
kevalbhatt
Committed by
nixonrodrigues
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3364 : UI: Compose logout url from Atlas base path (URI)
Signed-off-by:
nixonrodrigues
<
nixon@apache.org
>
parent
add9fac4
master
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
Header.html
dashboardv2/public/js/templates/site/Header.html
+1
-1
Header.js
dashboardv2/public/js/views/site/Header.js
+6
-1
No files found.
dashboardv2/public/js/templates/site/Header.html
View file @
9afe4622
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<li
class=
"aboutAtlas"
><a
href=
"javascript:void(0)"
>
About
</a></li>
<li
class=
"aboutAtlas"
><a
href=
"javascript:void(0)"
>
About
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li
role=
"separator"
class=
"divider"
></li>
<li>
<li>
<a
href=
"logout.html
"
><i
class=
"fa fa-sign-out"
></i>
Logout
</a>
<a
data-id=
"signOut"
href=
"javascript:void(0)
"
><i
class=
"fa fa-sign-out"
></i>
Logout
</a>
</li>
</li>
</ul>
</ul>
</td>
</td>
...
...
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/site/Header.js
View file @
9afe4622
...
@@ -33,7 +33,8 @@ define(['require',
...
@@ -33,7 +33,8 @@ define(['require',
backButton
:
"[data-id='backButton']"
,
backButton
:
"[data-id='backButton']"
,
menuHamburger
:
"[data-id='menuHamburger']"
,
menuHamburger
:
"[data-id='menuHamburger']"
,
globalSearch
:
"[data-id='globalSearch']"
,
globalSearch
:
"[data-id='globalSearch']"
,
clearGlobalSearch
:
"[data-id='clearGlobalSearch']"
clearGlobalSearch
:
"[data-id='clearGlobalSearch']"
,
signOut
:
"[data-id='signOut']"
},
},
events
:
function
()
{
events
:
function
()
{
var
events
=
{};
var
events
=
{};
...
@@ -68,6 +69,10 @@ define(['require',
...
@@ -68,6 +69,10 @@ define(['require',
});
});
$
(
'body'
).
toggleClass
(
"full-screen"
);
$
(
'body'
).
toggleClass
(
"full-screen"
);
};
};
events
[
'click '
+
this
.
ui
.
signOut
]
=
function
()
{
var
path
=
Utils
.
getBaseUrl
(
window
.
location
.
pathname
);
window
.
location
=
path
+
"/logout.html"
;
};
return
events
;
return
events
;
},
},
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment