Improved colors in template diff
authorMarcel Werk <burntime@woltlab.com>
Mon, 18 Jul 2016 16:14:56 +0000 (18:14 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 18 Jul 2016 16:14:56 +0000 (18:14 +0200)
wcfsetup/install/files/acp/templates/templateDiff.tpl

index db6b66eda514ec2e41c98fba8282da4862aff5d7..04aeb7d12ef1d6b5c82716bba8847a184219a625 100644 (file)
@@ -3,6 +3,7 @@
 <header class="contentHeader">
        <div class="contentHeaderTitle">
                <h1 class="contentTitle">{lang}wcf.acp.template.diff{/lang}</h1>
+               <p class="contentHeaderDescription">{$template->templateName}</p>
        </div>
        
        {hascontent}
@@ -72,7 +73,7 @@
                                                                *}<li value="{@$lineNo}" style="margin: 0">{$line[1]}</li>{*
                                                        *}{elseif $line[0] == '-'}{*
                                                                *}{assign var=removeOffset value=$removeOffset + 1}{assign var=lineNo value=$lineNo + 1}{*
-                                                               *}<li value="{@$lineNo}" style="color: red;margin: 0">{$line[1]}</li>{*
+                                                               *}<li value="{@$lineNo}" style="background-color: lightpink;margin: 0">{$line[1]}</li>{*
                                                        *}{elseif $line[0] == '+'}{*
                                                                *}{assign var=removeOffset value=$removeOffset - 1}{*
                                                                *}{if $removeOffset < 0}<li style="list-style-type: none;margin: 0">&nbsp;</li>{/if}{*
                                                                *}{assign var=removeOffset value=$removeOffset + 1}{*
                                                        *}{elseif $line[0] == '+'}{*
                                                                *}{assign var=removeOffset value=$removeOffset - 1}{assign var=lineNo value=$lineNo + 1}{*
-                                                               *}<li value="{@$lineNo}" style="color: green; margin: 0">{$line[1]}</li>{*
+                                                               *}<li value="{@$lineNo}" style="background-color: lightgreen; margin: 0">{$line[1]}</li>{*
                                                        *}{/if}{*
                                                *}{/foreach}{*
                                        *}</ol>{*