From: Michael Andreen Date: Tue, 11 Sep 2007 17:51:41 +0000 (+0200) Subject: Color on the headlines X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;h=6d4dfa134a65a5d19cdad899dc89115b00f5dffc;p=ndwebbie.git Color on the headlines --- diff --git a/NDWeb/Pages/MemberIntel.pm b/NDWeb/Pages/MemberIntel.pm index f7e53d3..d8a72ce 100644 --- a/NDWeb/Pages/MemberIntel.pm +++ b/NDWeb/Pages/MemberIntel.pm @@ -91,8 +91,8 @@ sub render_body { } } my @attacks; - push @attacks, {name => 'ND Attacks', list => \@nd_attacks}; - push @attacks, {name => 'Other', list => \@other_attacks}; + push @attacks, {name => 'ND Attacks', list => \@nd_attacks, class => 'AllyDef'}; + push @attacks, {name => 'Other', list => \@other_attacks, class => 'Attack'}; $BODY->param(Attacks => \@attacks); $query = $DBH->prepare(q{ @@ -124,9 +124,9 @@ sub render_body { } } my @defenses; - push @defenses, {name => 'ND Def', list => \@nd_def}; - push @defenses, {name => 'Ingal Def', list => \@ingal_def}; - push @defenses, {name => 'Other', list => \@other_def}; + push @defenses, {name => 'ND Def', list => \@nd_def, class => 'AllyDef'}; + push @defenses, {name => 'Ingal Def', list => \@ingal_def, class => 'Defend'}; + push @defenses, {name => 'Other', list => \@other_def, class => 'Attack'}; $BODY->param(Defenses => \@defenses); }else{ diff --git a/templates/memberIntel.tmpl b/templates/memberIntel.tmpl index 13e6967..ff5c871 100644 --- a/templates/memberIntel.tmpl +++ b/templates/memberIntel.tmpl @@ -6,7 +6,7 @@ AttackPt - + @@ -21,7 +21,7 @@ DefensePt - +