Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
51adca8a
Commit
51adca8a
authored
Oct 24, 2016
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes to no-require portal pages. Update fetchTemplate to reduce DOM tree naming conflicts.
parent
24ff720d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
www/aptui/adminextend.php
www/aptui/adminextend.php
+1
-1
www/aptui/js/cluster-graphs.js
www/aptui/js/cluster-graphs.js
+1
-1
www/aptui/js/common.js
www/aptui/js/common.js
+1
-1
No files found.
www/aptui/adminextend.php
View file @
51adca8a
...
...
@@ -115,7 +115,7 @@ echo "<div id='main-body'></div>\n";
REQUIRE_UNDERSCORE
();
REQUIRE_SUP
();
REQUIRE_MOMENT
();
REQUIRE_IDLE
_
GRAPHS
();
REQUIRE_IDLEGRAPHS
();
SPITREQUIRE
(
"js/adminextend.js"
,
"<script src='js/lib/d3.v3.js'></script>"
.
...
...
www/aptui/js/cluster-graphs.js
View file @
51adca8a
...
...
@@ -13,7 +13,7 @@ $(function ()
window
.
APT_OPTIONS
.
initialize
(
sup
);
mainsite
=
window
.
MAINSITE
;
$
(
'
#cluster-graphs
'
)
$
(
'
div
#cluster-graphs
'
)
.
html
(
template
({
"
mainsite
"
:
mainsite
}));
if
(
mainsite
)
{
...
...
www/aptui/js/common.js
View file @
51adca8a
...
...
@@ -160,7 +160,7 @@ window.APT_OPTIONS.nagPI = function (pid) {
window
.
APT_OPTIONS
.
fetchTemplate
=
function
(
name
)
{
var
result
=
''
;
var
element
=
document
.
getElementById
(
name
);
var
element
=
document
.
querySelector
(
'
script#
'
+
name
);
if
(
element
)
{
result
=
atob
(
element
.
innerHTML
);
...
...
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