Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
78ec43bf
authored
Feb 24, 2014
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: refresh node activity on ajax success
parent
808f7c95
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
+5
-1
circle/dashboard/static/dashboard/node-list.js
+2
-0
circle/dashboard/templates/dashboard/node-detail/_activity-timeline.html
+2
-0
circle/dashboard/templates/dashboard/node-detail/activity.html
+1
-1
No files found.
circle/dashboard/static/dashboard/node-list.js
View file @
78ec43bf
...
...
@@ -162,6 +162,7 @@ $(function() {
// change big status span
$
(
'#node-info-pane'
).
load
(
location
.
href
+
" #node-info-data"
);
$
(
'#activity-timeline-wrapper'
).
load
(
location
.
href
+
" #activity-timeline"
);
}
$
(
'#table_container'
).
on
(
'click'
,
'.node-enable'
,
function
()
{
...
...
@@ -173,6 +174,7 @@ $(function() {
$
(
'#node-info-pane'
).
on
(
'click'
,
'.node-enable'
,
function
(){
// post, change node status
enablenode
(
$
(
this
).
attr
(
'data-node-pk'
),
$
(
this
).
attr
(
'data-status'
),
enabledetailsSuccess
);
return
false
;
});
...
...
circle/dashboard/templates/dashboard/node-detail/_activity-timeline.html
View file @
78ec43bf
{% load i18n %}
<div
id=
"activity-timeline"
class=
"timeline"
>
{% for a in activities %}
<div
class=
"activity"
data-activity-id=
"{{ a.pk }}"
>
<span
class=
"timeline-icon{% if a.has_failed %} timeline-icon-failed{% endif %}"
>
...
...
@@ -25,3 +26,4 @@
{% endif %}
</div>
{% endfor %}
</div>
circle/dashboard/templates/dashboard/node-detail/activity.html
View file @
78ec43bf
...
...
@@ -2,6 +2,6 @@
<h3>
{% trans "Activity" %}
</h3>
<div
id=
"activity-timeline
"
class=
"timeline
"
>
<div
id=
"activity-timeline
-wrapper
"
>
{% include "dashboard/node-detail/_activity-timeline.html" %}
</div>
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