Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Respect My Net
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
piks3l
Respect My Net
Commits
cc205c77
Commit
cc205c77
authored
Feb 16, 2016
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing the MEDIA_URL in the templates
parent
ed78a365
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
nnmon/templates/list.html
nnmon/templates/list.html
+8
-8
nnmon/templates/search/search.html
nnmon/templates/search/search.html
+8
-8
No files found.
nnmon/templates/list.html
View file @
cc205c77
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{% load i18n %}
{% load i18n %}
{% block active_tab_cases %}id="current"{% endblock %}
{% block active_tab_cases %}id="current"{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"
{{ MEDIA_URL }}
/css/map.css"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"
/static
/css/map.css"
type=
"text/css"
/>
{% endblock %}
{% endblock %}
{% block head %}
{% block head %}
...
@@ -12,13 +12,13 @@
...
@@ -12,13 +12,13 @@
{% block scripts %}
{% block scripts %}
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/jquery.tablesorter.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/jquery.tablesorter.js"
></script>
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/picnet.table.filter.min.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/picnet.table.filter.min.js"
></script>
<script
type=
"text/javascript"
src=
'
{{ MEDIA_URL }}
/js/d3.min.js'
></script>
<script
type=
"text/javascript"
src=
'
/static
/js/d3.min.js'
></script>
<script
type=
"text/javascript"
src=
'
{{ MEDIA_URL }}
/js/topojson.min.js'
></script>
<script
type=
"text/javascript"
src=
'
/static
/js/topojson.min.js'
></script>
<script
type=
"text/javascript"
src=
'
{{ MEDIA_URL }}
/js/datamaps.js'
></script>
<script
type=
"text/javascript"
src=
'
/static
/js/datamaps.js'
></script>
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/map.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/map.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
data
=
{
%
if
countryweights
%
}{{
countryweights
|
safe
}}{
%
else
%
}[]{
%
endif
%
};
var
data
=
{
%
if
countryweights
%
}{{
countryweights
|
safe
}}{
%
else
%
}[]{
%
endif
%
};
var
country
=
"
{{country}}
"
;
var
country
=
"
{{country}}
"
;
...
...
nnmon/templates/search/search.html
View file @
cc205c77
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{% load i18n %}
{% load i18n %}
{% block active_tab_search %}id="current"{% endblock %}
{% block active_tab_search %}id="current"{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"
{{ MEDIA_URL }}
/css/map.css"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"
/static
/css/map.css"
type=
"text/css"
/>
{% endblock %}
{% endblock %}
{% block head %}
{% block head %}
...
@@ -11,13 +11,13 @@
...
@@ -11,13 +11,13 @@
{% endblock %}
{% endblock %}
{% block scripts %}
{% block scripts %}
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/jquery.tablesorter.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/jquery.tablesorter.js"
></script>
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/picnet.table.filter.min.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/picnet.table.filter.min.js"
></script>
<script
type=
"text/javascript"
src=
'
{{ MEDIA_URL }}
/js/d3.min.js'
></script>
<script
type=
"text/javascript"
src=
'
/static
/js/d3.min.js'
></script>
<script
type=
"text/javascript"
src=
'
{{ MEDIA_URL }}
/js/topojson.min.js'
></script>
<script
type=
"text/javascript"
src=
'
/static
/js/topojson.min.js'
></script>
<script
type=
"text/javascript"
src=
'
{{ MEDIA_URL }}
/js/datamaps.js'
></script>
<script
type=
"text/javascript"
src=
'
/static
/js/datamaps.js'
></script>
<script
type=
"text/javascript"
src=
"
{{ MEDIA_URL }}
/js/map.js"
></script>
<script
type=
"text/javascript"
src=
"
/static
/js/map.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
data
=
{
%
if
countryweights
%
}{{
countryweights
|
safe
}}{
%
else
%
}[]{
%
endif
%
};
var
data
=
{
%
if
countryweights
%
}{{
countryweights
|
safe
}}{
%
else
%
}[]{
%
endif
%
};
var
country
=
"
{{country}}
"
;
var
country
=
"
{{country}}
"
;
...
...
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