Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.toolbox
Commits
94f450a3
Commit
94f450a3
authored
Feb 12, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: removal of logout functions/buttons
they are useless since basic auth
parent
f8e7bf32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
slapos/runner/templates/layout.html
slapos/runner/templates/layout.html
+0
-4
slapos/runner/views.py
slapos/runner/views.py
+0
-7
No files found.
slapos/runner/templates/layout.html
View file @
94f450a3
...
...
@@ -67,8 +67,6 @@
<div
class=
"block_header"
>
<a
href=
"{{ url_for('home') }}"
style=
"float:left;"
id=
"home"
title=
"Home"
><img
alt=
""
src=
"{{ url_for('static', filename='images/home.png') }}"
/></a>
<div
class=
"line"
></div>
<a
href=
"{{ url_for('dologout') }}"
style=
"float:left"
title=
"Close your session"
><img
alt=
""
src=
"{{ url_for('static', filename='images/logout.png') }}"
/></a>
<div
class=
"line"
></div>
<h2
class=
"info"
>
{% block title %}{% endblock %} - {{session.title}}
</h2>
<div
class=
"run"
>
<div
id=
"running"
style=
"display:none"
>
...
...
@@ -97,8 +95,6 @@
<li
class=
'sep'
></li>
<li><a
href=
"{{ url_for('browseWorkspace') }}"
>
Browse Workspace
</a></li>
<li><a
href=
"{{ url_for('inspectSoftware') }}"
>
My Software Releases
</a></li>
<li
class=
'sep'
></li>
<li><a
href=
"{{ url_for('dologout') }}"
>
Log out
</a></li>
</ul>
</li>
<li
class=
'right_menu slapos_run'
id=
"softrun"
><a
href=
"{{ url_for('runSoftwareProfile') }}"
></a>
...
...
slapos/runner/views.py
View file @
94f450a3
...
...
@@ -8,7 +8,6 @@ import shutil
import
urllib
import
json
from
flaskext.auth
import
logout
from
flask
import
(
Flask
,
request
,
redirect
,
url_for
,
render_template
,
g
,
flash
,
jsonify
,
session
,
abort
,
send_file
)
...
...
@@ -93,12 +92,6 @@ def myAccount():
params
=
getBuildAndRunParams
(
app
.
config
))
@
app
.
route
(
"/dologout"
)
def
dologout
():
_
=
logout
()
return
redirect
(
url_for
(
'login'
))
def
manageRepository
():
public_key
=
open
(
app
.
config
[
'public_key'
]).
read
()
account
=
getSession
(
app
.
config
)
...
...
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