Use bootstrap tool

This commit is contained in:
Nicolas Le Goff
2013-06-27 12:46:18 +02:00
parent fbedd58a73
commit b5313cc540
23 changed files with 413 additions and 382 deletions

View File

@@ -1,17 +1,14 @@
{% macro format_checkbox(admin, right, name, users, type) %}
{% set id = right['base_id'] %}
{% set class = 'base_id' %}
{% if type == 'sbas' %}
{% set id = right['sbas_id'] %}
{% set class = 'sbas_id' %}
{% set sbas_class = "" %}
{% else %}
{% set sbas_class = "inside_sbas_" ~ right['sbas_id'] %}
{% endif %}
{% set id = right['base_id'] %}
{% set class = 'base_id' %}
{% if type == 'sbas' %}
{% set id = right['sbas_id'] %}
{% set class = 'sbas_id' %}
{% set sbas_class = "" %}
{% else %}
{% set sbas_class = "inside_sbas_" ~ right['sbas_id'] %}
{% endif %}
{% set display = 'block' %}
@@ -50,12 +47,8 @@
</div>
{% endif %}
{% endif %}
{% endmacro %}
<style>
div.no_switch,
div.switch_quota,
div.switch_masks,