This topic is locked

Bootstrap template settings

10/27/2016 4:22:14 AM
PHPRunner General questions
S
snuffi01 author

I'm building an dashboard and using the Bootstrap template.

I would like to change 2 things:

1 Color of the bars for each element (witch in my case is blue as i'm using theme "cerulean"

2 Would like to change the color of row when you choose an field (now on dashboard, first field is automatically chosen and therefore the color of that field is bright yellow).

I need it to be white as the others field.

As exemple here is part of my dashboard showing some values (with in fact is from listpage) as the first record in listpage is automatically chosen the field is yellow and i need it to be white:

A
andreas.knab 11/25/2016

Hi Karlsson,
I did a Workaround for this. I have also some conditions to change the Color of the rows .

I created a separate view for the Dashboard and in Events of this view I did something like this. (listpage after rec. processed)
if ($data["status"] == 0)

{

$row["rowstyle"]='style="background:rgba(255,255,255,1)"';
}
if ...
In Dashboard the rows have the same Color then.
I haven't tried but also some custom CSS may work.... like :
.table-striped{

background-color:#ffffff;

}
Sorry no idea at the Moment where to change the headers ...

Andreas