Skip to content

Commit

Permalink
Dev Optimized requirement check dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 27, 2013
1 parent 3db4daa commit 52aa80c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
29 changes: 18 additions & 11 deletions application/views/installer/precheck_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ function dirReport($dir, $write, $clang)
<fieldset>
<legend><?php $clang->eT("Minimum requirements"); ?></legend>

<table>
<table class='table-striped'>
<thead>
<tr>
<td>&nbsp;</td>
<td><?php $clang->eT("Required"); ?></td>
<td><?php $clang->eT("Current"); ?></td>
<th>&nbsp;</th>
<th class='text-center'><?php $clang->eT("Required"); ?></th>
<th class='text-center'><?php $clang->eT("Current"); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td><?php $clang->eT("PHP version"); ?></td>
<td>5.1.6+</td>
Expand Down Expand Up @@ -92,17 +95,20 @@ function dirReport($dir, $write, $clang)
<td><img src="<?php echo Yii::app()->baseUrl; ?>/installer/images/tick-right.png" alt="Check" /></td>
<td><?php echo $sessionWritableImg; if (!$sessionWritable) echo '<br/>session.save_path: ' . session_save_path(); ?></td>
</tr>

</tbody>
</table>
</fieldset>
<fieldset>
<legend><?php $clang->eT('Optional modules'); ?></legend>
<table>
<tr>
<td>&nbsp;</td>
<td><?php $clang->eT('Recommended'); ?></td>
<td><?php $clang->eT('Current'); ?></td>
</tr>
<table class='table-striped'>
<thead>
<tr>
<th>&nbsp;</th>
<th><?php $clang->eT('Recommended'); ?></th>
<th><?php $clang->eT('Current'); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td>PHP GD library</td>
<td><img src="<?php echo Yii::app()->baseUrl; ?>/installer/images/tick-right.png" alt="Check" /></td>
Expand All @@ -128,6 +134,7 @@ function dirReport($dir, $write, $clang)
<td><img src="<?php echo Yii::app()->baseUrl; ?>/installer/images/tick-right.png" alt="Check" /></td>
<td><?php echo $bIMAPPresent ; ?></td>
</tr>
</tbody>

</table>
</fieldset>
Expand Down
5 changes: 3 additions & 2 deletions installer/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ table td + td {
table td, table th {
width: 33%;
padding: 1px;

}
table th {
text-align: center;
}

div.navigator {
margin-top: 30px;
}
Expand Down

0 comments on commit 52aa80c

Please sign in to comment.