Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Angel Docampo
burp-ui
Commits
200aa986
Commit
200aa986
authored
Apr 21, 2017
by
Benjamin "Ziirish" SANS
Browse files
ui tweak
parent
86a30ce7
Changes
2
Hide whitespace changes
Inline
Side-by-side
burpui/templates/js/user.js
View file @
200aa986
...
...
@@ -300,12 +300,6 @@ var _sessions_table = $('#table-sessions').dataTable( {
return
'
<span data-toggle="tooltip" title="
'
+
data
+
'
">
'
+
moment
(
data
,
moment
.
ISO_8601
).
fromNow
()
+
'
</span>
'
;
}
},
{
data
:
null
,
render
:
function
(
data
,
type
,
row
)
{
return
'
<button class="btn btn-danger" data-toggle="revoke-session" data-id="
'
+
data
.
uuid
+
'
" data-current="
'
+
data
.
current
+
'
" data-misc="
'
+
escape
(
JSON
.
stringify
(
data
,
null
,
4
))
+
'
"><span class="glyphicon glyphicon-trash"></span></button>
'
;
}
}
],
});
var
first
=
true
;
...
...
@@ -517,7 +511,7 @@ function click(d) {
update_tree
(
d
);
}
d3
.
json
(
"
{{ url_for('api.clients_all') }}
"
)
d3
.
json
(
"
{{ url_for('api.clients_all') }}
?_session=
"
+
SESSION_TAG
)
.
header
(
'
X-From-UI
'
,
true
)
.
get
(
function
(
error
,
data
)
{
if
(
!
error
)
{
...
...
burpui/templates/user.html
View file @
200aa986
...
...
@@ -19,7 +19,6 @@
<th>
{{ _('API Login') }}
</th>
<th>
{{ _('Current session') }}
</th>
<th>
{{ _('Expire') }}
</th>
<th>
{{ _('Revoke') }}
</th>
</tr>
</thead>
<tbody>
...
...
Write
Preview
Supports
Markdown
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