From 299eb8b4e1adb16f5feaf0e0a5b03a01d14cee7c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 13 Jan 2016 14:06:03 +0100 Subject: [PATCH] Improved visuals of message tab menu --- .../templates/__messageFormPoll.tpl | 140 +++++++++--------- .../templates/messageFormAttachments.tpl | 2 +- .../templates/messageFormSettings.tpl | 4 +- .../templates/messageFormSettingsInline.tpl | 4 +- .../templates/messageFormSmilies.tpl | 4 +- .../files/style/ui/tabMenuMessage.scss | 92 +++++++----- 6 files changed, 132 insertions(+), 114 deletions(-) diff --git a/com.woltlab.wcf/templates/__messageFormPoll.tpl b/com.woltlab.wcf/templates/__messageFormPoll.tpl index 42aa7e7161..2a91151943 100644 --- a/com.woltlab.wcf/templates/__messageFormPoll.tpl +++ b/com.woltlab.wcf/templates/__messageFormPoll.tpl @@ -12,79 +12,77 @@ //]]> -
-
- -
- -
-
- - {if $errorField == 'pollQuestion'} - - {lang}wcf.global.form.error.empty{/lang} - - {/if} -
-
- -
-
-
    - {if $errorField == 'pollOptions'} - - {lang}wcf.global.form.error.empty{/lang} - - {/if} - {lang}wcf.poll.options.description{/lang} -
    - - -
    - -
    -
    - - {if $errorField == 'pollEndTime'} - - {lang}wcf.poll.endTime.error.{@$errorType}{/lang} - - {/if} -
    - - -
    - -
    -
    - - {if $errorField == 'pollMaxVotes'} - - {lang}wcf.poll.maxVotes.error.{@$errorType}{/lang} - - {/if} -
    - -
    -
    -
    - -
    - {if !$pollID && $__wcf->getPollManager()->canStartPublicPoll()} -
    - -
    +
    + +
    + +
    +
    + + {if $errorField == 'pollQuestion'} + + {lang}wcf.global.form.error.empty{/lang} + {/if} +
    +
    + +
    +
    +
      + {if $errorField == 'pollOptions'} + + {lang}wcf.global.form.error.empty{/lang} + + {/if} + {lang}wcf.poll.options.description{/lang} +
      +
      + +
      + +
      +
      + + {if $errorField == 'pollEndTime'} + + {lang}wcf.poll.endTime.error.{@$errorType}{/lang} + + {/if} +
      + + +
      + +
      +
      + + {if $errorField == 'pollMaxVotes'} + + {lang}wcf.poll.maxVotes.error.{@$errorType}{/lang} + + {/if} +
      + +
      +
      +
      + +
      + {if !$pollID && $__wcf->getPollManager()->canStartPublicPoll()}
      - - {lang}wcf.poll.resultsRequireVote.description{/lang} -
      -
      - +
      -
      - - {event name='fields'} -
      + {/if} +
      + + {lang}wcf.poll.resultsRequireVote.description{/lang} +
      +
      + +
      + + + {event name='fields'}
      {/if} \ No newline at end of file diff --git a/com.woltlab.wcf/templates/messageFormAttachments.tpl b/com.woltlab.wcf/templates/messageFormAttachments.tpl index b9f48218b2..2cd347a4e7 100644 --- a/com.woltlab.wcf/templates/messageFormAttachments.tpl +++ b/com.woltlab.wcf/templates/messageFormAttachments.tpl @@ -1,4 +1,4 @@ -
      +
        getAttachmentList()|count} style="display: none"{/if}> {foreach from=$attachmentHandler->getAttachmentList() item=$attachment}
      • diff --git a/com.woltlab.wcf/templates/messageFormSettings.tpl b/com.woltlab.wcf/templates/messageFormSettings.tpl index 7f427ba9b0..2da8f1a448 100644 --- a/com.woltlab.wcf/templates/messageFormSettings.tpl +++ b/com.woltlab.wcf/templates/messageFormSettings.tpl @@ -1,4 +1,4 @@ -
        +
        {if $__wcf->getSession()->getPermission($permissionCanUseBBCodes)}
        @@ -38,4 +38,4 @@ {event name='settings'}
        -
        +
      diff --git a/com.woltlab.wcf/templates/messageFormSettingsInline.tpl b/com.woltlab.wcf/templates/messageFormSettingsInline.tpl index eeb28f4f42..29eae3cf5f 100644 --- a/com.woltlab.wcf/templates/messageFormSettingsInline.tpl +++ b/com.woltlab.wcf/templates/messageFormSettingsInline.tpl @@ -1,5 +1,5 @@ {hascontent} -
      +
      {content} {event name='beforeSettings'} @@ -14,7 +14,7 @@ {event name='afterSettings'} {/content} -
      +