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
48c97b9f
authored
Apr 29, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: unmodify stupid table source
parent
ca0bfd33
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
circle/dashboard/static/dashboard/js/stupidtable.min.js
+1
-5
circle/dashboard/static/dashboard/template-list.js
+4
-0
circle/dashboard/static/dashboard/vm-list.js
+4
-1
No files found.
circle/dashboard/static/dashboard/js/stupidtable.min.js
View file @
48c97b9f
...
...
@@ -18,9 +18,7 @@
// ==================================================== //
// Do sorting when THs are clicked
$table
.
on
(
"click.stupidtable"
,
"th, th a"
,
function
()
{
// handle click to links
// $table.on("click.stupidtable", "th", function() {
$table
.
on
(
"click.stupidtable"
,
"th"
,
function
()
{
var
$this
=
$
(
this
);
var
th_index
=
0
;
var
dir
=
$
.
fn
.
stupidtable
.
dir
;
...
...
@@ -85,8 +83,6 @@
// More reliable method of forcing a redraw
$table
.
css
(
"display"
);
},
10
);
// this was added my be too - kviktor
return
false
;
});
});
};
...
...
circle/dashboard/static/dashboard/template-list.js
View file @
48c97b9f
...
...
@@ -37,6 +37,10 @@ $(function() {
// only if js is enabled
$
(
".template-list-table thead th"
).
css
(
"cursor"
,
"pointer"
);
$
(
".template-list-table th a"
).
on
(
"click"
,
function
(
event
)
{
event
.
preventDefault
();
});
});
...
...
circle/dashboard/static/dashboard/vm-list.js
View file @
48c97b9f
...
...
@@ -175,9 +175,12 @@ $(function() {
$
(
".vm-list-table thead th"
).
eq
(
data
.
column
).
append
(
icon_html
);
});
//$(".vm-list-table thead th a").attr("href", "#");
// only if js is enabled
$
(
".vm-list-table thead th"
).
css
(
"cursor"
,
"pointer"
);
$
(
".vm-list-table th a"
).
on
(
"click"
,
function
(
event
)
{
event
.
preventDefault
();
});
});
function
isAlreadySelected
(
vm
)
{
...
...
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