Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4ebd33f7
authored
Mar 07, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: use minified files in production env
parent
da1a159e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
one/templates/base.html
+10
-5
one/templates/home.html
+3
-1
No files found.
one/templates/base.html
View file @
4ebd33f7
...
...
@@ -5,9 +5,10 @@
<html
lang=
"{{lang}}"
>
<head>
<title>
{% block title %}IK Cloud{% endblock %}
</title>
<link
href=
"https://fonts.googleapis.com/css?family=Titillium+Web&subset=latin,latin-ext"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Titillium+Web&subset=latin,latin-ext"
rel=
"stylesheet"
type=
"text/css"
/
>
<link
rel=
"icon"
type=
"image/png"
href=
"{% static "
favicon
.
png
"
%}"
/>
<link
rel=
"stylesheet/less"
href=
"{% static "
style
/
style
.
less
"
%}"
/>
{% if DEBUG %}
<link
rel=
"stylesheet/less"
href=
"{% static "
style
/
style
.
less
"
%}"
/>
{% else %}
<link
href=
"{% static "
style
/
style
.
css
"
%}"
rel=
"stylesheet"
type=
"text/css"
/>
{% endif %}
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<script
src=
"{% static "
script
/
jquery
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% url django.views.i18n.javascript_catalog %}"
></script>
...
...
@@ -15,10 +16,14 @@
window
.
localStorage
.
removeItem
(
'https://cloud.ik.bme.hu/static/style/style.less:timestamp'
);
var
current_user
=
{{
user
.
id
}};
</script>
<script
src=
"{% static "
script
/
less
.
min
.
js
"
%}"
></script>
{% if DEBUG %}
<script
src=
"{% static "
script
/
less
.
min
.
js
"
%}"
></script>
{% endif %}
<script
src=
"{% static "
script
/
knockout
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
script
/
util
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
script
/
cloud
.
js
"
%}"
></script>
{% if DEBUG %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
util
.
js
"
%}"
></script>
{% else %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
util
.
min
.
js
"
%}"
></script>
{% endif %}
{% if DEBUG %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
cloud
.
js
"
%}"
></script>
{% else %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
cloud
.
min
.
js
"
%}"
></script>
{% endif %}
{{ form.media }}
{% block js %}{% endblock %}
</head>
...
...
one/templates/home.html
View file @
4ebd33f7
...
...
@@ -3,7 +3,9 @@
{% load staticfiles %}
{% get_current_language as LANGUAGE_CODE %}
{% block js %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
store
.
js
"
%}"
></script>
{% if DEBUG %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
store
.
js
"
%}"
></script>
{% else %}
<script
type=
"text/javascript"
src=
"{% static "
script
/
store
.
min
.
js
"
%}"
></script>
{% endif %}
{% endblock %}
{% block content %}
<div
class=
"boxes"
>
...
...
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