[-] FO : Bug fix #PSCFV-7915 : Mobile theme issue, default attribute
This commit is contained in:
@@ -67,8 +67,12 @@
|
|||||||
|
|
||||||
/* JQUERY MOBILE */
|
/* JQUERY MOBILE */
|
||||||
.ui-content {
|
.ui-content {
|
||||||
margin: 20px;
|
|
||||||
overflow-y:hidden;
|
overflow-y:hidden;
|
||||||
|
background:none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui-page > .ui-content {
|
||||||
|
padding:15px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
section .ui-content {
|
section .ui-content {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
*}
|
*}
|
||||||
{if isset($groups)}
|
{if isset($groups)}
|
||||||
<hr width="99%" align="center" size="2" class="margin_less"/>
|
<hr width="99%" align="center" size="2" class="margin_less"/>
|
||||||
|
{debug}
|
||||||
<div id="attributes">
|
<div id="attributes">
|
||||||
{foreach from=$groups key=id_attribute_group item=group}
|
{foreach from=$groups key=id_attribute_group item=group}
|
||||||
{if $group.attributes|@count}
|
{if $group.attributes|@count}
|
||||||
@@ -34,13 +34,13 @@
|
|||||||
{if ($group.group_type == 'select' || $group.group_type == 'color')}
|
{if ($group.group_type == 'select' || $group.group_type == 'color')}
|
||||||
<select name="{$groupName}" id="{$groupName}" class="attribute_select{if ($group.group_type == 'color')} select_color{/if}">
|
<select name="{$groupName}" id="{$groupName}" class="attribute_select{if ($group.group_type == 'color')} select_color{/if}">
|
||||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||||
<option value="{$id_attribute|intval}" title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'}</option>
|
<option value="{$id_attribute|intval}" title="{$group_attribute|escape:'htmlall':'UTF-8'}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if}>{$group_attribute|escape:'htmlall':'UTF-8'}</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</select>
|
</select>
|
||||||
{elseif ($group.group_type == 'radio')}
|
{elseif ($group.group_type == 'radio')}
|
||||||
<fieldset data-role="controlgroup">
|
<fieldset data-role="controlgroup">
|
||||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||||
<input type="radio" class="attribute_radio" name="{$groupName}" id="{$groupName}_{$id_attribute}" value="{$id_attribute}">
|
<input type="radio" class="attribute_radio" name="{$groupName}" id="{$groupName}_{$id_attribute}" value="{$id_attribute}" {if ($group.default == $id_attribute)} checked="checked"{/if}>
|
||||||
<label for="{$groupName}_{$id_attribute}">{$group_attribute|escape:'htmlall':'UTF-8'}</label>
|
<label for="{$groupName}_{$id_attribute}">{$group_attribute|escape:'htmlall':'UTF-8'}</label>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|||||||
Reference in New Issue
Block a user