initial commit

This commit is contained in:
Chris Sewell
2012-11-28 03:55:08 -05:00
parent 7adb399b2e
commit cf140a2e97
3247 changed files with 492437 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
indexSuccess:
stylesheets: [/css/clientManager]
javascripts: [/js/clientManager, /js/scriptaculous/lib/prototype]

View File

@ -0,0 +1,42 @@
<div class='regularCont'>
<div class='innerCont'><table border="0">
<tr>
<td style='width: 100px'>Report
</td>
<td style='width: 100px'>Status
</td>
<td style='width: 200px'>
Date
</td>
<td >
Action
</td>
</tr>
<?php
foreach($finalReport as $report){
?>
<tr>
<td>
<a target='_blank' href='/index.php/process/createPdf/id/<?php print $report->getId(); ?>'>View</a>
</td>
<td>
<?php print ucwords($report->getPassFail()); ?>
</td>
<td>
<?php print $report->formattedDate(); ?>
</td>
<td>
<a href='javascript:void(0)' onclick='deleteReport(<?php print $report->getId(); ?>,<?php print $report->getClientId(); ?>)' >Delete</a>
</td>
</tr>
<?php
}
if(empty($finalReport)){
?>
<tr><td colspan='4'><div style='text-align:center;font-weight:bold;'>No Reports Found</div></td></tr>
<?php
}
?>
</table>
</div>
</div>

View File

@ -0,0 +1,42 @@
<div class='regularCont'>
<div class='innerCont'><table border="0">
<tr>
<td style='width: 100px'>Report
</td>
<td style='width: 100px'>Status
</td>
<td style='width: 200px'>
Date
</td>
<td >
Action
</td>
</tr>
<?php
foreach($finalReport as $report){
?>
<tr>
<td>
<a target='_blank' href='/index.php/process/createPdf/id/<?php print $report->getId(); ?>'>View</a>
</td>
<td>
<?php print ucwords($report->getPassFail()); ?>
</td>
<td>
<?php print $report->formattedDate(); ?>
</td>
<td>
<a href='javascript:void(0)' onclick='deleteReport(<?php print $report->getId(); ?>,<?php print $report->getClientId(); ?>)' >Delete</a>
</td>
</tr>
<?php
}
if(empty($finalReport)){
?>
<tr><td colspan='4'><div style='text-align:center;font-weight:bold;'>No Reports Found</div></td></tr>
<?php
}
?>
</table>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,63 @@
fillin:
enabled: true
fields:
client_identification:
required:
msg: Please enter a client identification before continuing
sfStringValidator:
client_name:
required:
msg: Please enter a client name before continuing
sfStringValidator:
min: 5
min_error: Client name does not meet acceptable parameters (5 character min)
max: 50
max_error: Clint name exceeds acceptable parameters (50 characters max)
address:
required:
msg: Please enter an address.
city:
required:
msg: Please enter a city.
state:
required:
msg: Please select a state.
zip:
required:
msg: Please enter a zip code.
sfStringValidator:
min: 5
min_error: You have submitted an incomplete zip code. Please enter a valid zip code.
max: 5
max_error: Please submit a 5-digit zip code.
email:
sfEmailValidator:
strict: true
email_error: Please enter a valid email address (name@domain.extension)
phone:
sfStringValidator:
min: 12
min_error: Please enter a valid telephone number (e.g. 555-555-5555).
max: 17
max_error: Please enter a valid telephone number.
ext:
sfStringValidator:
max: 5
max_error: Please enter a valid extention.
# freq_month:
# required:
# msg: Please select month to start maintainence.
# sfStringValidator:
# min: 2
# min_error: Please select a month to start Maintainence.

View File

@ -0,0 +1,34 @@
fillin:
enabled: true
fields:
new_device_name:
required:
msg: Please enter a device description
new_manufacturer:
required:
msg: Please enter a device manufacturer
new_model_number:
required:
msg: Please enter a model number
new_serial_number:
required:
msg: Please enter a serial number
new_location:
required:
msg: Please enter where the device is located
new_frequency:
required:
msg: Please select a maintainance frequency
new_status:
required:
msg: Please select a status for the device