Commits

Anonymous committed 8371e15

Add the css to some tables because it's better than looking at the white bland pages lol

  • Participants
  • Parent commits 71290f9

Comments (0)

Files changed (5)

File application/modules/unit/views/scripts/index/index.phtml

  */
  ?>
 
+
 <?php echo $this->bar(array('type'=>'action',
 			    'destination'=>array('module'=>'unit',
 						 'controller'=>'index')));?>

File application/modules/unit/views/scripts/t3.phtml

+<?php
+echo $this->headLink()->prependStylesheet('/css/table.css');
+echo $this->headScript()->appendFile('/javascript/jquery/jquery.js');
+echo $this->headScript()->appendFile('/javascript/tablecss/tablecss.js');
+?>
+
+
 <?php if ($this->pageCount): ?>
 <div class="paginationControl">
 

File application/modules/unit/views/scripts/view/index.phtml

 Need icons for removal/edit etc	
 
 */
+echo $this->headLink()->prependStylesheet('/css/table.css');
+echo $this->headScript()->appendFile('/javascript/jquery/jquery.js');
+echo $this->headScript()->appendFile('/javascript/tablecss/tablecss.js');
 ?>
 
-<div class="details">
-	<h3>Unit Details</h3>
-	<div class="results">
-		<?php 
-			if ( $this->resultCheck($this->unit) ){
-		?> 	   
+<?php 
+	if ( $this->resultCheck($this->unit) ){
+?> 	   
  	    		
-		<table>												
-			<tr><td>Apartment: </td><td><?=$this->unit->getApartment()->getName();?></td></tr>
-			<tr><td>Unit Number: </td><td><?=$this->unit->getNumber();?></td></tr>
-			<tr><td>Model: </td><td><?=$this->unit->getUnitModel()->getName();?></td></tr>
-			<tr><td>Size: </td><td><?=$this->unit->getSize();?></td></tr>
-			<tr><td>Beds: </td><td><?=$this->unit->getNumBeds();?></td></tr>
-			<tr><td>Baths: </td><td><?=$this->unit->getNumBaths();?></td></tr>
-			<tr><td>Floors: </td><td><?=$this->unit->getNumFloors();?></td></tr>
-			<tr><td>Year Built: </td><td><?=$this->unit->getYearBuilt();?></td></tr>
-			<tr><td>Year Renovated: </td><td><?=$this->unit->getYearRenovated();?></td></tr>
-		</table>	
+	<table>
+		<caption>Unit Details</caption>
+		<tr><td>Apartment: </td><td><?=$this->unit->getApartment()->getName();?></td></tr>
+		<tr><td>Unit Number: </td><td><?=$this->unit->getNumber();?></td></tr>
+		<tr><td>Model: </td><td><?=$this->unit->getUnitModel()->getName();?></td></tr>
+		<tr><td>Size: </td><td><?=$this->unit->getSize();?></td></tr>
+		<tr><td>Beds: </td><td><?=$this->unit->getNumBeds();?></td></tr>
+		<tr><td>Baths: </td><td><?=$this->unit->getNumBaths();?></td></tr>
+		<tr><td>Floors: </td><td><?=$this->unit->getNumFloors();?></td></tr>
+		<tr><td>Year Built: </td><td><?=$this->unit->getYearBuilt();?></td></tr>
+		<tr><td>Year Renovated: </td><td><?=$this->unit->getYearRenovated();?></td></tr>
+	</table>	
 		
-		<?php if( $this->resultCheck($this->amenities) ){  ?>
-		Amenities: <br>
-		<table>
-		<?php foreach( $this->amenities as $id=>$name ){ ?>
-			<tr><td><?php echo $name ?> </td></tr>
-		<?php } ?>	
-		</table>
-		<?php
-		     }
-		?>			
-		<a href="<?=$this->serverUrl('/unit/view/viewleaselist/unitId/'. $this->unit->getId());?>">View Lease Information</a>		
-		
-			<?php
-			}
-		?>		
+	<?php if( $this->resultCheck($this->amenities) ){  ?>	
+	<table>
+	<caption>Amenities</caption>	
+	<?php foreach( $this->amenities as $id=>$name ){ ?>
+		<tr><td><?php echo $name ?> </td></tr>
+	<?php } ?>	
+	</table>
+	<?php } ?>
+	<div align='center'>
+	<a href="<?=$this->serverUrl('/unit/view/viewleaselist/unitId/'. $this->unit->getId());?>">View Lease Information</a>		
 	</div>
-	
-</div>
+	<?php } ?>		
+	

File application/modules/unit/views/scripts/view/viewlease.phtml

 		<th>Base Rent Amount </th>
 		<th>Number of Months </th>
 		<th>Effective Date </th>
-		<th>Last Day </th>
-		
+		<th>Last Day </th>		
 	    </tr>
 	    <tr> 	
 		<td> <?php echo $this->modelRentScheduleItem->getRentAmount(); ?></td>

File application/modules/unit/views/scripts/view/viewleaselist.phtml

  * @name apmgr view
  * @package application.modules.unit.views.scripts.view
  * <p>View page for an apartment </p>
- */ 
+ */
+echo $this->headLink()->prependStylesheet('/css/table.css');
+echo $this->headScript()->appendFile('/javascript/jquery/jquery.js');
+echo $this->headScript()->appendFile('/javascript/tablecss/tablecss.js');
 ?>
-<div>
-<div>
-   <h1>Current Pending / Lease</h1>   
-</div>
-
-<table>
+<table id='currenttable'>
+     <caption>Current Pending / Lease</caption> 	
      <?php if( $this->current ) {?>
             <tr>
 		<th> Effective Date </th>
 	    
 	<?php } else echo '<tr><td>No Rows</td></tr>';?>    
 </table>	
-</div>
 
-<div>
-<div>
-   <h1>Lease History</h1>   
-</div>
-
-<table>
+<table id='historytable'>
+     <caption>Lease History</caption>      	
      <?php if( $this->history ) {?>
             <tr>
 		<th> Effective Date </th>
         <?php } ?>
 	    
 	<?php } else echo '<tr><td>No Rows</td></tr>';?>    
-</table>	
-</div>
- 
+</table>