[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#742329: use softer colours for architecture qualification page



On Sat, Mar 22, 2014 at 15:11:54 +0100, Thijs Kinkhorst wrote:

> diff --git a/www/jessie/arch_qualify.py b/www/jessie/arch_qualify.py
> index 0e56ead..9ffa0ee 100644
> --- a/www/jessie/arch_qualify.py
> +++ b/www/jessie/arch_qualify.py
> @@ -18,9 +18,9 @@ from collections import OrderedDict
>  
>  ########################################################### formatting helpers
>  
> -def FAIL(value): return ("red",value)
> -def WARN(value): return ("yellow",value)
> -def PASS(value): return ("lime",value)
> +def FAIL(value): return ("#e87272",value)
> +def WARN(value): return ("#ccff66",value)
> +def PASS(value): return ("#60e760",value)
>  
>  def c_truth(value):
>      if value == True or value == "yes":
> @@ -152,7 +152,7 @@ def dump_table(info,waivers):
>  
>              w = waivers.get(arch,{}).get(c,None)
>              if w:
> -                col="cyan"
> +                col="#00cccc"
>                  contents += ' <a href="%s">(w)</a>' % (w)
>  
>              if col=="red":

looks like that if col=="red" is now broken?

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: