Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xnat-web
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
Service Desk
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
dhcp
xnat-web
Commits
89510b5b
Commit
89510b5b
authored
8 years ago
by
Justin Cleveland
Browse files
Options
Downloads
Patches
Plain Diff
relocating theme.json so it's not accessible from web path
parent
09905ee6
No related branches found
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
src/main/webapp/xnat-templates/navigations/HeaderIncludes.vm
+0
-1
0 additions, 1 deletion
src/main/webapp/xnat-templates/navigations/HeaderIncludes.vm
src/main/webapp/xnat-templates/navigations/htmlOpen.vm
+9
-11
9 additions, 11 deletions
src/main/webapp/xnat-templates/navigations/htmlOpen.vm
with
9 additions
and
12 deletions
src/main/webapp/xnat-templates/navigations/HeaderIncludes.vm
+
0
−
1
View file @
89510b5b
...
...
@@ -21,7 +21,6 @@
<!-- set global vars that are used often -->
<script
type=
"text/javascript"
>
var
XNAT
=
{
};
var
serverRoot
=
"
$
content
.
getURI
(
''
)
"
;
var
csrfToken
=
"
$
!data.getSession().getAttribute(
"
XNAT_CSRF
"
)
"
;
var
showReason
=
typeof
$
showReason
!=
'
undefined
'
?
$
showReason
:
null
;
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/xnat-templates/navigations/htmlOpen.vm
+
9
−
11
View file @
89510b5b
...
...
@@ -8,17 +8,15 @@
##<!-- the "no-js" class is for Modernizr - are we even using that? -->
<head>
#
if
($
themedRedirect
)
<!-- Reload the appropriate page if a global theme style specifies a redirect -->
<script
type=
"text/javascript"
>
window
.
location
=
"
$
content
.
getURI
(
""
)$
themedRedirect
"
;
</script>
#
end
#
if
($
theme
)
<script
type=
"text/javascript"
>
XNAT
.
theme
=
"
$
theme
"
;
</script>
#
end
<script
type=
"text/javascript"
>
var
XNAT
=
{
};
#
if
($
themedRedirect
)
<!--
Reload
the
appropriate
page
if
a
global
theme
style
specifies
a
redirect
-->
window
.
location
=
"
$
content
.
getURI
(
""
)$
themedRedirect
"
;
#
end
#
if
($
theme
)
XNAT
.
theme
=
"
$
theme
"
;
#
end
</script>
<!-- path: xnat-templates/navigations/htmlOpen -->
<title>
$
!systemName
</title>
...
...
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