Commit 548848ba authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos

Changed folder static to fodstatic to ease development and debugging

parent 62ee35d6
......@@ -39,7 +39,7 @@ a:hover {
}
*/
#main {
background: url("/static/background.png") repeat-x scroll 0 0 #FFFFFF;
background: url("/fodstatic/background.png") repeat-x scroll 0 0 #FFFFFF;
padding: 0;
margin: 0;
}
......@@ -75,7 +75,7 @@ a:hover {
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
background: url("/static/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
background: url("/fodstatic/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
border-color: #E9E9E9 #E9E9E9 #F5F5F5;
border-style: solid;
border-width: 1px;
......@@ -94,7 +94,7 @@ a:hover {
.topmenuaction{
padding: 4px;
background: url("/static/rule.png") no-repeat scroll 0 50% transparent;
background: url("/fodstatic/rule.png") no-repeat scroll 0 50% transparent;
}
body {
......@@ -272,7 +272,7 @@ textarea#id_comments {
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
background: url("/static/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
background: url("/fodstatic/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
border-color: #E9E9E9 #E9E9E9 #F5F5F5;
border-style: solid;
border-width: 1px;
......@@ -297,7 +297,7 @@ textarea#id_comments {
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
background: url("/static/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
background: url("/fodstatic/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
border-color: #E9E9E9 #E9E9E9 #F5F5F5;
border-style: solid;
border-width: 1px;
......@@ -340,7 +340,7 @@ margin: 1px;
text-decoration: none;
}
.table_title{
background: url("/static/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
background: url("/fodstatic/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
}
.inner_table{
border-collapse: collapse;
......@@ -351,14 +351,14 @@ margin: 1px;
padding: 0px !important;
}
.table_top_header{
background: url("/static/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png") repeat-x scroll 50% 50% #CCCCCC;
background: url("/fodstatic/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png") repeat-x scroll 50% 50% #CCCCCC;
}
.borderless{
border: 0 none !important;
}
.inner_category{
width: 35%;
background: url("/static/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
background: url("/fodstatic/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
border-left: 0 none !important;
}
.no_brd_right{
......@@ -401,7 +401,7 @@ margin: 1px;
.conf_table th{
font-weight: normal;
background-color: #ECECEC; /* fallback color if gradients are not supported */
background: url("/static/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
background: url("/fodstatic/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
border-bottom: 1px solid #D9D9D9;
}
.conf_table{
......@@ -417,7 +417,7 @@ margin: 1px;
}
.conf_table .table_topper_header{
font-weight: bold;
background: url("/static/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png") repeat-x scroll 50% 50% #CCCCCC;
background: url("/fodstatic/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png") repeat-x scroll 50% 50% #CCCCCC;
}
.instance_det_table{
border-collapse: collapse;
......@@ -513,12 +513,12 @@ table.table thead .sorting_desc_disabled {
*cursor: hand;
}
table.table thead .sorting { background: url('/static/img/sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('/static/img/sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('/static/img/sort_desc.png') no-repeat center right; }
table.table thead .sorting { background: url('/fodstatic/img/sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('/fodstatic/img/sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('/fodstatic/img/sort_desc.png') no-repeat center right; }
table.table thead .sorting_asc_disabled { background: url('/static/img/sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('/static/img/sort_desc_disabled.png') no-repeat center right; }
table.table thead .sorting_asc_disabled { background: url('/fodstatic/img/sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('/fodstatic/img/sort_desc_disabled.png') no-repeat center right; }
table.dataTable th:active {
outline: none;
......
......@@ -11,7 +11,7 @@ div#itoggle label.itoggle span{
width: 93px;
height: 27px;
/* margin-bottom: 20px; */
background: url(/static/itoggle.png) left bottom no-repeat;
background: url(/fodstatic/itoggle.png) left bottom no-repeat;
cursor:pointer;
text-indent:-5000px;
}
......
......@@ -233,7 +233,7 @@
</legend>
<div class="control-group {% if form.source.errors %} error {% endif %}">
<label class="control-label" for="id_source">{% trans "Source Address" %}</label>
<div class="controls">{{ form.source }}&nbsp;<img src="/static/threat_source.png" style="height: 30px;"/>
<div class="controls">{{ form.source }}&nbsp;<img src="/fodstatic/threat_source.png" style="height: 30px;"/>
{% if form.source.errors %}
<span class="help-inline">
{{ form.source.errors|join:", " }}
......@@ -247,7 +247,7 @@
<div class="control-group {% if form.destination.errors %} error {% endif %}">
<label class="control-label" for="id_destination">{% trans "Destination Address" %}</label>
<div class="controls">
{{ form.destination }}&nbsp;<img src="/static/secure_destination.png" style="height: 30px;"/>
{{ form.destination }}&nbsp;<img src="/fodstatic/secure_destination.png" style="height: 30px;"/>
{% if form.destination.errors %}
<span class="help-inline">
{{ form.destination.errors|join:", " }}
......
......@@ -6,15 +6,15 @@
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<script src="/static/js/jquery.min.js" type="text/javascript"></script>
<script src="/static/js/jquery_csrf_protect.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="/static/css/base.css">
<link rel="stylesheet" type="text/css" href="/static/css/smoothness/jquery-ui-1.8.13.custom.css">
<script src="/fodstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="/fodstatic/js/jquery_csrf_protect.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/fodstatic/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="/fodstatic/css/base.css">
<link rel="stylesheet" type="text/css" href="/fodstatic/css/smoothness/jquery-ui-1.8.13.custom.css">
<script type="text/javascript" src="/static/js/jquery-ui-1.8.23.custom.min.js"></script>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/static/js/bootstrap.js"></script>
<script type="text/javascript" src="/fodstatic/js/jquery-ui-1.8.23.custom.min.js"></script>
<script type="text/javascript" src="/fodstatic/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/fodstatic/js/bootstrap.js"></script>
<script type="text/javascript">
function setlang(lang){
......@@ -32,7 +32,7 @@
<div id="main">
<div id="header">
<a class="grnetlogo" href="{% url group-routes %}">
<img class="logoimg" src="/static/logo.png">
<img class="logoimg" src="/fodstatic/logo.png">
</a>
<div id="title">
<a href="{% url group-routes %}">Firewall on Demand</a>
......
......@@ -13,7 +13,7 @@
.tooltip {
display: none;
background: transparent url(/static/black_arrow_updown.png);
background: transparent url(/fodstatic/black_arrow_updown.png);
font-size: 12px;
height: 70px;
width: 160px;
......
......@@ -14,7 +14,7 @@
}
.tooltip {
display:none;
background:transparent url(/static/black_arrow.png);
background:transparent url(/fodstatic/black_arrow.png);
font-size:12px;
height:70px;
width:160px;
......
......@@ -14,7 +14,7 @@
}
.tooltip {
display:none;
background:transparent url(/static/black_arrow.png);
background:transparent url(/fodstatic/black_arrow.png);
font-size:12px;
height:70px;
width:160px;
......
......@@ -4,8 +4,8 @@
{% if user.is_authenticated %}
<script type="text/javascript" src="{% url load-js 'poller' %}"></script>
{% endif %}
<script type="text/javascript" src="/static/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="/static/js/datatables_bootstrap.js"></script>
<script type="text/javascript" src="/fodstatic/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="/fodstatic/js/datatables_bootstrap.js"></script>
<script type="text/javascript">
......@@ -295,7 +295,7 @@ function delete_route(route){
style="border-bottom:2px dashed red;"
title="Expires {% ifequal route.days_to_expire '0' %}today{% else%}in {{route.days_to_expire}} day{{ route.days_to_expire|pluralize }}{% endifequal %}"
{% endif %}{% endif %}>{{ route.expires }}</span></td>
<td style="text-align: center;">{% if route.status == 'EXPIRED' %}{% trans "Rule expired" %}{% else %}{% if route.status == 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% if route.status == 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{{ route.response }}{% if route.status == 'PENDING' %}<img src="/static/dots.gif">{% endif %}{% endif %}{% endif %}{% endif %}</td>
<td style="text-align: center;">{% if route.status == 'EXPIRED' %}{% trans "Rule expired" %}{% else %}{% if route.status == 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% if route.status == 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{{ route.response }}{% if route.status == 'PENDING' %}<img src="/fodstatic/dots.gif">{% endif %}{% endif %}{% endif %}{% endif %}</td>
<td style="text-align: center; width:180px;">
{% ifequal route.status 'ACTIVE' %}
<a href="{% url edit-route route.name %}" class="edit_button btn btn-small" id="edit_button_{{route.pk}}">{% trans "Edit" %}</a>
......
......@@ -13,7 +13,7 @@
<div id="loginform">
<a href="{% url login %}">
<img src="/static/shib_login.png" style="border:none;">
<img src="/fodstatic/shib_login.png" style="border:none;">
<p>{% trans "Shibboleth Login" %}</p>
</a>
</div>
......
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 to comment