Commit 132cabb2 by Dányi Bence

webui: static files separated

parent 142531fe
...@@ -3,7 +3,7 @@ body ...@@ -3,7 +3,7 @@ body
min-height:100%; min-height:100%;
font-family: 'Titillium Web', sans-serif; font-family: 'Titillium Web', sans-serif;
font-size:.9em; font-size:.9em;
background:#dadada url(site_bgr.png) repeat-x; background:#dadada url(/static/image/site_bgr.png) repeat-x;
background-position:80px 0; background-position:80px 0;
margin:0; margin:0;
padding:0; padding:0;
...@@ -32,7 +32,7 @@ body ...@@ -32,7 +32,7 @@ body
h2 h2
{ {
background-color:#000; background-color:#000;
background-image:url(hexabar.png); background-image:url(/static/image/hexabar.png);
background-position:right center; background-position:right center;
background-repeat:no-repeat; background-repeat:no-repeat;
border-radius:4px; border-radius:4px;
...@@ -73,28 +73,28 @@ ul.messagelist li ...@@ -73,28 +73,28 @@ ul.messagelist li
display:block; display:block;
border-bottom:1px solid #ddd; border-bottom:1px solid #ddd;
color:#666; color:#666;
background:#ffc url(admin/img/icon_success.gif) 5px .3em no-repeat; background:#ffc url(/static/admin/img/icon_success.gif) 5px .3em no-repeat;
margin:0 0 3px; margin:0 0 3px;
padding:4px 5px 4px 25px; padding:4px 5px 4px 25px;
} }
ul.messagelist li.warning ul.messagelist li.warning
{ {
background-image:url(admin/img/icon_alert.gif); background-image:url(/static/admin/img/icon_alert.gif);
} }
ul.messagelist li.error ul.messagelist li.error
{ {
background-image:url(admin/img/icon_error.gif); background-image:url(/static/admin/img/icon_error.gif);
} }
input.validated { input.validated {
padding-right: 15px; padding-right: 15px;
background-image: url(admin/img/icon_success.gif); background-image: url(/static/admin/img/icon_success.gif);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right center; background-position: right center;
&.error &.error
{ {
background:#fcc url(admin/img/icon_error.gif) right center no-repeat; background:#fcc url(/static/admin/img/icon_error.gif) right center no-repeat;
padding-right: 15px; padding-right: 15px;
} }
} }
...@@ -105,7 +105,7 @@ input.validated { ...@@ -105,7 +105,7 @@ input.validated {
display:block; display:block;
border:1px solid red; border:1px solid red;
color:red; color:red;
background:#ffc url(admin/img/icon_error.gif) 5px .3em no-repeat; background:#ffc url(/static/admin/img/icon_error.gif) 5px .3em no-repeat;
margin:0 0 3px; margin:0 0 3px;
padding:4px 5px 4px 25px; padding:4px 5px 4px 25px;
} }
...@@ -116,7 +116,7 @@ input.validated { ...@@ -116,7 +116,7 @@ input.validated {
display:block; display:block;
border:1px solid red; border:1px solid red;
color:#FFF; color:#FFF;
background:red url(admin/img/icon_alert.gif) 5px .3em no-repeat; background:red url(/static/admin/img/icon_alert.gif) 5px .3em no-repeat;
margin:0 0 3px; margin:0 0 3px;
padding:4px 5px 4px 25px; padding:4px 5px 4px 25px;
} }
...@@ -153,7 +153,7 @@ div.system-message ...@@ -153,7 +153,7 @@ div.system-message
div.system-message p.system-message-title div.system-message p.system-message-title
{ {
color:red; color:red;
background:#ffc url(admin/img/icon_error.gif) 5px .3em no-repeat; background:#ffc url(/static/admin/img/icon_error.gif) 5px .3em no-repeat;
margin:0; margin:0;
padding:4px 5px 4px 25px; padding:4px 5px 4px 25px;
} }
...@@ -228,11 +228,11 @@ textarea { ...@@ -228,11 +228,11 @@ textarea {
.hidden-password { .hidden-password {
padding-right: 25px; padding-right: 25px;
background-image: url(icons/eye-half.png); background-image: url(/static/icons/eye-half.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right center; background-position: right center;
cursor: pointer; cursor: pointer;
&.shown { &.shown {
background-image: url(icons/eye.png); background-image: url(/static/icons/eye.png);
} }
} }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.box .box
{ {
background-color:#000; background-color:#000;
background-image:url(hexa.png); background-image:url(/static/image/hexa.png);
background-position:center 30%; background-position:center 30%;
background-repeat:no-repeat; background-repeat:no-repeat;
color:#fff; color:#fff;
...@@ -131,12 +131,12 @@ ...@@ -131,12 +131,12 @@
transition: background-color 0.3s; transition: background-color 0.3s;
&.unfinished{ &.unfinished{
background-color: rgb(252, 252, 108); background-color: rgb(252, 252, 108);
background-image: url(constr.png); background-image: url(/static/image/constr.png);
background-position: right top; background-position: right top;
background-repeat: no-repeat; background-repeat: no-repeat;
&:hover{ &:hover{
background-color: rgb(236, 236, 106); background-color: rgb(236, 236, 106);
background-image: url(constr.png); background-image: url(/static/image/constr.png);
} }
} }
&.selected-summary{ &.selected-summary{
...@@ -271,31 +271,31 @@ ...@@ -271,31 +271,31 @@
} }
.name{ .name{
float: none; float: none;
background-image: url(icons/computer.png); background-image: url(/static/icons/computer.png);
} }
.os-win{ .os-win{
background-image: url(icons/windows.png) background-image: url(/static/icons/windows.png)
} }
.os-linux{ .os-linux{
background-image: url(icons/animal-penguin.png) background-image: url(/static/icons/animal-penguin.png)
} }
.template{ .template{
background-image: url(icons/document-template.png) background-image: url(/static/icons/document-template.png)
} }
.type{ .type{
background-image: url(icons/box-share.png) background-image: url(/static/icons/box-share.png)
} }
.date{ .date{
background-image: url(icons/calendar-day.png) background-image: url(/static/icons/calendar-day.png)
} }
.cpu{ .cpu{
background-image: url(icons/processor.png) background-image: url(/static/icons/processor.png)
} }
.memory{ .memory{
background-image: url(icons/memory.png) background-image: url(/static/icons/memory.png)
} }
.count{ .count{
background-image: url(icons/documents-stack.png) background-image: url(/static/icons/documents-stack.png)
} }
.value{ .value{
float: right; float: right;
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
} }
.description{ .description{
font-size: inherit; font-size: inherit;
background-image: url(icons/document-snippet.png); background-image: url(/static/icons/document-snippet.png);
.value{ .value{
font-size: 0.8em; font-size: 0.8em;
word-spacing: 3px; word-spacing: 3px;
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
} }
} }
&.new .name{ &.new .name{
background-image: url(icons/computer--plus.png); background-image: url(/static/icons/computer--plus.png);
} }
} }
#new-share .type-summary, .share-type .value { #new-share .type-summary, .share-type .value {
...@@ -326,10 +326,10 @@ ...@@ -326,10 +326,10 @@
background-repeat: no-repeat; background-repeat: no-repeat;
padding-left: 18px; padding-left: 18px;
&.suspend{ &.suspend{
background-image: url(icons/control-pause.png) background-image: url(/static/icons/control-pause.png)
} }
&.delete{ &.delete{
background-image: url(icons/minus-circle.png) background-image: url(/static/icons/minus-circle.png)
} }
} }
} }
...@@ -343,13 +343,13 @@ ...@@ -343,13 +343,13 @@
background-repeat: no-repeat; background-repeat: no-repeat;
padding-left: 18px; padding-left: 18px;
&.cpu{ &.cpu{
background-image: url(icons/processor.png) background-image: url(/static/icons/processor.png)
} }
&.memory{ &.memory{
background-image: url(icons/memory.png) background-image: url(/static/icons/memory.png)
} }
&.credit{ &.credit{
background-image: url(icons/point.png) background-image: url(/static/icons/point.png)
} }
} }
} }
...@@ -398,74 +398,74 @@ ...@@ -398,74 +398,74 @@
} }
} }
.filetype-c { .filetype-c {
background-image: url(icons/document-visual-studio.png); background-image: url(/static/icons/document-visual-studio.png);
} }
.filetype-text { .filetype-text {
background-image: url(icons/document.png); background-image: url(/static/icons/document.png);
} }
.filetype-image { .filetype-image {
background-image: url(icons/document-image.png); background-image: url(/static/icons/document-image.png);
} }
.filetype-zip { .filetype-zip {
background-image: url(icons/folder-zipper.png); background-image: url(/static/icons/folder-zipper.png);
} }
.filetype-pdf { .filetype-pdf {
background-image: url(icons/document-pdf.png); background-image: url(/static/icons/document-pdf.png);
} }
.filetype-doc { .filetype-doc {
background-image: url(icons/document-word.png); background-image: url(/static/icons/document-word.png);
} }
.filetype-excel { .filetype-excel {
background-image: url(icons/document-excel.png); background-image: url(/static/icons/document-excel.png);
} }
.filetype-csv { .filetype-csv {
background-image: url(icons/document-excel-csv.png); background-image: url(/static/icons/document-excel-csv.png);
} }
.filetype-php { .filetype-php {
background-image: url(icons/document-php.png); background-image: url(/static/icons/document-php.png);
} }
.filetype-tex { .filetype-tex {
background-image: url(icons/document-tex.png); background-image: url(/static/icons/document-tex.png);
} }
.filetype-ppt { .filetype-ppt {
background-image: url(icons/document-powerpoint.png); background-image: url(/static/icons/document-powerpoint.png);
} }
.filetype-music { .filetype-music {
background-image: url(icons/document-music.png); background-image: url(/static/icons/document-music.png);
} }
.filetype-movie { .filetype-movie {
background-image: url(icons/document-film.png); background-image: url(/static/icons/document-film.png);
} }
.filetype-folder { .filetype-folder {
background-image: url(icons/folder.png); background-image: url(/static/icons/folder.png);
} }
.toplist { .toplist {
background-image: url(icons/arrow-circle-double.png); background-image: url(/static/icons/arrow-circle-double.png);
} }
.filetype-up { .filetype-up {
background-image: url(icons/upload-cloud.png); background-image: url(/static/icons/upload-cloud.png);
} }
.filetype-new-folder { .filetype-new-folder {
background-image: url(icons/folder--plus.png); background-image: url(/static/icons/folder--plus.png);
} }
.filetype-jump-out { .filetype-jump-out {
background-image: url(icons/arrow-curve-090.png); background-image: url(/static/icons/arrow-curve-090.png);
} }
.vm-on{ .vm-on{
background-image: url(icons/computer-cloud.png); background-image: url(/static/icons/computer-cloud.png);
} }
.vm-off{ .vm-off{
background-image: url(icons/computer-off.png); background-image: url(/static/icons/computer-off.png);
} }
#template .wm .summary .name{ #template .wm .summary .name{
background-image: url(icons/document-template.png) background-image: url(/static/icons/document-template.png)
} }
#template .wm .public-template .name{ #template .wm .public-template .name{
background-image: url(icons/blue-document-share.png) background-image: url(/static/icons/blue-document-share.png)
} }
#new-template-button .name{ #new-template-button .name{
background-image: url(icons/document--plus.png) !important background-image: url(/static/icons/document--plus.png) !important
} }
.wm-list.modal{ .wm-list.modal{
border-radius: 4px; border-radius: 4px;
...@@ -536,31 +536,31 @@ table { ...@@ -536,31 +536,31 @@ table {
.entry { .entry {
.summary { .summary {
.name { .name {
background-image: url(icons/users.png); background-image: url(/static/icons/users.png);
} }
} }
} }
#new-group { #new-group {
.summary .name { .summary .name {
background-image: url(icons/user--plus.png); background-image: url(/static/icons/user--plus.png);
} }
} }
#show-hidden-groups .summary .name { #show-hidden-groups .summary .name {
background-image: url(icons/eye.png); background-image: url(/static/icons/eye.png);
} }
} }
#group-members, #group-owners { #group-members, #group-owners {
.summary .name { .summary .name {
background-image: url(icons/user.png); background-image: url(/static/icons/user.png);
float: left; float: left;
} }
} }
#new-member, #new-owner { #new-member, #new-owner {
.name { .name {
background-image: url(icons/user--plus.png) !important; background-image: url(/static/icons/user--plus.png) !important;
float: left; float: left;
} }
#new-member-form, #new-owner-form { #new-member-form, #new-owner-form {
......
#header { #header {
height:80px; height:80px;
background-color:#072c61; background-color:#072c61;
background-image:url(bme_feher2.png); background-image:url(/static/image/bme_feher2.png);
background-repeat:no-repeat; background-repeat:no-repeat;
background-position:20px 18px; background-position:20px 18px;
border-bottom:3px solid #0B4599; border-bottom:3px solid #0B4599;
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
right:0; right:0;
top:0; top:0;
background-color:#000; background-color:#000;
background-image:url(hexabar.png); background-image:url(/static/image/hexabar.png);
background-position:center center; background-position:center center;
border-radius:0 0 0 10px; border-radius:0 0 0 10px;
color:#fff; color:#fff;
......
...@@ -6,17 +6,17 @@ ...@@ -6,17 +6,17 @@
<title>{% block title %}IK Cloud{% endblock %}</title> <title>{% block title %}IK Cloud{% endblock %}</title>
<link href="https://fonts.googleapis.com/css?family=Titillium+Web&amp;subset=latin,latin-ext" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Titillium+Web&amp;subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link rel="icon" type="image/png" href="/static/favicon.png" /> <link rel="icon" type="image/png" href="/static/favicon.png" />
<link rel="stylesheet/less" href="/static/style.less" /> <link rel="stylesheet/less" href="/static/style/style.less" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="/static/jquery.min.js"></script> <script src="/static/script/jquery.min.js"></script>
<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script> <script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
<script type="text/javascript"> <script type="text/javascript">
//window.localStorage.clear(); //window.localStorage.clear();
var current_user={{user.id}}; var current_user={{user.id}};
</script> </script>
<script src="/static/less.min.js"></script> <script src="/static/script/less.min.js"></script>
<script src="/static/knockout.min.js"></script> <script src="/static/script/knockout.min.js"></script>
<script type="text/javascript" src="/static/cloud.js"></script> <script type="text/javascript" src="/static/script/cloud.js"></script>
{{ form.media }} {{ form.media }}
{% block js %}{% endblock %} {% block js %}{% endblock %}
</head> </head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment