[Weberp-svn] SF.net SVN: weberp:[8735] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-04-29 19:21:44
|
Revision: 8735 http://weberp.svn.sourceforge.net/weberp/?rev=8735&view=rev Author: tim_schofield Date: 2012-04-29 19:21:38 +0000 (Sun, 29 Apr 2012) Log Message: ----------- Layout improvements, new css and buttons Modified Paths: -------------- trunk/SuppCreditGRNs.php trunk/css/silverwolf/default.css Modified: trunk/SuppCreditGRNs.php =================================================================== --- trunk/SuppCreditGRNs.php 2012-04-29 19:21:28 UTC (rev 8734) +++ trunk/SuppCreditGRNs.php 2012-04-29 19:21:38 UTC (rev 8735) @@ -74,7 +74,7 @@ /*Show all the selected GRNs so far from the SESSION['SuppTrans']->GRNs array */ echo '<table cellpadding="0" class="selection">'; -echo '<tr><th colspan="6"><font size="3" color="#616161">' . _('Credits Against Goods Received Selected') . '</font></th></tr>'; +echo '<tr><th colspan="6" class="header">' . _('Credits Against Goods Received Selected') . '</th></tr>'; $TableHeader = '<tr><th>' . _('GRN') . '</th> <th>' . _('Item Code') . '</th> <th>' . _('Description') . '</th> @@ -150,9 +150,8 @@ echo '<br /><table cellpadding="2" class="selection">'; -echo '<tr><th colspan="10"><font size="3" color="#616161">' . _('Show Goods Received Since') . ': </font>'; -echo '<input type="text" name="Show_Since" maxlength="11" size="12" class="date" alt='.$_SESSION['DefaultDateFormat'].' value="' . $_POST['Show_Since'] . '" /> - <font size="3" color="#616161"> '; +echo '<tr><th colspan="10" class="header">' . _('Show Goods Received Since') . ': '; +echo '<input type="text" name="Show_Since" maxlength="11" size="12" class="date" style="font-size: 10px" alt='.$_SESSION['DefaultDateFormat'].' value="' . $_POST['Show_Since'] . '" /> '; echo _('From') . ' ' . $_SESSION['SuppTrans']->SupplierName . '</font></th></tr>'; $TableHeader = '<tr><th>' . _('GRN') . '</th> @@ -180,7 +179,7 @@ } } if ($GRNAlreadyOnCredit == False){ - echo '<tr><td><input type="submit" name="GRNNo" value="' . $myrow['grnno'] . '" /></td> + echo '<tr><td><button type="submit" name="GRNNo" value="' . $myrow['grnno'] . '" />' . $myrow['grnno'] . '</button></td> <td>' . $myrow['orderno'] . '</td> <td>' . $myrow['itemcode'] . '</td> <td>' . $myrow['itemdescription'] . '</td> @@ -257,7 +256,7 @@ echo '<input type="hidden" name="ShiptRef" value="' . $myrow['shiptref'] . '" />'; } - echo '<br /><div class="centre"><input type="submit" name="AddGRNToTrans" value="' . _('Add to Credit Note') . '" /></div>'; + echo '<br /><div class="centre"><button type="submit" name="AddGRNToTrans">' . _('Add to Credit Note') . '</button></div>'; echo '<input type="hidden" name="GRNNumber" value="' . $_POST['GRNNo'] . '" />'; Modified: trunk/css/silverwolf/default.css =================================================================== --- trunk/css/silverwolf/default.css 2012-04-29 19:21:28 UTC (rev 8734) +++ trunk/css/silverwolf/default.css 2012-04-29 19:21:38 UTC (rev 8735) @@ -79,6 +79,15 @@ vertical-align: middle; } +th.date { + font-weight: normal; + background-color: #cccce5; + border-radius: 5px; + font-size: 10px; + color: #300; + vertical-align: middle; +} + th.header { font-weight: normal; background: transparent; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |