//page product information align left label, stylesheet footer

This commit is contained in:
vKham
2011-12-12 16:07:04 +00:00
parent 10620b715a
commit 88942e8aac
5 changed files with 36 additions and 24 deletions
+6 -1
View File
@@ -127,6 +127,7 @@ input.button[disabled=disabled]:hover{background-color:#FFF6D3}
.table tr.small td{height:15px}
.table tr.last td{border-bottom:none}
td.col-left {vertical-align:top; padding-right:10px;}
#step1 td.col-left { width:250px;}
td.col-left label { display:block; width:100%; text-align:right;}
.alt_row{background-color:#f8f8f8}
.path_bar{background-color:#E2EBEE;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:13px;margin-bottom:20px;padding:5px}
@@ -378,4 +379,8 @@ select#show_modules { font-size:12px;}
/*FOOTER*/
#footer {height:40px; font-size:12px;clear:both;font-size:0.9em;color:#666666}
#footer .footer_link, #footer .footer_link:hover {color:#D41958;}
#footer .footerLeft { float:left; margin-left:10px;}
#footer .footerRight {float:right; margin-right:10px;}
#footer .footer_link, #footer .footer_link:hover { color:#268CCD;}
+5 -5
View File
@@ -29,13 +29,13 @@
{if $display_footer}
{$HOOK_FOOTER}
<div id="footer">
<div style="float:left;margin-left:10px;padding-top:6px">
<a href="http://www.prestashop.com/" target="_blank" style="font-weight:700;color:#666666">PrestaShop&trade; {$ps_version}</a><br />
<span style="font-size:10px">{l s='Load time: '}{$end_time}s</span>
<div class="footerLeft">
<a href="http://www.prestashop.com/" target="_blank">PrestaShop&trade; {$ps_version}</a><br />
<span>{l s='Load time: '}{$end_time}s</span>
</div>
<div style="float:right;height:40px;margin-right:10px;line-height:38px;vertical-align:middle">
<div class="footerRight">
{if $iso_is_fr}
<span style="color: #812143; font-weight: bold;">Questions / Renseignements / Formations :</span> <strong>+33 (0)1.40.18.30.04</strong> de 09h &agrave; 18h
<span>Questions / Renseignements / Formations :</span> <strong>+33 (0)1.40.18.30.04</strong> de 09h &agrave; 18h
{/if}
|&nbsp;<a href="http://www.prestashop.com/en/contact_us/" target="_blank" class="footer_link">{l s='Contact'}</a>
|&nbsp;<a href="http://forge.prestashop.com" target="_blank" class="footer_link">{l s='Bug Tracker'}</a>
@@ -221,7 +221,7 @@ var textFieldLabel = 0;
<tr>
<td colspan="2">
<p><input type="checkbox" id="is_virtual_good" name="is_virtual_good" value="true" {*onclick="toggleVirtualProduct(this);"*} {if $product->is_virtual && $product->productDownload->active}checked="checked"{/if} />
<label for="is_virtual_good" class="t bold" style="color: black;">{l s='Is this a virtual product?'}</label>
<label for="is_virtual_good" class="t bold">{l s='Is this a virtual product?'}</label>
</p>
{* [begin] virtual product *}
<div id="virtual_good" class="toggleVirtualPhysicalProduct" {if !$product->productDownload->id || $product->productDownload->active}style="display:none"{/if} >
@@ -317,7 +317,9 @@ var textFieldLabel = 0;
</div>
</td>
</tr>
<tr><td colspan="2" style="padding-bottom:5px;"><div class="separation"></div></td></tr>
</table>
<div class="separation"></div>
<table cellspacing="0" cellpadding="5" border="0">
{if !$ps_stock_management}
<tr>
<td colspan="2">{l s='The stock management is disabled'}</td>
@@ -332,7 +334,6 @@ var textFieldLabel = 0;
</td>
</tr>
{/if}
<tr><td colspan="2" style="padding-bottom:5px;"><div class="separation"></div></td></tr>
<tr>
<td class="col-left"><label>{l s='Additional shipping cost:'}</label></td>
<td style="padding-bottom:5px;">{$currency->prefix}<input type="text" name="additional_shipping_cost"
@@ -374,12 +375,9 @@ var textFieldLabel = 0;
</tr>
{/if}
<tr>
<td colspan="2" style="padding-bottom:5px;">
<div class="separation"></div>
</td>
</tr>
<tr><td colspan="2" style="padding-bottom:5px;"><div class="separation"></div></td></tr>
</table>
<div class="separation"></div>
<table cellspacing="0" cellpadding="5" border="0">
{************** DESCRIPTION *****************************}
<tr><td colspan="2">
<span onclick="$('#seo').slideToggle();" style="cursor: pointer"><img src="../img/admin/arrow.gif" alt="{l s='SEO'}" title="{l s='SEO'}" style="float:left; margin-right:5px;"/>{l s='Click here to improve product\'s rank in search engines (SEO)'}</span><br />
@@ -434,7 +432,9 @@ var textFieldLabel = 0;
</td></tr></table>
</div>
</td></tr>
<tr><td colspan="2" style="padding-bottom:5px;"><div class="separation"></div></td></tr>
</table>
<tr><td colspan="2" style="padding-bottom:5px;"><div class="separation"></div></td></tr>
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td class="col-left"><label>{l s='Short description:'}<br /><br /><i>({l s='appears in the product lists and on the top of the product page'})</i></label></td>
<td style="padding-bottom:5px;">
@@ -625,7 +625,6 @@ var accessories = new Array();
</script>
</td>
</tr>
<tr><td colspan="2" style="padding-bottom:10px;"><div class="separation"></div></td></tr>
</table>
<br />
</div>
+14 -7
View File
@@ -34,7 +34,7 @@
{foreach $products AS $product}
<hr />
{if !$product->hasAttributes()}
<table border="0" cellpadding="0" cellspacing="0" class="table" style="width:80%;margin-left:10%;">
<table border="0" cellpadding="0" cellspacing="0" class="table" style="">
<tr>
<th>{$product->name}</th>
{if !empty($product->reference)}<th width="150">{l s='Ref:'} {$product->reference}</th>{/if}
@@ -45,13 +45,20 @@
</table>
{else}
<h3><a href="?tab=AdminProducts&id_product={$product->id}&updateproduct&token={getAdminToken tab='AdminProducts'}">{$product->name}</a></h3>
<table border="0" cellpadding="0" cellspacing="0" class="table" style="width:80%;margin-left:10%;">
<table border="0" cellpadding="0" cellspacing="0" class="table" style="width:100%;">
<colgroup>
<col></col>
<col width="80"></col>
<col width="80"></col>
<col width="50"></col>
<col width="130"></col>
</colgroup>
<tr>
<th>{l s='Attribute name'}</th>
<th width="80">{l s='Reference'}</th>
<th width="80">{l s='EAN13'}</th>
<th width="80">{l s='UPC'}</th>
{if $stock_management && $shopContext != Shop::CONTEXT_ALL}<th class="right" width="150">{l s='Available Quantity'}</th>{/if}
<th style="height:40px;">{l s='Attribute name'}</th>
<th>{l s='Reference'}</th>
<th>{l s='EAN13'}</th>
<th>{l s='UPC'}</th>
{if $stock_management && $shopContext != Shop::CONTEXT_ALL}<th class="right">{l s='Available Quantity'}</th>{/if}
</tr>
{foreach $product->combinaison AS $id_product_attribute => $product_attribute}
<tr {if $id_product_attribute %2}class="alt_row"{/if} >
+1
View File
@@ -336,6 +336,7 @@ select optgroup option {
#main {
clear: left;
min-height: 600px;
/*border: 1px solid #999;
border-bottom: none;*/
}