Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
58fc2000
Commit
58fc2000
authored
12 years ago
by
Prem Sichanugrist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use `static.url` for static assets
parent
9dc5cdde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
cms/templates/base.html
+15
-15
No files found.
cms/templates/base.html
View file @
58fc2000
...
...
@@ -9,26 +9,26 @@
% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<
%
static:css
group=
'base-style'
/>
% else:
<link
rel=
"stylesheet"
href=
"${
STATIC_URL }/css/base-style.css
"
>
<link
rel=
"stylesheet"
href=
"${
static.url('css/base-style.css')}
"
>
% endif
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${
STATIC_URL }/js/vendor/markitup/skins/simple/style.css
"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${
STATIC_URL }/js/vendor/markitup/sets/wiki/style.css
"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${
static.url('js/vendor/markitup/skins/simple/style.css')}
"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"${
static.url('js/vendor/markitup/sets/wiki/style.css')}
"
/>
<title><
%
block
name=
"title"
></
%
block></title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
>
</head>
<body>
<
%
include
file=
"widgets/header.html"
/>
<
%
include
file=
"widgets/header.html"
/>
<
%
block
name=
"content"
></
%
block>
<
%
block
name=
"content"
></
%
block>
<script
type=
"text/javascript"
src=
"${
STATIC_URL}/js/vendor/jquery.min.js
"
></script>
<script
type=
"text/javascript"
src=
"${
STATIC_URL}/js/vendor/json2.js
"
></script>
<script
type=
"text/javascript"
src=
"${
STATIC_URL}/js/vendor/underscore-min.js
"
></script>
<script
type=
"text/javascript"
src=
"${
STATIC_URL}/js/vendor/backbone-min.js
"
></script>
<script
type=
"text/javascript"
src=
"${
STATIC_URL }/js/vendor/markitup/jquery.markitup.js
"
></script>
<script
type=
"text/javascript"
src=
"${
STATIC_URL }/js/vendor/markitup/sets/wiki/set.js"
></script>
<script
type=
"text/javascript"
src=
"${
static.url('js/vendor/jquery.min.js')}
"
></script>
<script
type=
"text/javascript"
src=
"${
static.url('js/vendor/json2.js')}
"
></script>
<script
type=
"text/javascript"
src=
"${
static.url('js/vendor/underscore-min.js')}
"
></script>
<script
type=
"text/javascript"
src=
"${
static.url('js/vendor/backbone-min.js')}
"
></script>
<script
type=
"text/javascript"
src=
"${
static.url('js/vendor/markitup/jquery.markitup.js')}
"
></script>
<script
type=
"text/javascript"
src=
"${
static.url('js/vendor/markitup/sets/wiki/set.js"
')}
></script>
% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<
%
static:js
group=
'main'
/>
% else:
...
...
@@ -36,10 +36,10 @@
% endif
<
%
static:js
group=
'module-js'
/>
<script
src=
"${
STATIC_URL }/js/vendor/jquery.inlineedit.js
"
></script>
<script
src=
"${
STATIC_URL }/js/vendor/jquery.cookie.js
"
></script>
<script
src=
"${
STATIC_URL }/js/vendor/jquery.leanModal.min.js
"
></script>
<script
src=
"${
STATIC_URL }/js/vendor/jquery.tablednd.js
"
></script>
<script
src=
"${
static.url('js/vendor/jquery.inlineedit.js')}
"
></script>
<script
src=
"${
static.url('js/vendor/jquery.cookie.js')}
"
></script>
<script
src=
"${
static.url('js/vendor/jquery.leanModal.min.js')}
"
></script>
<script
src=
"${
static.url('js/vendor/jquery.tablednd.js')}
"
></script>
</body>
</html>
...
...
This diff is collapsed.
Click to expand it.
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