can change the colors of shows if set in add show dialog, otherwise takes default from css style sheet.

This commit is contained in:
Naomi 2011-01-21 14:43:38 -05:00
parent 7bdfd60ea9
commit b3ccd6ab1c
11 changed files with 353 additions and 45 deletions

View file

@ -126,6 +126,8 @@
<column name="name" phpName="DbName" type="VARCHAR" size="255" required="true" defaultValue=""/>
<column name="repeats" phpName="DbRepeats" type="TINYINT" required="true"/>
<column name="description" phpName="DbDescription" type="VARCHAR" size="512" required="false"/>
<column name="color" phpName="DbColor" type="VARCHAR" size="6" required="false"/>
<column name="background_color" phpName="DbBackgroundColor" type="VARCHAR" size="6" required="false"/>
</table>
<table name="cc_show_days" phpName="CcShowDays">
<column name="id" phpName="DbId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>

View file

@ -164,6 +164,8 @@ CREATE TABLE "cc_show"
"name" VARCHAR(255) default '' NOT NULL,
"repeats" INT2 NOT NULL,
"description" VARCHAR(512),
"color" VARCHAR(6),
"background_color" VARCHAR(6),
PRIMARY KEY ("id")
);