Ignore:
Timestamp:
2012-12-16T02:01:22-08:00 (6 years ago)
Author:
Compass <pan.luo@…>
Branches:
3.1.x, dev, hotfix, master, pagodabox, ticket463
Children:
a0781ef
Parents:
4b4b150
git-author:
Compass <pan.luo@…> (12/16/2012 02:00:28 AM)
git-committer:
Compass <pan.luo@…> (12/16/2012 02:01:22 AM)
Message:

Change the styles for evaluation result pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/views/evaluations/view_rubric_evaluation_results_detail.ctp

    r4b4b150 r6602514  
    88<!-- Render Event Info table -->
    99<?php echo $this->element('evaluations/view_event_info', array('controller'=>'evaluations', 'event'=>$event));?>
    10 
    11 <div class="event-summary">
    12     <span class="instruction-icon"><?php __('Summary:')?> ( <?php echo $this->Html->link(__('Basic', true), "/evaluations/viewEvaluationResults/".$event['Event']['id']."/".$event['Group']['id']."/Basic")?> |
    13     <?php echo $html->link(__('Detail', true), "/evaluations/viewEvaluationResults/".$event['Event']['id']."/".$event['Group']['id']."/Detail")?> )</span>
    14     <font size = "1" face = "arial" color = "red" >*Numerics in red denotes late submission penalty.</font>
    15     <?php if (!$allMembersCompleted): ?>
    16         <div class="incompleted">
    17           <?php __('These people have not yet submit their evaluations:')?>
    18             <ul>
    19                 <?php foreach($inCompletedMembers as $row): $user = $row['User']; ?>
    20                     <li><?php echo $user['first_name']." ".$user['last_name'] . ($row['Role']['role_id']==4 ? ' (TA)' : ' (student)');?></li>
    21                 <?php endforeach; ?>
    22             </ul>
    23         </div>
    24     <?php endif; ?>
    25 </div>
    26 
     10<?php echo $this->element('evaluations/summary_info', array('controller'=>'evaluations', 'event'=>$event));?>
     11
     12<h3><?php __('Evaluation Results')?></h3>
    2713<div id='rubric_result'>
    2814
     
    160146    </tr>
    161147</table>
    162 <table width="100%" border="0" align="center" cellpadding="4" cellspacing="2">
    163     <tr>
    164         <td align="center">
     148
    165149<div id="accordion">
    166150    <?php $i = 0;
     
    171155            <?php echo __('Evaluatee: ', true).$user['first_name']." ".$user['last_name']?>
    172156        </div>
    173         <div style="height: 200px;" id="panel1Content" class="panelContent">
     157        <div style="height: 200px;text-align: center;" id="panel1Content" class="panelContent">
    174158            <br><b><?php
    175159                $scaled = $membersAry[$user['id']]['received_ave_score'] * (1 - ($penalties[$user['id']] / 100));
     
    208192                ?> </b>
    209193            <br><br>
    210         <table width="95%" border="0" align="center" cellpadding="4" cellspacing="2">
    211             <tr class="tableheader" align="center">
    212                 <td width="100" valign="top"><?php __('Evaluator')?></td>
    213                 <?php
    214                 for ($i=1; $i<=$rubric['Rubric']["criteria"]; $i++) {
    215                     echo "<td><strong><font color=" . $color[ $i % sizeof($color) ] . ">" . ($i) . ". "  . "</font></strong>";
    216                     echo $rubricCriteria[$i-1]['criteria'];
    217                     echo "</td>";
    218                 }
    219                 ?>
     194        <table class="standardtable">
     195            <tr>
     196                <th width="100" valign="top"><?php __('Evaluator')?></th>
     197                <?php for ($i=1; $i<=$rubric['Rubric']["criteria"]; $i++): ?>
     198                    <th><strong><font color="<?php echo $color[ $i % sizeof($color) ]?>">(<?php echo $i?>)</font></strong>
     199                        <?php echo $rubricCriteria[$i-1]['criteria'];?>
     200                    </th>
     201                <?php endfor; ?>
    220202            </tr>
    221203            <?php
     
    304286    <?php endforeach; ?>
    305287</div>
    306     </td>
    307     </tr>
    308 </table>
    309288
    310289<script type="text/javascript"> new Rico.Accordion( 'accordion',
Note: See TracChangeset for help on using the changeset viewer.