DEV: Clean up some styles (#14374)

DEV: Clean up some styles (#14374)

diff --git a/app/assets/javascripts/admin/addon/templates/badges-award.hbs b/app/assets/javascripts/admin/addon/templates/badges-award.hbs
index 52bed37..1020f63 100644
--- a/app/assets/javascripts/admin/addon/templates/badges-award.hbs
+++ b/app/assets/javascripts/admin/addon/templates/badges-award.hbs
@@ -4,7 +4,7 @@
 
   {{#if model}}
     <form class="form-horizontal">
-      <div class="badge-preview">
+      <div class="badge-preview control-group">
         {{#if model}}
           {{icon-or-image model}}
           <span class="badge-display-name">{{model.name}}</span>
@@ -12,11 +12,11 @@
           <span class="badge-placeholder">{{i18n "admin.badges.mass_award.no_badge_selected"}}</span>
         {{/if}}
       </div>
-      <div>
+      <div class="control-group">
         <h4>{{i18n "admin.badges.mass_award.upload_csv"}}</h4>
         <input type="file" id="massAwardCSVUpload" accept=".csv" onchange={{action "updateFileSelected"}}>
       </div>
-      <div>
+      <div class="control-group">
         <label>
           {{input type="checkbox" checked=replaceBadgeOwners}}
           {{i18n "admin.badges.mass_award.replace_owners"}}
diff --git a/app/assets/javascripts/admin/addon/templates/badges-show.hbs b/app/assets/javascripts/admin/addon/templates/badges-show.hbs
index e71ed63..736d1b8 100644
--- a/app/assets/javascripts/admin/addon/templates/badges-show.hbs
+++ b/app/assets/javascripts/admin/addon/templates/badges-show.hbs
@@ -1,6 +1,6 @@
 {{#d-section class="current-badge content-body"}}
   <form class="form-horizontal">
-    <div>
+    <div class="control-group">
       <label for="name">{{i18n "admin.badges.name"}}</label>
       {{#if readOnly}}
         {{input type="text" name="name" value=buffered.name disabled=true}}
@@ -14,9 +14,9 @@
       {{/if}}
     </div>
 
-    <div>
+    <div class="control-group">
       <label for="graphic">{{i18n "admin.badges.graphic"}}</label>
-      <div class="radios">
+      <div class="radios inline-form full-width">
         <label class="radio-label" for="badge-icon">
           {{radio-button
             name="badge-icon"
@@ -59,7 +59,7 @@
       {{/if}}
     </div>
 
-    <div>
+    <div class="control-group">
       <label for="badge_type_id">{{i18n "admin.badges.badge_type"}}</label>
       {{combo-box
         name="badge_type_id"
@@ -70,7 +70,7 @@
       }}
     </div>
 
-    <div>
+    <div class="control-group">
       <label for="badge_grouping_id">{{i18n "admin.badges.badge_grouping"}}</label>
 
       <div class="badge-grouping-control">
@@ -90,7 +90,7 @@
       </div>
     </div>
 
-    <div>
+    <div class="control-group">
       <label for="description">{{i18n "admin.badges.description"}}</label>
       {{#if buffered.system}}
         {{textarea name="description" value=buffered.description disabled=true}}
@@ -104,7 +104,7 @@
       {{/if}}
     </div>
 
-    <div>
+    <div class="control-group">
       <label for="long_description">{{i18n "admin.badges.long_description"}}</label>
       {{#if buffered.system}}
         {{textarea name="long_description" value=buffered.long_description disabled=true}}
@@ -119,7 +119,7 @@
     </div>
 
     {{#if siteSettings.enable_badge_sql}}
-      <div>
+      <div class="control-group">
         <label for="query">{{i18n "admin.badges.query"}}</label>
         {{ace-editor content=buffered.query mode="sql" disabled=readOnly}}
       </div>
@@ -132,21 +132,21 @@
           {{i18n "loading"}}
         {{/if}}
 
-        <div>
+        <div class="control-group">
           <label>
             {{input type="checkbox" checked=buffered.auto_revoke disabled=readOnly}}
             {{i18n "admin.badges.auto_revoke"}}
           </label>
         </div>
 
-        <div>
+        <div class="control-group">
           <label>
             {{input type="checkbox" checked=buffered.target_posts disabled=readOnly}}
             {{i18n "admin.badges.target_posts"}}
           </label>
         </div>
 
-        <div>
+        <div class="control-group">
           <label for="trigger">{{i18n "admin.badges.trigger"}}</label>
           {{combo-box
             name="trigger"
@@ -159,39 +159,41 @@
       {{/if}}
     {{/if}}
 
-    <div>
-      <label>
-        {{input type="checkbox" checked=buffered.allow_title}}
-        {{i18n "admin.badges.allow_title"}}
-      </label>
-    </div>
+    <div class="control-group">
+      <div>
+        <label>
+          {{input type="checkbox" checked=buffered.allow_title}}
+          {{i18n "admin.badges.allow_title"}}
+        </label>
+      </div>
 
-    <div>
-      <label>
-        {{input type="checkbox" checked=buffered.multiple_grant disabled=readOnly}}
-        {{i18n "admin.badges.multiple_grant"}}
-      </label>
-    </div>
+      <div>
+        <label>
+          {{input type="checkbox" checked=buffered.multiple_grant disabled=readOnly}}
+          {{i18n "admin.badges.multiple_grant"}}
+        </label>
+      </div>
 
-    <div>
-      <label>
-        {{input type="checkbox" checked=buffered.listable disabled=readOnly}}
-        {{i18n "admin.badges.listable"}}
-      </label>
-    </div>
+      <div>
+        <label>
+          {{input type="checkbox" checked=buffered.listable disabled=readOnly}}
+          {{i18n "admin.badges.listable"}}
+        </label>
+      </div>
 
-    <div>
-      <label>
-        {{input type="checkbox" checked=buffered.show_posts disabled=readOnly}}
-        {{i18n "admin.badges.show_posts"}}
-      </label>
-    </div>
+      <div>
+        <label>
+          {{input type="checkbox" checked=buffered.show_posts disabled=readOnly}}
+          {{i18n "admin.badges.show_posts"}}
+        </label>
+      </div>
 
-    <div>
-      <label>
-        {{input type="checkbox" checked=buffered.enabled}}
-        {{i18n "admin.badges.enabled"}}
-      </label>
+      <div>
+        <label>
+          {{input type="checkbox" checked=buffered.enabled}}
+          {{i18n "admin.badges.enabled"}}
+        </label>
+      </div>
     </div>
 
     <div class="buttons">
diff --git a/app/assets/javascripts/admin/addon/templates/user-badges.hbs b/app/assets/javascripts/admin/addon/templates/user-badges.hbs
index a5e6664..1b401b7 100644
--- a/app/assets/javascripts/admin/addon/templates/user-badges.hbs
+++ b/app/assets/javascripts/admin/addon/templates/user-badges.hbs
@@ -14,7 +14,7 @@
       <p>{{i18n "admin.badges.no_badges"}}</p>
     {{else}}
       <form class="form-horizontal">
-        <div>
+        <div class="control-group">
           <label>{{i18n "admin.badges.badge"}}</label>
           {{combo-box
             filterable=true
@@ -23,7 +23,7 @@
             onChange=(action (mut selectedBadgeId))
           }}
         </div>
-        <div>
+        <div class="control-group">
           <label>{{i18n "admin.badges.reason"}}</label>
           {{input type="text" value=badgeReason}}<br><small>{{i18n "admin.badges.reason_help"}}</small>
         </div>
diff --git a/app/assets/javascripts/admin/addon/templates/web-hooks-show.hbs b/app/assets/javascripts/admin/addon/templates/web-hooks-show.hbs
index 83540a0..40a365f 100644
--- a/app/assets/javascripts/admin/addon/templates/web-hooks-show.hbs
+++ b/app/assets/javascripts/admin/addon/templates/web-hooks-show.hbs
@@ -6,13 +6,13 @@
 <div class="web-hook-container">
   <p>{{i18n "admin.web_hooks.detailed_instruction"}}</p>
   <form class="web-hook form-horizontal">
-    <div>
+    <div class="control-group">
       <label for="payload-url">{{i18n "admin.web_hooks.payload_url"}}</label>
       {{text-field name="payload-url" value=model.payload_url placeholderKey="admin.web_hooks.payload_url_placeholder"}}
       {{input-tip validation=urlValidation}}
     </div>
 
-    <div>
+    <div class="control-group">
       <label for="content-type">{{i18n "admin.web_hooks.content_type"}}</label>
       {{combo-box
         content=contentTypes
@@ -22,13 +22,13 @@
       }}
     </div>
 
-    <div>
+    <div class="control-group">

[... diff too long, it was truncated ...]

GitHub sha: a736ff5f69bfbf349e91a8f839c381af26ac841c

This commit appears in #14374 which was approved by blake. It was merged by pmusaraj.