Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Make authentication settings more like other panels.

jai220138003408cbbf
diff --git a/static/styles/settings.css b/static/styles/settings.css
index d0ca3546739..29672a90ec5 100644
--- a/static/styles/settings.css
+++ b/static/styles/settings.css
@@ -276,6 +276,14 @@ td .button {
z-index: 1;
}
+ #id_realm_authentication_methods {
+ width: 20%;
+
+ td {
+ border: none;
+ }
+ }
+
.table-striped {
table-layout: auto;
border-collapse: separate;
diff --git a/static/templates/settings/admin_auth_methods_list.hbs b/static/templates/settings/admin_auth_methods_list.hbs
index 2c9a5187190..3345f8be6b2 100644
--- a/static/templates/settings/admin_auth_methods_list.hbs
+++ b/static/templates/settings/admin_auth_methods_list.hbs
@@ -1,11 +1,12 @@
<tr class="method_row" data-method="{{method}}">
- <td>
- <span class="method">{{method}}</span>
- </td>
<td>
<label class="checkbox">
<input type="checkbox" {{#if enabled}}checked="checked"{{/if}} {{#unless is_owner}}disabled{{/unless}}/>
<span></span>
</label>
</td>
+ <td>
+ <span class="method">{{method}}</span>
+ </td>
+
</tr>