mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Update 2.3 Bootstrap classes to 3.2 bootstrap classes
This commit is contained in:
@@ -137,10 +137,10 @@ class="{{ mdclass }}{% if link.class %} {{ link.class }}{% endif %}"
|
||||
def progress_color(value):
|
||||
value = int(value)
|
||||
if value < 50:
|
||||
return "progress-success"
|
||||
return "progress-bar-success"
|
||||
if value < 80:
|
||||
return "progress-warning"
|
||||
return "progress-danger"
|
||||
return "progress-bar-warning"
|
||||
return "progress-bar-danger"
|
||||
|
||||
|
||||
@register.filter
|
||||
|
||||
@@ -113,10 +113,6 @@ label{
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.form-horizontal .param-controls {
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
.form-horizontal .input-group {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user