Unify sort button HTML code
authorMatthias Schmidt <gravatronics@live.com>
Sun, 12 May 2019 09:56:12 +0000 (11:56 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 12 May 2019 09:56:12 +0000 (11:56 +0200)
Close #2929

wcfsetup/install/files/acp/templates/adList.tpl
wcfsetup/install/files/acp/templates/contactSettings.tpl
wcfsetup/install/files/acp/templates/labelList.tpl
wcfsetup/install/files/acp/templates/noticeList.tpl
wcfsetup/install/files/acp/templates/reactionTypeList.tpl
wcfsetup/install/files/acp/templates/sitemapList.tpl
wcfsetup/install/files/acp/templates/smileyList.tpl
wcfsetup/install/files/acp/templates/trophyList.tpl

index 1e80c5a6eb6e5a1689f2177f5bd5eecc85ea70b6..38923501c1ed1fb1420a0300ce31a25e87c5a7b6 100644 (file)
                                </li>
                        {/foreach}
                </ol>
-               
-               <div class="formSubmit">
-                       <button class="button" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
-               </div>
+       </div>
+       
+       <div class="formSubmit">
+               <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
        </div>
        
        <footer class="contentFooter">
index 54e2285ac4e89e70bfdb32c1742dc9fb241872b0..a5e3fdc31a949d20730e4559a81a31581c323834 100644 (file)
                                {/foreach}
                        </tbody>
                </table>
-               
-               <div class="formSubmit">
-                       <button class="button" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
-               </div>
+       </div>
+       
+       <div class="formSubmit">
+               <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
        </div>
 </section>
 
                                </li>
                        {/foreach}
                </ol>
-               <div class="formSubmit">
-                       <button class="button" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
-               </div>
+       </div>
+       
+       <div class="formSubmit">
+               <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
        </div>
 </section>
 
index 7514e0c4831782d9c65e4617440adffbe57f0f27..3a1567a983109957c2cb5f17a90636aa3eef135f 100644 (file)
        
        {if $labelGroup && !$labelSearch && !$cssClassName && $items > 1}
                <div class="formSubmit">
-                       <button data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
+                       <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
                </div>
        {/if}
        
index 3864d718e43b7e013843485115fde33bdf7bf582..077949ca519a3c57cd67d1199f06dd8b274c6895 100644 (file)
                                </li>
                        {/foreach}
                </ol>
-               
-               <div class="formSubmit">
-                       <button class="button" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
-               </div>
+       </div>
+       
+       <div class="formSubmit">
+               <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
        </div>
        
        <footer class="contentFooter">
index b85e94b200854c2539e1444e4938abab62945b74..d2f95162c48f916ec26230e66c867b0de01880c9 100644 (file)
                                        </li>
                                {/foreach}
                        </ol>
-                       <div class="formSubmit">
-                               <button class="button" data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
-                       </div>
                </section>
        </div>
        
+       <div class="formSubmit">
+               <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
+       </div>
+       
        <footer class="contentFooter">
                {hascontent}
                        <div class="paginationBottom">
index d9d0a925a9721d70ea4dc78e362547a2536ca23d..b0ee40c6d06ad4aa209d37c5debf3a58129e8200 100755 (executable)
@@ -25,7 +25,7 @@
 <p class="info">{lang}wcf.acp.sitemap.cliInfo{/lang}</p>
 
 {if $sitemapObjectTypes|count}
-       <div class="section sortableListContainer">
+       <div class="section">
                <table class="table">
                        <thead>
                                <tr>
                                        <th class="columnInteger columnPriority">{lang}wcf.acp.sitemap.priority{/lang}</th>
                                        <th class="columnText columnChangeFreq">{lang}wcf.acp.sitemap.changeFreq{/lang}</th>
                                        <th class="columnInteger columnRebuildTime">{lang}wcf.acp.sitemap.rebuildTime{/lang}</th>
-       
+                                       
                                        {event name='headColumns'}
                                </tr>
                        </thead>
-
+                       
                        <tbody>
                                {foreach from=$sitemapObjectTypes item=object}
                                        <tr class="sitemapObjectRow">
index f65b3af834136ccf1c04812a3bd49f5f3bfda897..a9dff1627e7517e632290461434f95bfb2559ffd 100644 (file)
                                                        </li>
                                                {/foreach}
                                        </ol>
-                                       <div class="formSubmit">
-                                               <button class="button" data-type="submit">{lang}wcf.global.button.submit{/lang}</button>
-                                       </div>
                                {else}
                                        <p class="info">{lang}wcf.global.noItems{/lang}</p>
                                {/if}
                        </section>
+                       
+                       {if $objects|count}
+                               <div class="formSubmit">
+                                       <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
+                               </div>
+                       {/if}
                </div>
        </div>
        
index 0aa506c31558cbc7a2207ef168470264ae09a1cf..6765947df2f5eb23d9923eb63fc4393dd5d371fe 100644 (file)
                                </li>
                        {/foreach}
                </ol>
-               
-               <div class="formSubmit">
-                       <button class="button" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
-               </div>
+       </div>
+       
+       <div class="formSubmit">
+               <button class="button buttonPrimary" data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
        </div>
        
        <footer class="contentFooter">