issue #0001687: User interface improvement

This commit is contained in:
Arman KYOKCHAN 2013-09-04 13:08:58 +00:00
parent 19b425c606
commit e6b559c265
2 changed files with 11 additions and 6 deletions

View File

@ -384,7 +384,6 @@ class GiantController extends Zend_Controller_Action
public function reteventsAction()
{
$this->_helper->layout()->disableLayout();
$this->view->headLink()->appendStylesheet('/themes/default/styles/giant.css', 'all');
$this->view->headScript()->appendFile('/themes/default/scripts/giant_monitoring.js', 'text/javascript');
$this->view->headScript()->appendFile('/themes/default/scripts/giant.js', 'text/javascript');
$auth = Zend_Auth::getInstance();

View File

@ -1,10 +1,13 @@
<?function emp_check($val){echo (empty($val))?'NC':$val;}
$wdate = new WDate();?>
<div class='acord'>
<?foreach ($this->result as $report):?><pre><? print_r($report);?></pre>
<div id="center">
<div class='acord'>
<div id="accordion">
<h3>GENERAL.ADDRESS_CHANGE</h3>
<?foreach ($this->result as $report):?>
<h3><?=$report->Company->Event[0]->Date->_?></h3>
<div>
<h2 class="radius">Données officielles</h2><br /><br />
<div class="gen_div">
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
@ -40,5 +43,8 @@ $wdate = new WDate();?>
</div>
<hr style="border:1px dotted silver" />
<?endforeach;?>
</div></div></div>
</div><?endforeach;?>
</div>
</div>
</div><script>$( "#accordion" ).accordion({heightStyle: "content", collapsible: true,active: false });</script>