Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BiG-SCAPE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gebretsadkan, Samuel
BiG-SCAPE
Commits
f26f9761
Commit
f26f9761
authored
7 years ago
by
Satria Ardhe Kautsar
Browse files
Options
Downloads
Patches
Plain Diff
fix issue of 'cached' networks
parent
5772afee
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
html_template/index.html
+12
-9
12 additions, 9 deletions
html_template/index.html
html_template/networks/index_html
+4
-0
4 additions, 0 deletions
html_template/networks/index_html
with
16 additions
and
9 deletions
html_template/index.html
+
12
−
9
View file @
f26f9761
...
...
@@ -2,6 +2,9 @@
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
'cache-control'
content=
'no-cache'
>
<meta
http-equiv=
'expires'
content=
'0'
>
<meta
http-equiv=
'pragma'
content=
'no-cache'
>
<title>
BiG-SCAPE result XXX
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"./css/style.css"
>
</head>
...
...
@@ -72,14 +75,14 @@
var
dropmenu
=
$
(
"
<div class='cldropdown'></div>
"
);
for
(
var
j
in
module
[
"
results
"
])
{
var
res
=
module
[
"
results
"
][
j
];
var
a2
=
$
(
"
<a href='#'>
"
+
res
+
"
</a>
"
);
a2
.
click
({
module
:
module
},
function
(
handler
){
$
(
"
.clbutton
"
).
removeClass
(
"
selected
"
);
$
(
handler
.
target
).
parent
().
parent
().
addClass
(
"
selected
"
);
$
(
"
.clbutton:not(.selected)
"
).
addClass
(
"
inactive
"
);
$
(
handler
.
target
).
parent
().
parent
().
removeClass
(
"
inactive
"
);
loadNetwork
(
handler
.
data
.
module
[
"
name
"
],
res
);
});
var
a2
=
$
(
"
<a href='#'>
"
+
res
+
"
</a>
"
);
a2
.
click
({
module
:
module
,
res
:
res
},
function
(
handler
){
$
(
"
.clbutton
"
).
removeClass
(
"
selected
"
);
$
(
handler
.
target
).
parent
().
parent
().
addClass
(
"
selected
"
);
$
(
"
.clbutton:not(.selected)
"
).
addClass
(
"
inactive
"
);
$
(
handler
.
target
).
parent
().
parent
().
removeClass
(
"
inactive
"
);
loadNetwork
(
handler
.
data
.
module
[
"
name
"
],
handler
.
data
.
res
);
});
dropmenu
.
append
(
a2
);
}
li
.
addClass
(
module
[
"
css
"
]);
...
...
@@ -110,4 +113,4 @@
});
});
</script>
</html>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
html_template/networks/index_html
+
4
−
0
View file @
f26f9761
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
'cache-control'
content=
'no-cache'
>
<meta
http-equiv=
'expires'
content=
'0'
>
<meta
http-equiv=
'pragma'
content=
'no-cache'
>
<title>
BiG-SCAPE Result
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../../css/style.css"
>
</head>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment