From 2e8a4c2b7d3c572df524183905ea24b91853d4d7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 9 Mar 2016 18:11:38 +0100 Subject: [PATCH] Overhauled "filter" sections --- .../files/acp/templates/attachmentList.tpl | 50 ++++++----- .../files/acp/templates/languageItemList.tpl | 84 +++++++++---------- .../install/files/acp/templates/mediaList.tpl | 62 +++++++------- .../paidSubscriptionTransactionLogList.tpl | 52 ++++++------ .../files/acp/templates/templateList.tpl | 60 ++++++------- wcfsetup/install/files/style/layout/grid.scss | 14 +++- 6 files changed, 173 insertions(+), 149 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/attachmentList.tpl b/wcfsetup/install/files/acp/templates/attachmentList.tpl index 35e74d87a9..150a19e503 100644 --- a/wcfsetup/install/files/acp/templates/attachmentList.tpl +++ b/wcfsetup/install/files/acp/templates/attachmentList.tpl @@ -22,29 +22,33 @@

{lang}wcf.global.filter{/lang}

-
-
-
- -
-
- -
-
-
- -
-
- -
-
-
- -
-
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ +
+
+ + {event name='filterFields'} +
diff --git a/wcfsetup/install/files/acp/templates/languageItemList.tpl b/wcfsetup/install/files/acp/templates/languageItemList.tpl index f0cd8c0c0f..cf1c1d1649 100644 --- a/wcfsetup/install/files/acp/templates/languageItemList.tpl +++ b/wcfsetup/install/files/acp/templates/languageItemList.tpl @@ -19,49 +19,47 @@

{lang}wcf.global.filter{/lang}

-
-
-
- -
-
- -
-
-
- -
-
- -
-
-
- -
-
- -
-
-
- -
-
- -
-
-
- -
-
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ + +
+
+ + {event name='filterFields'} +
diff --git a/wcfsetup/install/files/acp/templates/mediaList.tpl b/wcfsetup/install/files/acp/templates/mediaList.tpl index bc653aa38a..1a21f4067c 100644 --- a/wcfsetup/install/files/acp/templates/mediaList.tpl +++ b/wcfsetup/install/files/acp/templates/mediaList.tpl @@ -51,38 +51,40 @@ {include file='formError'}
-
-

{lang}wcf.global.filter{/lang}

+
+

{lang}wcf.global.filter{/lang}

-
-
-
- -
-
- -
-
-
- -
-
+
+
+
+
+ +
+
+ +
+
+
+ +
+
- {event name='filterFields'} + {event name='filterFields'} +
{event name='sections'} diff --git a/wcfsetup/install/files/acp/templates/paidSubscriptionTransactionLogList.tpl b/wcfsetup/install/files/acp/templates/paidSubscriptionTransactionLogList.tpl index 4300ed4eb0..445d2af4c7 100644 --- a/wcfsetup/install/files/acp/templates/paidSubscriptionTransactionLogList.tpl +++ b/wcfsetup/install/files/acp/templates/paidSubscriptionTransactionLogList.tpl @@ -17,33 +17,37 @@

{lang}wcf.global.filter{/lang}

-
-
-
- -
-
- -
-
-
- -
-
- - {if $availableSubscriptions|count} -
-
+
+
+
+
+ +
+
+ +
+
- +
- {/if} + + {if $availableSubscriptions|count} +
+
+
+ +
+
+ {/if} + + {event name='filterFields'} +
diff --git a/wcfsetup/install/files/acp/templates/templateList.tpl b/wcfsetup/install/files/acp/templates/templateList.tpl index e8461949a6..e557cfb724 100644 --- a/wcfsetup/install/files/acp/templates/templateList.tpl +++ b/wcfsetup/install/files/acp/templates/templateList.tpl @@ -30,34 +30,38 @@

{lang}wcf.global.filter{/lang}

-
-
-
- -
-
- -
-
-
- -
-
- -
-
-
- -
-
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ +
+
+ + {event name='filterFields'} +
diff --git a/wcfsetup/install/files/style/layout/grid.scss b/wcfsetup/install/files/style/layout/grid.scss index 0cad8b927f..e1dc20d6f7 100644 --- a/wcfsetup/install/files/style/layout/grid.scss +++ b/wcfsetup/install/files/style/layout/grid.scss @@ -6,7 +6,7 @@ /* * Heads up! This is a modified version containing only the sizes - * "xs" (mobile) and "md" (desktop). Additionally the "push", "pulL", + * "xs" (mobile) and "md" (desktop). Additionally the "push", "pull", * "first" and "last" classes have been left out. */ @@ -335,3 +335,15 @@ align-self: flex-end; } } + +// WoltLab's custom definitions below + +/* vertical gap between wrapped columns */ +.rowColGap { + margin-bottom: -1.875rem; + + > .col-xs-1, > .col-xs-2, > .col-xs-3, > .col-xs-4, > .col-xs-5, > .col-xs-6, > .col-xs-7, > .col-xs-8, > .col-xs-9, > .col-xs-10, > .col-xs-11, > .col-xs-12, + > .col-md-1, > .col-md-2, > .col-md-3, > .col-md-4, > .col-md-5, > .col-md-6, > .col-md-7, > .col-md-8, > .col-md-9, > .col-md-10, > .col-md-11, > .col-md-12 { + margin-bottom: 1.875rem !important; + } +} -- 2.20.1