// new layout page stats, substitute fieldset by div, legend by h2, delete stylesheet on html

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10760 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vKham
2011-11-29 17:42:38 +00:00
parent 66a0d5e50f
commit ad65287eeb
9 changed files with 81 additions and 66 deletions
+10
View File
@@ -229,6 +229,7 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
/*SIDEBAR*/
.sidebar { position:relative; float:left; width:220px; display:inline;}
.sidebar h3 { background-color:#ebedf4; font-weight:bold; display:block; padding:5px;}
.sidebar.navigation h3 {margin:0;}
.sidebar .subHeadline { font-weight:bold; float:right; margin-top:-28px; margin-right:5px;}
.sidebar ul.categorieList {}
.sidebar ul.categorieList li { border-top:1px solid #ccc; position:relative; line-height:20px;}
@@ -238,6 +239,15 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
.sidebar ul.categorieList li div.count{ position:absolute; top:0; right:5px;}
.sidebar .categorieStatus { display:none;}
/*STATCONTAINER*/
#statsContainer {margin-left:220px; padding:0 0 0 20px;}
#statsContainer #calendar { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; margin: 10px 0;min-height: 25px; padding: 10px;}
#statsContainer #calendar input, #statsContainer #calendar p { float:left; margin-right:5px;}
#statsContainer .blocStats { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; position:relative; padding: 10px;}
#statsContainer .blocStats h2 { font-weight:normal; margin:0;}
#statsContainer .blocStats form { position:absolute; top:10px; right:5px;}
/*MODULECONTAINER*/
#moduleContainer { margin-left:220px; padding:13px 0 0 20px;}
#moduleContainer .table tr th { height:40px;}
+2 -2
View File
@@ -155,8 +155,8 @@
<option value="0">{l s='everywhere'}</option>
<option value="1" {if {$search_type} == 1} selected="selected" {/if}>{l s='catalog'}</option>
<optgroup label="{l s='customers'}:">
<option value="2" {if {$search_type} == 2} selected="selected" {/if}>{l s='by name'}</option>
<option value="6" {if {$search_type} == 6} selected="selected" {/if}>{l s='by ip address'}</option>
<option value="2" {if {$search_type} == 2} selected="selected" {/if}>{l s='by name'}</option>
<option value="6" {if {$search_type} == 6} selected="selected" {/if}>{l s='by ip address'}</option>
</optgroup>
<option value="3" {if {$search_type} == 3} selected="selected" {/if}>{l s='orders'}</option>
<option value="4" {if {$search_type} == 4} selected="selected" {/if}>{l s='invoices'}</option>
@@ -133,7 +133,8 @@
<td class="col-left"><label>{l s='Status:' }</label></td>
<td style="padding-bottom:5px;">
<input style="float:left;" onclick="toggleDraftWarning(false);showOptions(true);" type="radio" name="active" id="active_on" value="1" {if $product->active}checked="checked" {/if} />
<label for="active_on" class="t">
<label for="active_on" class="t"><img src="../img/admin/enabled.gif" alt="{l s='Enabled'}"
title="{l s='Enabled'}" style="float:left; padding:0px 5px 0px 5px;" />
{l s='Enabled'}</label>
<br class="clear" />
<input style="float:left;" onclick="toggleDraftWarning(true);showOptions(false);" type="radio" name="active" id="active_off" value="0" {if !$product->active}checked="checked"{/if} />
@@ -201,6 +202,21 @@
</a>
</td>
</tr>
<!--tr>
<td class="col-left"><label>{l s='Supplier:' }</label></td>
<td style="padding-bottom:5px;">
<select name="id_supplier" id="id_supplier">
<option value="0">-- {l s='Choose (optional)'} --</option>
{if $product->id_supplier}
<option value="{$product->id_supplier}" selected="selected">{$product->supplier_name}</option>
{/if}
<option disabled="disabled">----------</option>
</select>&nbsp;&nbsp;&nbsp;
<a href="{$link->getAdminLink('AdminSuppliers')}&addsupplier" onclick="return confirm('{l s='Are you sure you want to delete entered product information?' js=1}">
<img src="../img/admin/add.gif" alt="{l s='Create'}" title="{l s='Create'}" /> <b>{l s='Create'}</b>
</a>
</td>
</tr-->
</table>
<table cellpadding="5" cellspacing="0" border="0" style="width: 100%;"><tr><td><div class="separation"></div></td></tr></table>
{* [begin] pack product *}
@@ -560,13 +576,13 @@ $(document).ready(function(){
</tr>
{* @todo : prices related has to be moved in price subtab *}
<!--tr>
<tr>
<td class="col-left"><label>{l s='Pre-tax wholesale price:'}</label></td>
<td style="padding-bottom:5px;">
{$currency->prefix}<input size="11" maxlength="14" name="wholesale_price" type="text" value="{$product->wholesale_price}" onchange="this.value = this.value.replace(/,/g, '.');" />{$currency->suffix}
<p class="preference_description">{l s='The wholesale price at which you bought this product'}</p>
</td>
</tr-->
</tr>
<tr>
<td class="col-left"><label>{l s='Pre-tax retail price:'}</label></td>
@@ -957,7 +973,7 @@ $(document).ready(function(){
<p class="preference_description">{l s='Tags separated by commas (e.g., dvd, dvd player, hifi)'}</p>
</td>
</tr>
<tr>
<td class="col-left"><label>{l s='Accessories:'}<br /><br /><i>{l s='(Do not forget to Save the product afterward)'}</i></label></td>
<td style="padding-bottom:5px;">
@@ -973,7 +989,7 @@ $(document).ready(function(){
var formProduct;
var accessories = new Array();
</script>
<div id="ajax_choose_product" style="padding:6px; padding-top:2px; width:600px;">
<p class="clear">{l s='Begin typing the first letters of the product name, then select the product from the drop-down list:'}</p>
<input type="text" value="" id="product_autocomplete_input" />
@@ -1019,7 +1035,7 @@ var accessories = new Array();
<br />
</div>
<script type="text/javascript">
toggleVirtualProduct(getE('is_virtual_good'));
unitPriceWithTax('unit');
+5 -15
View File
@@ -24,21 +24,15 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<div style="float:left">
<div id="statsContainer">
<div id="calendar">
<fieldset style="width:230px; font-size:13px;">
<legend>
<img src="../img/admin/date.png" />
{$translations.Calendar}
</legend>
<div>
<form action="{$current}&token={$token}{if $action && $table}&{$action}{$table}{/if}{if $identifier && $id}&{$identifier}={$id}{/if}" method="post" id="calendar_form" name="calendar_form">
<input type="submit" name="submitDateDay" class="button" value="{$translations.Day}">
<input type="submit" name="submitDateMonth" class="button" value="{$translations.Month}">
<input type="submit" name="submitDateYear" class="button" value="{$translations.Year}"><br />
<input type="submit" name="submitDateDayPrev" class="button" value="{$translations.Day}-1" style="margin-top:2px">
<input type="submit" name="submitDateMonthPrev" class="button" value="{$translations.Month}-1" style="margin-top:2px">
<input type="submit" name="submitDateYearPrev" class="button" value="{$translations.Year}-1" style="margin-top:2px">
<input type="submit" name="submitDateYear" class="button" value="{$translations.Year}">
<input type="submit" name="submitDateDayPrev" class="button" value="{$translations.Day}-1">
<input type="submit" name="submitDateMonthPrev" class="button" value="{$translations.Month}-1">
<input type="submit" name="submitDateYearPrev" class="button" value="{$translations.Year}-1">
<p>{if isset($translations.From)}{$translations.From}{else}{l s='From:'}{/if}
<input type="text" name="datepickerFrom" id="datepickerFrom" value="{$datepickerFrom}" class="datepicker">
</p>
@@ -58,8 +52,4 @@
});
});
</script>
</div>
</fieldset>
<div class="clear space">&nbsp;</div>
</div>
+8 -11
View File
@@ -23,25 +23,22 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<fieldset style="width:230px">
<legend>
<img src="../img/admin/navigation.png" /> {l s='Navigation'}
</legend>
<div id="container">
<div class="sidebar navigation">
<h3>{l s='Navigation'}</h3>
<ul class="categorieList">
{if count($modules)}
{foreach $modules as $module}
{if $module_instance[$module.name]}
<h4>
<img src="../modules/{$module.name}/logo.gif" />
<li>
<a href="{$current}&token={$token}&module={$module.name}">{$module_instance[$module.name]->displayName}</a>
</h4>
</li>
{/if}
{/foreach}
{else}
{l s='No module installed'}
{/if}
</fieldset>
<div class="clear space">&nbsp;</div>
</div>
</ul>
</div>
+4 -2
View File
@@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<div style="margin-left:280px;">
<div>
{if $module_name}
{if $module_instance && $module_instance->active}
{$hook}
@@ -35,5 +35,7 @@
<h3 class="space">{l s='Please select a module in the left column.'}</h3>
{/if}
</div>
<div class="clear"></div>
</div>
</div>