2
0
mayu morita 7 жил өмнө
parent
commit
0ec4188b91

+ 2 - 2
lib/views/admin/markdown.html

@@ -64,7 +64,7 @@
 
         <div class="form-group">
           <label for="markdownSetting[markdown:isEnabledLinebreaksInComments]" class="col-xs-4 control-label">
-            (TBD)<br>{{ t("markdown_setting.Enable Line Break for comment") }}
+            (TBD){{ t("markdown_setting.Enable Line Break for comment") }}
           </label>
           <div class="col-xs-5">
             <div class="btn-group btn-toggle" data-toggle="buttons">
@@ -77,7 +77,7 @@
                     {% if !markdownSetting['markdown:isEnabledLinebreaksInComments'] %}checked{% endif %}> OFF
               </label>
             </div>
-            <p class="help-block">{{ t("markdown_setting.Enable Line Break for comment desc") }}<br>{{ t("markdown_setting.TBD") }}</p>
+            <p class="help-block">{{ t("markdown_setting.Enable Line Break for comment desc") }}{{ t("markdown_setting.TBD") }}</p>
           </div>
         </div>
 

+ 4 - 10
lib/views/admin/security.html

@@ -100,19 +100,13 @@
         </fieldset>
       </form>
 
-
       <!-- prevent XSS link -->
       <div>
-          <legend>{{ t('security_setting.xss_prevent_setting') }}</legend>
-            <div class="xss-position">
-              <a class="flexbox" href="/admin/markdown/#preventXSS">
-                {{ t('security_setting.xss_prevent_setting_link') }}
-              </a>
-            </div>
+        <legend>{{ t('security_setting.xss_prevent_setting') }}</legend>
+        <div class="text-center">
+          <a class="flexbox" href="/admin/markdown/#preventXSS">{{ t('security_setting.xss_prevent_setting_link') }}</a>
         </div>
-
-
-
+       </div>
 
       <form action="/_api/admin/security/mechanism" method="post" class="form-horizontal m-t-30" id="mechanismSetting" role="form">
         <fieldset>

+ 0 - 5
resource/styles/scss/_admin.scss

@@ -89,9 +89,4 @@
       }
     }
   }
-
-
-  .xss-position {
-    text-align: center;
-  }
 }