Changed Color Scheme. Fixed Contact sorting. No SQL changes

This commit is contained in:
Karl Cordes 2009-07-17 14:35:52 +10:00
parent b2bf24913f
commit 6678f7a584
4 changed files with 11 additions and 10 deletions

View file

@ -32,7 +32,7 @@ class CustomersController extends AppController {
$this->set('customer', $this->Customer->read(null, $id)); $this->set('customer', $this->Customer->read(null, $id));
$this->set('addresses', $this->Customer->Address->findAllByCustomerId($id)); $this->set('addresses', $this->Customer->Address->findAllByCustomerId($id));
$this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.customer_id' => $id))); $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.customer_id' => $id)));
$this->set('contacts', $this->Customer->Contact->findAllByCustomerId($id)); $this->set('contacts', $this->Customer->Contact->find('all', array('conditions' => array('customer_id' => $id), 'order' => 'Contact.last_name ASC')));
$statuses = $this->Customer->Enquiry->Status->find('all'); $statuses = $this->Customer->Enquiry->Status->find('all');
$status_list = array(); $status_list = array();
foreach ($statuses as $status) { foreach ($statuses as $status) {

Binary file not shown.

View file

@ -119,9 +119,9 @@ ul.principle-emails {
#header{ #header{
/* background: #E9E9E9 url(../img/top-gradient2.png) repeat-x bottom; /* background: #E9E9E9 url(../img/top-gradient2.png) repeat-x bottom; */
//background: #7bf47b url(../img/gradient-green2.png) repeat-x bottom; */ background: #7bf47b url(../img/gradient-blue4.png) repeat-x bottom;
background: #6BBA70; /* background: #6BBA70; */
padding-bottom: 2%; padding-bottom: 2%;
} }
#header h1 { #header h1 {
@ -167,7 +167,7 @@ ul.principle-emails {
#nav h3 { #nav h3 {
font-size: 120%; font-size: 120%;
font-weight: bold; font-weight: bold;
color:#000000; color:#FFFFFF;
/* background: #E9E9E9; */ /* background: #E9E9E9; */
padding-left: 0.1em; padding-left: 0.1em;
padding-top: 0; padding-top: 0;
@ -178,7 +178,7 @@ ul.principle-emails {
#nav h3 a{ #nav h3 a{
font-size: 120%; font-size: 120%;
font-weight: bold; font-weight: bold;
color:#000000; color:#FFFFFF;
width: 100%; width: 100%;
/* background: #E9E9E9; */ /* background: #E9E9E9; */
text-decoration:none; text-decoration:none;
@ -225,12 +225,13 @@ ul.principle-emails {
} }
#nav li ul a { #nav li ul a {
background: #6BBA70; background: #4687c3;
color: #000000; color: #FFFFFF;
} }
#nav li ul a:hover { #nav li ul a:hover {
background:#90EE90; background:#5d9cd7;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B