Commit a50d1791 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Scripts to fetch & cook the Trac tickets their attachments for

static preservation.
parent e30182e7
#!/bin/sh
set -e
for d in RawAttachment/*
do
tn=`basename $d`
mkdir -p Dest/attachment/ticket/$tn
for f in $d/*
do
if [ ! -f $f ] ; then
echo "???? $f"
exit 2
fi
bn=`basename $f`
sed '
/link rel="search"/d
/link rel="prev"/d
/link rel="next"/d
/link rel="last"/d
/link rel="help"/d
/link rel="alternate"/d
/link rel="start"/d
/link rel="first"/d
/link rel="shortcut icon"/d
/link rel="icon"/d
/link type="application.opensearchdescription"/d
s/static.varnish_trac.css/trac\/static\/css\/varnish_trac.css/
s/static.logo-v2/trac\/&/
s/<script type="text.javascript" src="[^"]*"><.script>//g
s/javascript/INTERCAL/g
/<div id="altlinks/,+8d
/<form id="search"/,+6d
/Login.*Preferences.*Help.*Guide.*About/d
/Wiki.*Timeline.*Roadmap.*Browse Source/d
/<div once="true" id="footer"/,+7d
s/<a class="timeline.*title="\([^ ]*\) in Timeline[^<]*<\/a>/\1/g
/cdn.blix.eu/d
/mainnav/a\
<h1>NB: This is a frozen copy of the old ticket from Trac</h1>
' $f > Dest/attachment/ticket/${tn}/${bn}
done
done
#!/bin/sh
set -e
for i in RawTicket/*
do
b=`basename $i`
sed '
s/static.varnish_trac.css/trac\/static\/css\/varnish_trac.css/
s/static.logo-v2/trac\/&/
s/<script type="text.javascript" src="[^"]*"><.script>//g
s/javascript/INTERCAL/g
/link rel="search"/d
/link rel="prev"/d
/link rel="next"/d
/link rel="last"/d
/link rel="help"/d
/link rel="alternate"/d
/link rel="start"/d
/link rel="first"/d
/link rel="shortcut icon"/d
/link rel="icon"/d
/link type="application.opensearchdescription"/d
/Login.*Preferences.*Help.*Guide.*About/d
/Wiki.*Timeline.*Roadmap.*Browse Source/d
/Previous Ticket.*Next Ticket/d
/<form id="search"/,+6d
/<div id="help".*Note:.*See/,+2d
/<div id="altlinks/,+11d
/<div once="true" id="footer"/,+7d
/cdn.blix.eu/d
s/<a class="timeline.*title="\([^ ]*\) in Timeline[^<]*<\/a>/\1/g
/mainnav/a\
<h1>NB: This is a frozen copy of the old ticket from Trac</h1>
' $i > /usr/local/www/apache24/data/trac/ticket/$b
done
#!/bin/sh
set -e
mkdir -p RawAttachment
for i in RawTicket/*
do
if ! grep 'href="/trac/attachment/ticket/' $i > _atmp ; then
continue
fi
for f in `sed 's/.*href=".trac.attachment.ticket.\([^"]*\).*/\1/' _atmp | sort -u`
do
d=`dirname $f`
b=`basename $f`
mkdir -p RawAttachment/$d
if [ ! -f RawAttachment/$d/$b ] ; then
fetch -o RawAttachment/$d/$b http://varnish-cache.org/trac/attachment/ticket/$f
fi
done
done
#!/bin/sh
mkdir -p RawTicket
for t in `jot 1865 1`
do
if [ ! -f RawTicket/${t} ] ; then
fetch -o RawTicket/${t} https://www.varnish-cache.org/trac/ticket/${t}
fi
done
div.code pre .hll { background-color: #ffffcc }
div.code pre { background: #ffffff; }
div.code pre .c { color: #999988; font-style: italic } /* Comment */
div.code pre .err { color: #a61717; background-color: #e3d2d2 } /* Error */
div.code pre .k { font-weight: bold } /* Keyword */
div.code pre .o { font-weight: bold } /* Operator */
div.code pre .cm { color: #999988; font-style: italic } /* Comment.Multiline */
div.code pre .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
div.code pre .c1 { color: #999988; font-style: italic } /* Comment.Single */
div.code pre .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
div.code pre .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
div.code pre .ge { font-style: italic } /* Generic.Emph */
div.code pre .gr { color: #aa0000 } /* Generic.Error */
div.code pre .gh { color: #999999 } /* Generic.Heading */
div.code pre .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
div.code pre .go { color: #888888 } /* Generic.Output */
div.code pre .gp { color: #555555 } /* Generic.Prompt */
div.code pre .gs { font-weight: bold } /* Generic.Strong */
div.code pre .gu { color: #aaaaaa } /* Generic.Subheading */
div.code pre .gt { color: #aa0000 } /* Generic.Traceback */
div.code pre .kc { font-weight: bold } /* Keyword.Constant */
div.code pre .kd { font-weight: bold } /* Keyword.Declaration */
div.code pre .kn { font-weight: bold } /* Keyword.Namespace */
div.code pre .kp { font-weight: bold } /* Keyword.Pseudo */
div.code pre .kr { font-weight: bold } /* Keyword.Reserved */
div.code pre .kt { color: #445588; font-weight: bold } /* Keyword.Type */
div.code pre .m { color: #009999 } /* Literal.Number */
div.code pre .s { color: #bb8844 } /* Literal.String */
div.code pre .na { color: #008080 } /* Name.Attribute */
div.code pre .nb { color: #999999 } /* Name.Builtin */
div.code pre .nc { color: #445588; font-weight: bold } /* Name.Class */
div.code pre .no { color: #008080 } /* Name.Constant */
div.code pre .ni { color: #800080 } /* Name.Entity */
div.code pre .ne { color: #990000; font-weight: bold } /* Name.Exception */
div.code pre .nf { color: #990000; font-weight: bold } /* Name.Function */
div.code pre .nn { color: #555555 } /* Name.Namespace */
div.code pre .nt { color: #000080 } /* Name.Tag */
div.code pre .nv { color: #008080 } /* Name.Variable */
div.code pre .ow { font-weight: bold } /* Operator.Word */
div.code pre .w { color: #bbbbbb } /* Text.Whitespace */
div.code pre .mf { color: #009999 } /* Literal.Number.Float */
div.code pre .mh { color: #009999 } /* Literal.Number.Hex */
div.code pre .mi { color: #009999 } /* Literal.Number.Integer */
div.code pre .mo { color: #009999 } /* Literal.Number.Oct */
div.code pre .sb { color: #bb8844 } /* Literal.String.Backtick */
div.code pre .sc { color: #bb8844 } /* Literal.String.Char */
div.code pre .sd { color: #bb8844 } /* Literal.String.Doc */
div.code pre .s2 { color: #bb8844 } /* Literal.String.Double */
div.code pre .se { color: #bb8844 } /* Literal.String.Escape */
div.code pre .sh { color: #bb8844 } /* Literal.String.Heredoc */
div.code pre .si { color: #bb8844 } /* Literal.String.Interpol */
div.code pre .sx { color: #bb8844 } /* Literal.String.Other */
div.code pre .sr { color: #808000 } /* Literal.String.Regex */
div.code pre .s1 { color: #bb8844 } /* Literal.String.Single */
div.code pre .ss { color: #bb8844 } /* Literal.String.Symbol */
div.code pre .bp { color: #999999 } /* Name.Builtin.Pseudo */
div.code pre .vc { color: #008080 } /* Name.Variable.Class */
div.code pre .vg { color: #008080 } /* Name.Variable.Global */
div.code pre .vi { color: #008080 } /* Name.Variable.Instance */
div.code pre .il { color: #009999 } /* Literal.Number.Integer.Long */
table.code td .hll { background-color: #ffffcc }
table.code td { background: #ffffff; }
table.code td .c { color: #999988; font-style: italic } /* Comment */
table.code td .err { color: #a61717; background-color: #e3d2d2 } /* Error */
table.code td .k { font-weight: bold } /* Keyword */
table.code td .o { font-weight: bold } /* Operator */
table.code td .cm { color: #999988; font-style: italic } /* Comment.Multiline */
table.code td .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
table.code td .c1 { color: #999988; font-style: italic } /* Comment.Single */
table.code td .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
table.code td .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
table.code td .ge { font-style: italic } /* Generic.Emph */
table.code td .gr { color: #aa0000 } /* Generic.Error */
table.code td .gh { color: #999999 } /* Generic.Heading */
table.code td .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
table.code td .go { color: #888888 } /* Generic.Output */
table.code td .gp { color: #555555 } /* Generic.Prompt */
table.code td .gs { font-weight: bold } /* Generic.Strong */
table.code td .gu { color: #aaaaaa } /* Generic.Subheading */
table.code td .gt { color: #aa0000 } /* Generic.Traceback */
table.code td .kc { font-weight: bold } /* Keyword.Constant */
table.code td .kd { font-weight: bold } /* Keyword.Declaration */
table.code td .kn { font-weight: bold } /* Keyword.Namespace */
table.code td .kp { font-weight: bold } /* Keyword.Pseudo */
table.code td .kr { font-weight: bold } /* Keyword.Reserved */
table.code td .kt { color: #445588; font-weight: bold } /* Keyword.Type */
table.code td .m { color: #009999 } /* Literal.Number */
table.code td .s { color: #bb8844 } /* Literal.String */
table.code td .na { color: #008080 } /* Name.Attribute */
table.code td .nb { color: #999999 } /* Name.Builtin */
table.code td .nc { color: #445588; font-weight: bold } /* Name.Class */
table.code td .no { color: #008080 } /* Name.Constant */
table.code td .ni { color: #800080 } /* Name.Entity */
table.code td .ne { color: #990000; font-weight: bold } /* Name.Exception */
table.code td .nf { color: #990000; font-weight: bold } /* Name.Function */
table.code td .nn { color: #555555 } /* Name.Namespace */
table.code td .nt { color: #000080 } /* Name.Tag */
table.code td .nv { color: #008080 } /* Name.Variable */
table.code td .ow { font-weight: bold } /* Operator.Word */
table.code td .w { color: #bbbbbb } /* Text.Whitespace */
table.code td .mf { color: #009999 } /* Literal.Number.Float */
table.code td .mh { color: #009999 } /* Literal.Number.Hex */
table.code td .mi { color: #009999 } /* Literal.Number.Integer */
table.code td .mo { color: #009999 } /* Literal.Number.Oct */
table.code td .sb { color: #bb8844 } /* Literal.String.Backtick */
table.code td .sc { color: #bb8844 } /* Literal.String.Char */
table.code td .sd { color: #bb8844 } /* Literal.String.Doc */
table.code td .s2 { color: #bb8844 } /* Literal.String.Double */
table.code td .se { color: #bb8844 } /* Literal.String.Escape */
table.code td .sh { color: #bb8844 } /* Literal.String.Heredoc */
table.code td .si { color: #bb8844 } /* Literal.String.Interpol */
table.code td .sx { color: #bb8844 } /* Literal.String.Other */
table.code td .sr { color: #808000 } /* Literal.String.Regex */
table.code td .s1 { color: #bb8844 } /* Literal.String.Single */
table.code td .ss { color: #bb8844 } /* Literal.String.Symbol */
table.code td .bp { color: #999999 } /* Name.Builtin.Pseudo */
table.code td .vc { color: #008080 } /* Name.Variable.Class */
table.code td .vg { color: #008080 } /* Name.Variable.Global */
table.code td .vi { color: #008080 } /* Name.Variable.Instance */
table.code td .il { color: #009999 } /* Literal.Number.Integer.Long */
\ No newline at end of file
#!/bin/sh
D=/usr/local/www/apache24/data/trac
rm -rf $D
mkdir -p $D
rm Dest
ln -s $D Dest
mkdir -p Dest/ticket
mkdir -p Dest/attachment/ticket
find static pygments -print | cpio -dump $D
sh cook_ticket.sh
sh cook_attachment.sh
find Dest/. -type d -print |
while read d
do
echo "Nothing to see here" > $d/index.html
done
div.code {
background: #f7f7f7;
border: 1px solid #d7d7d7;
margin: 1em 1.75em;
padding: .25em;
overflow: auto
}
div.code pre { margin: 0; }
table.code {
border: 1px solid #ddd;
border-spacing: 0;
border-top: 0;
border-collapse: collapse;
empty-cells: show;
font-size: 12px;
line-height: 130%;
padding: 0;
margin: 0 auto;
table-layout: fixed;
width: 100%;
}
table.code th {
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #998;
font-size: 11px;
}
table.code th.lineno { width: 4em }
table.code thead th {
background: #eee;
border-top: 1px solid #d7d7d7;
color: #999;
padding: 0 .25em;
text-align: center;
white-space: nowrap;
}
table.code thead th.content {
text-align: left;
}
table.code thead th.content span.recover {
background: #f7f7f7;
border-left: 1px solid;
border-right: 1px solid;
cursor: pointer;
margin: 0 1em 0 0;
padding: 0 .5em;
}
table.code tbody th {
background: #eed;
color: #886;
font-weight: normal;
padding: 0 .5em;
text-align: right;
vertical-align: top;
}
table.code tbody th :link, table.code tbody th :visited {
border: none;
color: #886;
text-decoration: none;
}
table.code tbody th :link:hover, table.code tbody th :visited:hover {
color: #000;
}
table.code td {
font: normal 11px monospace;
overflow: hidden;
padding: 1px 2px;
vertical-align: top;
}
table.code tr.hilite th {
background: #ccf;
}
table.code tr.hilite td {
background: #ddf;
}
.image-file { background: #eee; padding: .3em }
.image-file img { background: url(../imggrid.png) }
/* Default */
.code-block span { font-family: monospace; }
/* Comments */
.code-comment, .css_comment, .c_comment, .c_commentdoc, .c_commentline,
.c_commentlinedoc, .h_comment,.pl_commentline, .p_commentblock,
.p_commentline, .hphp_comment, .hphp_commentblock, .hphp_commentline,
.yaml_comment {
color: #998;
font-style: italic;
}
/* Language keyword */
.code-keyword, .pl_word { color: #789; font-weight: bold }
/* Type */
.code-type, .c_word, .c_word2, .p_classname, .hphp_classname{
color: #468;
font-weight: bold;
}
/* Function */
.code-func, .p_defname {
color: #900;
font-weight: bold;
border-bottom: none;
}
/* Pre-processor */
.code-prep, .c_preprocessor, .pl_preprocessor, .yaml_identifier {
color: #999;
font-weight: bold;
}
/* Language construct */
.code-lang, .p_word { color: #000; font-weight: bold }
/* String */
.code-string, .c_string, .c_stringeol, .css_doublestring, .css_singlestring,
.h_singlestring, .h_doublestring, .pl_string, .pl_string_q, .pl_string_qq,
.pl_string_qr, .pl_string_qw, .pl_string_qx, .pl_backticks, .pl_character,
.p_string, .p_stringeol, .hphp_string, .hphp_stringeol, .hphp_triple,
.hphp_tripledouble, .p_character, .p_triple, .p_tripledouble {
color: #b84;
font-weight: normal;
}
/* Variable name */
.code-var { color: #f9f }
/* SilverCity-specific styles */
.css_id, .css_class, .css_pseudoclass, .css_tag { color: #900000 }
.css_directive { color: #009000; font-weight: bold }
.css_important { color: blue }
.css_operator { color: #000090; font-weight: bold }
.css_tag { font-weight: bold }
.css_unknown_identifier, .css_unknown_pseudoclass { color: red }
.css_value { color: navy }
.c_commentdockeyword { color: navy; font-weight: bold }
.c_commentdockeyworderror { color: red; font-weight: bold }
.c_character, .c_regex, .c_uuid, .c_verbatim { color: olive }
.c_number { color: #099 }
.h_asp { color: #ff0 }
.h_aspat { color: #ffdf00 }
.h_attribute { color: teal }
.h_attributeunknown { color: red }
.h_cdata { color: #373 }
.h_entity { color: purple }
.h_number { color: #099 }
.h_other { color: purple }
.h_script, .h_tag, .h_tagend { color: navy }
.h_tagunknown { color: red }
.h_xmlend, .h_xmlstart { color: blue }
.pl_datasection { color: olive }
.pl_error { color: red; font-weight: bold }
.pl_hash { color: #000 }
.pl_here_delim, .pl_here_q, .pl_here_qq, .pl_here_qx, .pl_longquote { color: olive }
.pl_number { color: #099 }
.pl_pod { font-style: italic }
.pl_regex, .pl_regsubst { color: olive }
.p_number { color: #099 }
.hphp_character { color: olive }
.hphp_defname { color: #099; font-weight: bold }
.hphp_number { color: #099 }
.hphp_word { color: navy; font-weight: bold }
.yaml_document { color: gray; font-style: italic }
.yaml_keyword { color: #808 }
.yaml_number { color: #800 }
.yaml_reference { color: #088 }
.v_comment { color: gray; font-style: italic }
.v_commentline, .v_commentlinebang { color: red; font-style: italic }
.v_number, .v_preprocessor { color: #099 }
.v_string, .v_stringeol { color: olive }
.v_user{ color: blue; font-weight: bold }
.v_word, .v_word3 { color: navy; font-weight: bold }
.v_word2 { color: green; font-weight: bold }
/* Diff preferences */
#prefs fieldset { margin: 1em .5em .5em; padding: .5em 1em 0 }
/* Diff/change overview */
#overview { line-height: 130%; margin-top: 1em; padding: .5em }
#overview dt.property {
font-weight: bold;
padding-right: .25em;
position: absolute;
left: 0;
text-align: right;
width: 7.75em;
}
#overview dd { margin-left: 8em }
#overview .message { padding: 1em 0 1px }
#overview dd.message p, #overview dd.message ul, #overview dd.message ol,
#overview dd.message pre { margin-bottom: 1em; margin-top: 0; }
/* Colors for change types */
.chglist .edit, #overview .mod, .diff .legend .mod { background: #fd8 }
.chglist .delete, #overview .rem, .diff .legend .rem { background: #f88 }
.chglist .add, #overview .add, .diff .legend .add { background: #bfb }
.chglist .copy, #overview .cp, .diff .legend .cp { background: #88f }
.chglist .move, #overview .mv, .diff .legend .mv { background: #ccc }
.chglist .unknown { background: #fff }
/* Legend for diff and file colors */
.legend {
font-size: 9px;
line-height: 1em;
padding: .5em 0;
}
.legend h3 { display: none; }
.legend dt {
background: #fff;
border: 1px solid #999;
float: left;
margin: .1em .5em .1em 0;
overflow: hidden;
width: .8em; height: .8em;
}
.legend dl {
display: inline;
padding: 0;
margin: 0;
margin-right: .5em;
}
.legend dd {
display: inline;
float: left;
padding: 0;
margin: 0;
margin-right: 2em;
}
#diff-legend {
float: left;
clear: right;
margin: 1em .5em;
}
#file-legend dd { margin-left: 0; }
/* Styles for the list of diffs */
.diff ul.entries { clear: both; margin: 0; padding: 0 }
.diff li.entry {
background: #f7f7f7;
border: 1px solid #d7d7d7;
list-style-type: none;
margin: 0 0 2em;
padding: 2px;
position: relative;
width: 100%;
}
.diff h2 {
color: #333;
font-size: 14px;
letter-spacing: normal;
margin: 0 auto;
padding: .1em 0 .25em .5em;
}
.diff h2 .switch { color: #999; float: right; font-size: 75%;
line-height: 1.6;
}
.diff h2 .switch span { border-left: 1px solid #ccc; cursor: pointer;
padding: 0 1em;
}
.diff h2 .switch span:first-child { border: none; }
.diff h2 .switch span.active { color: #333; cursor: default; }
/* Styles for the actual diff tables (side-by-side and inline) */
.diff table.trac-diff {
border: 1px solid #ddd;
border-spacing: 0;
border-top: 0;
empty-cells: show;
font-size: 12px;
line-height: 130%;
padding: 0;
margin: 0 auto;
table-layout: fixed;
width: 100%;
}
.diff table.trac-diff col.lineno { width: 4em }
.diff table.trac-diff th {
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #998;
font-size: 11px;
}
.diff table.trac-diff thead th {
background: #eee;
border-top: 1px solid #d7d7d7;
color: #999;
padding: 0 .25em;
text-align: center;
white-space: nowrap;
}
.diff table.trac-diff tbody th {
background: #eed;
color: #886;
font-weight: normal;
padding: 0 .5em;
text-align: right;
vertical-align: top;
}
.diff table.trac-diff td {
background: #fff;
font: normal 11px monospace;
overflow: visible;
padding: 1px 2px;
vertical-align: top;
}
.diff table.trac-diff tbody.skipped td, .diff table.trac-diff thead td {
background: #f7f7f7;
border: 1px solid #d7d7d7;
}
.diff td ins, .diff td del {text-decoration: none;}
/* Styles for the inline diff */
pre.diff .rem { background: #fdd; }
pre.diff .add { background: #dfd; }
.diff table.inline tbody.mod td.l, .diff table.inline tbody.rem td.l {
background: #fdd;
border-color: #c00;
border-style: solid;
border-width: 0 1px 0 1px;
}
.diff table.inline tbody.mod td.r, .diff table.inline tbody.add td.r {
background: #dfd;
border-color: #0a0;
border-style: solid;
border-width: 0 1px 0 1px;
}
.diff table.inline tbody.mod tr.first td.l,
.diff table.inline tbody.rem tr.first td.l { border-top-width: 1px }
.diff table.inline tbody.mod tr.last td.l,
.diff table.inline tbody.rem tr.last td.l { border-bottom-width: 1px }
.diff table.inline tbody.mod tr.first td.r,
.diff table.inline tbody.add tr.first td.r { border-top-width: 1px }
.diff table.inline tbody.mod tr.last td.r,
.diff table.inline tbody.add tr.last td.r { border-bottom-width: 1px }
.diff table.inline tbody.mod td del {
background: #e99;
color: #000;
}
.diff table.inline tbody.mod td ins {
background: #9e9;
color: #000;
}
/* Styles for the side-by-side diff */
.diff table.sidebyside colgroup.content { width: 50% }
.diff table.sidebyside tbody.mod td.l { background: #fe9 }
.diff table.sidebyside tbody.mod td.r { background: #fd8 }
.diff table.sidebyside tbody.add td.l { background: #dfd }
.diff table.sidebyside tbody.add td.r { background: #cfc }
.diff table.sidebyside tbody.rem td.l { background: #f88 }
.diff table.sidebyside tbody.rem td.r { background: #faa }
.diff table.sidebyside tbody.mod del, .diff table.sidebyside tbody.mod ins {
background: #fc0;
}
/* Styles for the plain-text diff view */
.diff pre { background: #fff; border: 1px solid #ddd; font-size: 85%;
margin: 0;
}
/* Styles for the property diffs */
.diff table.props td { padding: 2px 0.5em }
@import url(code.css);
#content.ticket {
width: 58em;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
#field-description-help { float: right }
#properties div.trac-resizable, #field-description { width: 100% }
#ticket {
background: #ffd;
border: 1px outset #996;
margin-top: 1em;
padding: .5em 1em;
position: relative;
}
#ticket.ticketdraft {
background: #f8f8f8 url(../draft.png);
}
#ticketchange.ticketdraft {
padding: 0 1em;
margin: 1em 0;
}
#ticketchange.ticketdraft h3 {
margin-top: .5em;
}
.preview-notice { font-weight: bold; }
.ticketdraft {
background: #f8f8f8 url(../draft.png);
border: 1px outset #996;
padding: 0 .2em;
}
h1 .status { color: #444; }
#ticket h2.summary { margin: 0 0 .8em 0 }
#ticket .date { color: #996; float: right; font-size: 85%; position: relative }
#ticket .date p { margin: .3em }
#ticket table.properties {
clear: both;
border-top: 1px solid #dd9;
border-collapse: collapse;
table-layout: fixed;
width: 100%;
}
#ticket table.properties tr { border-bottom: 1px dotted #eed }
#ticket table.properties td, #ticket table.properties th {
font-size: 80%;
padding: .5em 1em;
vertical-align: top;
}
#ticket table.properties th {
color: #663;
font-weight: normal;
text-align: left;
width: 20%;
}
#ticket table.properties td { width: 30% }
#ticket table.properties td p:first-child { margin-top: 0 }
#ticket table.properties td p:last-child { margin-bottom: 0 }
#ticket table.properties .description { border-top: 1px solid #dd9 }
#ticket .description h3 {
border-bottom: 1px solid #dd9;
color: #663;
font-size: 100%;
font-weight: normal;
}
#ticket .description h3 .lastmod {
font-size: 90%;
}
#ticket .inlinebuttons {
float: right;
position: relative;
bottom: 0.3em;
margin-left: 0.2em;
}
#changelog { border: 1px outset #996; padding: 1em }
.trac-shade { background-color: #eee }
#trac-comment-editor { margin-left: 2em; margin-bottom: 1em }
#trac-comment-editor div.trac-resizable { width: 100% }
#trac-comment-editor textarea {
background: #ffffe0;
margin-left: -1px;
margin-right: -1px;
width: 100%;
}
#trac-comment-editor .wikitoolbar { margin-left: -1px }
#trac-add-comment :link, #trac-add-comment :visited { color: #b00 }
#changelog h3, #ticketchange h3 {
border-bottom: 1px solid #d7d7d7;
color: #999;
font-size: 100%;
font-weight: normal;
}
.threading, #changelog .inlinebuttons { float: right; margin-left: 0.2em }
.threading { font-size: 85%; }
.threading :link, .threading :visited { border-bottom: 0 }
#changelog .trac-lastedit {
padding-left: 2.5em;
color: #999;
font-size: 80%;
}
#changelog .trac-lastedit :link, #changelog .trac-lastedit :visited { color: inherit }
#changelog .changes, #ticketchange .changes { list-style: square; margin-left: 2em; padding: 0 }
#changelog .comment, #ticketchange .comment { margin-left: 2em }
form .field { margin-top: .75em; width: 100% }
form .field fieldset.iefix { margin-left: 1px; margin-right: 1px }
label[for=comment] { float: right }
#comment { margin-left: -1px; margin-right: -1px; padding: 0; width: 100% }
form .field .wikitoolbar { margin-left: -1px }
form .field div.trac-resizable { width: 100% }
#properties { white-space: nowrap; line-height: 160%; padding: .5em }
#properties table { border-spacing: 0; width: 100%; padding: 0 .5em }
#properties table th {
padding: .4em;
text-align: right;
width: 20%;
vertical-align: top;
}
#properties table th.col2 { border-left: 1px dotted #d7d7d7 }
#properties table td { vertical-align: middle; width: 30% }
#properties table td.fullrow { vertical-align: middle; width: 80% }
#action { line-height: 2em }
fieldset.radio { border: none; margin: 0; padding: 0 }
fieldset.radio legend {
color: #000;
float: left;
font-size: 100%;
font-weight: normal;
padding: 0 1em 0 0;
}
fieldset.radio label { padding-right: 1em }
This diff is collapsed.
/* Overrides for Trac. Varnish styles */
/* Body */
body {margin: 0; padding: 0; color: #333;}
p {font-size: 0.9em;}
/* Banner */
div#banner {background: #336FB6; padding: 0.5em; height:100px;}
#metanav {padding: 1em;}
#metanav a {color: #fff;}
#metanav {color: #fff;}
/* Mainnav */
#mainnav {margin: 0; padding: 0.5em; border: none; height: 24px; background: #fff;}
#mainnav a:link, #mainnav a:visited {background: none; border: none; font-size: 1.4em; margin: 10px;}
#mainnav .active a:link, #mainnav .active a:visited, #mainnav .active a:hover {background: #124263; font-size: 1.4em; font-weight: normal; border: none; margin: 10px;}
#mainnav a:link:hover, #mainnav a:visited:hover {background: #336FB6; border: none; color: #fff; font-size: 1.4em; margin: 10px;}
#mainnav .active :link:hover, #mainnav .active :visited:hover {border: 0 !important;}
/* Main */
div#main {padding: 1em;}
div#main a {color: #0066B3;}
div#main h2 a { color: white; }
dt em {color: #666;}
li.milestone div.info h2 {background: #1C75BC; border-bottom: 3px solid #124263; height: 1.6em; padding: 0.3em;}
li.milestone div.info a {color: #fff !important;}
li.milestone div.info h2 em {color: #fff;}
table.listing thead {background: #1C75BC; border-bottom: 3px solid #124263;}
table.listing thead th {background: #1C75BC !important; color: #fff;}
table.listing thead tr th a {color: #fff !important;}
form#prefs {background: #fff; font-size: 0.9em;}
h2 {color: #fff; background: #1C75BC; border-bottom: 3px solid #124263; height: 1.4em; padding: 0.4em;}
.diff li.entry h2 a {color: #fff !important;}
.diff h2 .switch span.active {color: #fff;}
#content h2 .numresults {color: #fff;}
#ticket .date a {color: #fff; text-decoration: underline;}
#ticket .date a:hover {background: #000;}
#ticket .date p {color: #fff;}
h2 .searchword0 {color: #000;}
#metanav a:hover {color: #000;}
ul.milestones dl :link {color: #222 !important;}
h2.report-result {color: #222 !important;}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment