| OLD | NEW | 
|   1 {% extends 'auth/base.html' %} |   1 {% extends 'auth/base.html' %} | 
|   2 {% block content %} |   2 {% block content %} | 
|   3  |   3  | 
|   4 {% set is_readonly = auth_service_config_locked or not is_admin %} |   4 {% set is_readonly = auth_service_config_locked or not is_admin %} | 
|   5 <div class="row"> |   5 <div class="row"> | 
|   6   <div class="col-md-12"> |   6   <div class="col-md-12"> | 
|   7     <div class="panel panel-default"> |   7     <div class="panel panel-default"> | 
|   8       <div class="panel-heading"> |   8       <div class="panel-heading"> | 
|   9         <h3 class="panel-title">Group import configuration</h3> |   9         <h3 class="panel-title">Group import configuration</h3> | 
|  10       </div> |  10       </div> | 
|  11       <div class="panel-body"> |  11       <div class="panel-body"> | 
|  12         <div id="import-config-alerts"></div> |  12         <div id="import-config-alerts"></div> | 
|  13         <form class="form" role="form" id="import-config"> |  13         <form class="form" role="form" id="import-config"> | 
|  14           <div class="form-group"> |  14           <div class="form-group"> | 
|  15             <textarea class="form-control" |  15             <textarea class="form-control" | 
|  16                       style="font-family:monospace;" |  16                       style="font-family:monospace;" | 
|  17                       rows="20" |  17                       rows="20" | 
|  18                       name="config" |  18                       name="config" | 
|  19                       {% if is_readonly %}readonly{% endif %} |  19                       {% if is_readonly %}readonly{% endif %} | 
|  20                       wrap="off"></textarea> |  20                       wrap="off"></textarea> | 
|  21           </div> |  21           </div> | 
|  22           <div class="form-group"> |  22           <div class="form-group"> | 
|  23             {% if auth_service_config_locked %} |  23             {% if auth_service_config_locked %} | 
|  24               {{ render_config_locked() }} |  24               {{ render_config_locked("imports.cfg") }} | 
|  25             {% else %} |  25             {% else %} | 
|  26               {% if is_admin %} |  26               {% if is_admin %} | 
|  27                 <button type="submit" class="btn btn-primary">Save</button> |  27                 <button type="submit" class="btn btn-primary">Save</button> | 
|  28               {% endif %} |  28               {% endif %} | 
|  29             {% endif %} |  29             {% endif %} | 
|  30           </div> |  30           </div> | 
|  31          </form> |  31          </form> | 
|  32       </div> |  32       </div> | 
|  33     </div> |  33     </div> | 
|  34   </div> |  34   </div> | 
|  35 </div> |  35 </div> | 
|  36  |  36  | 
|  37 {% endblock content %} |  37 {% endblock content %} | 
| OLD | NEW |