[Rt-commit] rt branch, custom-css, updated. rt-3.8.8-528-g7432d70
Chia-liang Kao
clkao at bestpractical.com
Tue Aug 24 13:19:35 EDT 2010
The branch, custom-css has been updated
via 7432d7070e06c523262885777d793238f49c2aa3 (commit)
via 4483b56506851c4f901eebc054acb31509f5317b (commit)
from 50354648319ff369a97facd5000338dade8235c6 (commit)
Summary of changes:
share/html/Admin/Global/Theme.html | 4 ++++
share/html/Elements/Header | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 4483b56506851c4f901eebc054acb31509f5317b
Author: Chia-liang Kao <clkao at bestpractical.com>
Date: Wed Aug 25 01:21:52 2010 +0800
some usage description
diff --git a/share/html/Admin/Global/Theme.html b/share/html/Admin/Global/Theme.html
index 42cf870..0263dc5 100644
--- a/share/html/Admin/Global/Theme.html
+++ b/share/html/Admin/Global/Theme.html
@@ -64,11 +64,14 @@ Upload Logo:
</form>
<div class="pick-section">
+<span class="description">Pick a section first</span>
<select id="section">
</select>
</div>
<div class="pick-color">
+<span class="description">Then click on the following color to apply</span>
+<div class="clear">
% if ($colors) {
Primary colors:
% for (@$colors) {
@@ -77,6 +80,7 @@ Primary colors:
% }
% }
<div class="clear">
+Pre-defined colors:
<span class="color-template" style="background-color: white; color: black; width: 5em">test</span>
<span class="color-template" style="background-color: white; color: gray; width: 5em">test</span>
<span class="color-template" style="background-color: red; color: white; width: 5em">test</span>
commit 7432d7070e06c523262885777d793238f49c2aa3
Author: Chia-liang Kao <clkao at bestpractical.com>
Date: Wed Aug 25 01:21:56 2010 +0800
don't escape css.
diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index ed1b95f..02a8023 100755
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -77,7 +77,7 @@
% }
% if (my $attr = $RT::System->FirstAttribute('UserCSS')) {
<style type="text/css" media="screen">
-<% $attr->Content %>
+<% $attr->Content |n%>
</style>
% }
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list