Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cmsos
worksuite
Commits
fb692400
Commit
fb692400
authored
Sep 23, 2021
by
Dainius Simelevicius
Browse files
references #262: fixing links to hotspot and coldspot from spotlightocci
parent
b2c23fd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
sentinel/spotlightocci/include/sentinel/spotlightocci/version.h
View file @
fb692400
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
// !!! Edit this line to reflect the latest package version !!!
// !!! Edit this line to reflect the latest package version !!!
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MAJOR 4
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MAJOR 4
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MINOR
3
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_MINOR
4
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_PATCH 0
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_VERSION_PATCH 0
// If any previous versions available E.g. #define WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
// If any previous versions available E.g. #define WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "4.1.0,4.1.1,4.2.0"
#define WORKSUITE_SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "4.1.0,4.1.1,4.2.0
,4.3.0
"
//
//
...
...
sentinel/spotlightocci/src/common/Application.cc
View file @
fb692400
...
@@ -1493,11 +1493,8 @@ void sentinel::spotlightocci::Application::HotspotTabPage (xgi::Output * out)
...
@@ -1493,11 +1493,8 @@ void sentinel::spotlightocci::Application::HotspotTabPage (xgi::Output * out)
std
::
stringstream
to
;
std
::
stringstream
to
;
to
<<
this
->
getApplicationDescriptor
()
->
getContextDescriptor
()
->
getURL
();
to
<<
this
->
getApplicationDescriptor
()
->
getContextDescriptor
()
->
getURL
();
//std::string url = toolbox::escape(to.str());
std
::
string
url
=
cgicc
::
form_urlencode
(
to
.
str
());
std
::
string
url
=
cgicc
::
form_urlencode
(
to
.
str
());
std
::
string
model
=
cgicc
::
form_urlencode
(
"https://xdaq.web.cern.ch/xdaq/setup/13/"
+
zone
+
"/defaultmodel.xml"
);
*
out
<<
"<a href=
\"
http://xubernetes.cms/"
<<
zone
<<
"/hotspot/"
<<
"
\"
target=
\"
_blank
\"
><button><br/><img src=
\"
/sentinel/images/hotspot-icon.png
\"
style=
\"
height: 80px;
\"
><br />Hotspot<br/><br/></button></a>"
;
// *out << "<a href=\"https://xdaq.web.cern.ch/xdaq/xmas/13/hotspot/hotspot.swf?confPath=" << url << "&autoStart=true\" target=\"_blank\">Hotspot Flex Interface Test</a>";
*
out
<<
" <a href=
\"
http://xubernetes.cms/"
<<
zone
<<
"/coldspot/"
<<
"
\"
target=
\"
_blank
\"
><button><br/><img src=
\"
/sentinel/images/coldspot-icon.png
\"
style=
\"
height: 80px;
\"
><br />Coldspot<br/><br/></button></a>"
;
*
out
<<
"<a href=
\"
https://xdaq.web.cern.ch/xdaq/xmas/13/hotspot/hotspot.swf?spotlighturl="
<<
url
<<
"&sysmodelurl="
<<
model
<<
"
\"
target=
\"
_blank
\"
><button><br/><img src=
\"
/sentinel/images/hotspot-icon.png
\"
style=
\"
height: 80px;
\"
><br />Hotspot Flex Interface<br/><br/></button></a>"
;
*
out
<<
" <a href=
\"
https://xdaq.web.cern.ch/xdaq/xmas/13/coldspot/coldspot.swf?spotlighturl="
<<
url
<<
"&sysmodelurl="
<<
model
<<
"
\"
target=
\"
_blank
\"
><button><br/><img src=
\"
/sentinel/images/coldspot-icon.png
\"
style=
\"
height: 80px;
\"
><br />Coldspot Flex Interface<br/><br/></button></a>"
;
}
}
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