// CSS fixes

This commit is contained in:
Damien Metzger
2013-10-09 15:11:04 +02:00
parent 9fcb039068
commit a2371067bf
5 changed files with 35 additions and 36 deletions
+6 -3
View File
@@ -7902,14 +7902,17 @@ hr {
word-wrap: nowrap;
font-size: 12px;
border-bottom: solid 1px #eeeeee; }
/* line 368, admin-theme.sass */
/* line 367, admin-theme.sass */
.table td.center, .table th.center {
text-align: center; }
/* line 370, admin-theme.sass */
/* line 369, admin-theme.sass */
.table td.pointer {
cursor: pointer; }
/* line 371, admin-theme.sass */
.table tr td:first-child, .table tr th:first-child {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px; }
/* line 373, admin-theme.sass */
/* line 374, admin-theme.sass */
.table tr td:last-child, .table tr th:last-child {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
@@ -364,9 +364,10 @@ hr
word-wrap: nowrap
font-size: 12px
border-bottom: solid 1px #eee
td.center, th.center
text-align: center
td.pointer
cursor: pointer
tr td:first-child, tr th:first-child
border-top-left-radius: 3px
border-bottom-left-radius: 3px
@@ -374,7 +375,6 @@ hr
border-top-right-radius: 3px
border-bottom-right-radius: 3px
//filter table
tr.filter
background-color: lighten(#CAE5F4,5%)
input[type="text"].filter, input[type="password"].filter, select.filter
@@ -50,55 +50,52 @@
{block name=leadin}
{if isset($delete_category) && $delete_category}
<div class="panel panel-danger">
<div class="panel-heading">
<p>
{if $need_delete_mode}
{l s='Do you want to delete the products too?'}
{l s='What do you want to do with the products associated with this category?'}
{else}
{l s='Deleting this category will remove products linked only within this category and no others. Are you sure you want to continue?'}
{/if}
</div>
</p>
{if $need_delete_mode}
<form action="{$REQUEST_URI}" method="post">
<div class="radio">
<label for="deleteMode_linkanddisable">
<input type="radio" name="deleteMode" value="linkanddisable" id="deleteMode_linkanddisable" />
{l s='No. I want to link products without other categories -- within the parent category -- and then disable them.'}
<input type="radio" name="deleteMode" value="linkanddisable" id="deleteMode_linkanddisable" checked="checked" />
{l s='I want to associate the products without other categories with the parent category and then disable them.'} <strong>{l s='(Recommended)'}</strong>
</label>
</div>
<div class="radio">
<label for="deleteMode_link">
<input type="radio" name="deleteMode" value="link" id="deleteMode_link" />
{l s='No. I want to link products without other categories and within the parent category.'}
{l s='I want to associate the products without other categories with the parent category.'}
</label>
</div>
<div class="radio">
<label for="deleteMode_delete">
<input type="radio" name="deleteMode" value="delete" id="deleteMode_delete" />
{l s='Yes. I want to remove products linked only within this category and no others.'}
{l s='I want to remove products linked only within this category and no others.'}
</label>
</div>
{else}
<input type="hidden" name="deleteMode" value="delete" id="deleteMode_delete" />
{/if}
{foreach $POST as $key => $value}
{if $key != 'deleteMode'}
{if is_array($value)}
{foreach $value as $val}
<input type="hidden" name="{$key|escape:'htmlall':'UTF-8'}[]" value="{$val|escape:'htmlall':'UTF-8'}" />
{/foreach}
{else}
<input type="hidden" name="{$key|escape:'htmlall':'UTF-8'}" value="{$value|escape:'htmlall':'UTF-8'}" />
{/if}
{else}
<input type="hidden" name="deleteMode" value="delete" id="deleteMode_delete" />
{/if}
{foreach $POST as $key => $value}
{if $key != 'deleteMode'}
{if is_array($value)}
{foreach $value as $val}
<input type="hidden" name="{$key|escape:'htmlall':'UTF-8'}[]" value="{$val|escape:'htmlall':'UTF-8'}" />
{/foreach}
{else}
<input type="hidden" name="{$key|escape:'htmlall':'UTF-8'}" value="{$value|escape:'htmlall':'UTF-8'}" />
{/if}
{/foreach}
{/if}
{/foreach}
<hr>
<input type="submit" name="cancel" class="btn btn-default" value="{l s='Cancel'}" />
<input type="submit" class="btn btn-primary" value="{l s='Validate'}" />
</form>
</div>
</form>
</div>
{/if}
{/block}