shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

default.twig (14506B)


      1 {{ header }}{{ column_left }}
      2 <div id="content">
      3   <div class="page-header">
      4     <div class="container-fluid">
      5       <div class="pull-right">
      6         <button type="submit" form="form-theme" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
      7         <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      8       <h1>{{ heading_title }}</h1>
      9       <ul class="breadcrumb">
     10         {% for breadcrumb in breadcrumbs %}
     11         <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
     12         {% endfor %}
     13       </ul>
     14     </div>
     15   </div>
     16   <div class="container-fluid">
     17     {% if error_warning %}
     18     <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
     19       <button type="button" class="close" data-dismiss="alert">&times;</button>
     20     </div>
     21     {% endif %}
     22     <div class="panel panel-default">
     23       <div class="panel-heading">
     24         <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
     25       </div>
     26       <div class="panel-body">
     27         <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-theme" class="form-horizontal">
     28           <fieldset>
     29             <legend>{{ text_general }}</legend>
     30             <div class="form-group">
     31               <label class="col-sm-2 control-label" for="input-directory"><span data-toggle="tooltip" title="{{ help_directory }}">{{ entry_directory }}</span></label>
     32               <div class="col-sm-10">
     33                 <select name="theme_default_directory" id="input-directory" class="form-control">
     34                   {% for directory in directories %}
     35                   {% if directory == theme_default_directory %}
     36                   <option value="{{ directory }}" selected="selected">{{ directory }}</option>
     37                   {% else %}
     38                   <option value="{{ directory }}">{{ directory }}</option>
     39                   {% endif %}
     40                   {% endfor %}
     41                 </select>
     42               </div>
     43             </div>
     44             <div class="form-group">
     45               <label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label>
     46               <div class="col-sm-10">
     47                 <select name="theme_default_status" id="input-status" class="form-control">
     48                   {% if theme_default_status %}
     49                   <option value="1" selected="selected">{{ text_enabled }}</option>
     50                   <option value="0">{{ text_disabled }}</option>
     51                   {% else %}
     52                   <option value="1">{{ text_enabled }}</option>
     53                   <option value="0" selected="selected">{{ text_disabled }}</option>
     54                   {% endif %}
     55                 </select>
     56               </div>
     57             </div>
     58           </fieldset>
     59           <fieldset>
     60             <legend>{{ text_product }}</legend>
     61             <div class="form-group required">
     62               <label class="col-sm-2 control-label" for="input-catalog-limit"><span data-toggle="tooltip" title="{{ help_product_limit }}">{{ entry_product_limit }}</span></label>
     63               <div class="col-sm-10">
     64                 <input type="text" name="theme_default_product_limit" value="{{ theme_default_product_limit }}" placeholder="{{ entry_product_limit }}" id="input-catalog-limit" class="form-control" />
     65                 {% if error_product_limit %}
     66                 <div class="text-danger">{{ error_product_limit }}</div>
     67                 {% endif %}
     68               </div>
     69             </div>
     70             <div class="form-group required">
     71               <label class="col-sm-2 control-label" for="input-description-limit"><span data-toggle="tooltip" title="{{ help_product_description_length }}">{{ entry_product_description_length }}</span></label>
     72               <div class="col-sm-10">
     73                 <input type="text" name="theme_default_product_description_length" value="{{ theme_default_product_description_length }}" placeholder="{{ entry_product_description_length }}" id="input-description-limit" class="form-control" />
     74                 {% if error_product_description_length %}
     75                 <div class="text-danger">{{ error_product_description_length }}</div>
     76                 {% endif %}
     77               </div>
     78             </div>
     79           </fieldset>
     80           <fieldset>
     81             <legend>{{ text_image }}</legend>
     82             <div class="form-group required">
     83               <label class="col-sm-2 control-label" for="input-image-category-width">{{ entry_image_category }}</label>
     84               <div class="col-sm-10">
     85                 <div class="row">
     86                   <div class="col-sm-6">
     87                     <input type="text" name="theme_default_image_category_width" value="{{ theme_default_image_category_width }}" placeholder="{{ entry_width }}" id="input-image-category-width" class="form-control" />
     88                   </div>
     89                   <div class="col-sm-6">
     90                     <input type="text" name="theme_default_image_category_height" value="{{ theme_default_image_category_height }}" placeholder="{{ entry_height }}" class="form-control" />
     91                   </div>
     92                 </div>
     93                 {% if error_image_category %}
     94                 <div class="text-danger">{{ error_image_category }}</div>
     95                 {% endif %}
     96               </div>
     97             </div>
     98             <div class="form-group required">
     99               <label class="col-sm-2 control-label" for="input-image-thumb-width">{{ entry_image_thumb }}</label>
    100               <div class="col-sm-10">
    101                 <div class="row">
    102                   <div class="col-sm-6">
    103                     <input type="text" name="theme_default_image_thumb_width" value="{{ theme_default_image_thumb_width }}" placeholder="{{ entry_width }}" id="input-image-thumb-width" class="form-control" />
    104                   </div>
    105                   <div class="col-sm-6">
    106                     <input type="text" name="theme_default_image_thumb_height" value="{{ theme_default_image_thumb_height }}" placeholder="{{ entry_height }}" class="form-control" />
    107                   </div>
    108                 </div>
    109                 {% if error_image_thumb %}
    110                 <div class="text-danger">{{ error_image_thumb }}</div>
    111                 {% endif %}
    112               </div>
    113             </div>
    114             <div class="form-group required">
    115               <label class="col-sm-2 control-label" for="input-image-popup-width">{{ entry_image_popup }}</label>
    116               <div class="col-sm-10">
    117                 <div class="row">
    118                   <div class="col-sm-6">
    119                     <input type="text" name="theme_default_image_popup_width" value="{{ theme_default_image_popup_width }}" placeholder="{{ entry_width }}" id="input-image-popup-width" class="form-control" />
    120                   </div>
    121                   <div class="col-sm-6">
    122                     <input type="text" name="theme_default_image_popup_height" value="{{ theme_default_image_popup_height }}" placeholder="{{ entry_height }}" class="form-control" />
    123                   </div>
    124                 </div>
    125                 {% if error_image_popup %}
    126                 <div class="text-danger">{{ error_image_popup }}</div>
    127                 {% endif %}
    128               </div>
    129             </div>
    130             <div class="form-group required">
    131               <label class="col-sm-2 control-label" for="input-image-product-width">{{ entry_image_product }}</label>
    132               <div class="col-sm-10">
    133                 <div class="row">
    134                   <div class="col-sm-6">
    135                     <input type="text" name="theme_default_image_product_width" value="{{ theme_default_image_product_width }}" placeholder="{{ entry_width }}" id="input-image-product-width" class="form-control" />
    136                   </div>
    137                   <div class="col-sm-6">
    138                     <input type="text" name="theme_default_image_product_height" value="{{ theme_default_image_product_height }}" placeholder="{{ entry_height }}" class="form-control" />
    139                   </div>
    140                 </div>
    141                 {% if error_image_product %}
    142                 <div class="text-danger">{{ error_image_product }}</div>
    143                 {% endif %}
    144               </div>
    145             </div>
    146             <div class="form-group required">
    147               <label class="col-sm-2 control-label" for="input-image-additional-width">{{ entry_image_additional }}</label>
    148               <div class="col-sm-10">
    149                 <div class="row">
    150                   <div class="col-sm-6">
    151                     <input type="text" name="theme_default_image_additional_width" value="{{ theme_default_image_additional_width }}" placeholder="{{ entry_width }}" id="input-image-additional-width" class="form-control" />
    152                   </div>
    153                   <div class="col-sm-6">
    154                     <input type="text" name="theme_default_image_additional_height" value="{{ theme_default_image_additional_height }}" placeholder="{{ entry_height }}" class="form-control" />
    155                   </div>
    156                 </div>
    157                 {% if error_image_additional %}
    158                 <div class="text-danger">{{ error_image_additional }}</div>
    159                 {% endif %}
    160               </div>
    161             </div>
    162             <div class="form-group required">
    163               <label class="col-sm-2 control-label" for="input-image-related">{{ entry_image_related }}</label>
    164               <div class="col-sm-10">
    165                 <div class="row">
    166                   <div class="col-sm-6">
    167                     <input type="text" name="theme_default_image_related_width" value="{{ theme_default_image_related_width }}" placeholder="{{ entry_width }}" id="input-image-related" class="form-control" />
    168                   </div>
    169                   <div class="col-sm-6">
    170                     <input type="text" name="theme_default_image_related_height" value="{{ theme_default_image_related_height }}" placeholder="{{ entry_height }}" class="form-control" />
    171                   </div>
    172                 </div>
    173                 {% if error_image_related %}
    174                 <div class="text-danger">{{ error_image_related }}</div>
    175                 {% endif %}
    176               </div>
    177             </div>
    178             <div class="form-group required">
    179               <label class="col-sm-2 control-label" for="input-image-compare">{{ entry_image_compare }}</label>
    180               <div class="col-sm-10">
    181                 <div class="row">
    182                   <div class="col-sm-6">
    183                     <input type="text" name="theme_default_image_compare_width" value="{{ theme_default_image_compare_width }}" placeholder="{{ entry_width }}" id="input-image-compare" class="form-control" />
    184                   </div>
    185                   <div class="col-sm-6">
    186                     <input type="text" name="theme_default_image_compare_height" value="{{ theme_default_image_compare_height }}" placeholder="{{ entry_height }}" class="form-control" />
    187                   </div>
    188                 </div>
    189                 {% if error_image_compare %}
    190                 <div class="text-danger">{{ error_image_compare }}</div>
    191                 {% endif %}
    192               </div>
    193             </div>
    194             <div class="form-group required">
    195               <label class="col-sm-2 control-label" for="input-image-wishlist">{{ entry_image_wishlist }}</label>
    196               <div class="col-sm-10">
    197                 <div class="row">
    198                   <div class="col-sm-6">
    199                     <input type="text" name="theme_default_image_wishlist_width" value="{{ theme_default_image_wishlist_width }}" placeholder="{{ entry_width }}" id="input-image-wishlist" class="form-control" />
    200                   </div>
    201                   <div class="col-sm-6">
    202                     <input type="text" name="theme_default_image_wishlist_height" value="{{ theme_default_image_wishlist_height }}" placeholder="{{ entry_height }}" class="form-control" />
    203                   </div>
    204                 </div>
    205                 {% if error_image_wishlist %}
    206                 <div class="text-danger">{{ error_image_wishlist }}</div>
    207                 {% endif %}
    208               </div>
    209             </div>
    210             <div class="form-group required">
    211               <label class="col-sm-2 control-label" for="input-image-cart">{{ entry_image_cart }}</label>
    212               <div class="col-sm-10">
    213                 <div class="row">
    214                   <div class="col-sm-6">
    215                     <input type="text" name="theme_default_image_cart_width" value="{{ theme_default_image_cart_width }}" placeholder="{{ entry_width }}" id="input-image-cart" class="form-control" />
    216                   </div>
    217                   <div class="col-sm-6">
    218                     <input type="text" name="theme_default_image_cart_height" value="{{ theme_default_image_cart_height }}" placeholder="{{ entry_height }}" class="form-control" />
    219                   </div>
    220                 </div>
    221                 {% if error_image_cart %}
    222                 <div class="text-danger">{{ error_image_cart }}</div>
    223                 {% endif %}
    224               </div>
    225             </div>
    226             <div class="form-group required">
    227               <label class="col-sm-2 control-label" for="input-image-location">{{ entry_image_location }}</label>
    228               <div class="col-sm-10">
    229                 <div class="row">
    230                   <div class="col-sm-6">
    231                     <input type="text" name="theme_default_image_location_width" value="{{ theme_default_image_location_width }}" placeholder="{{ entry_width }}" id="input-image-location" class="form-control" />
    232                   </div>
    233                   <div class="col-sm-6">
    234                     <input type="text" name="theme_default_image_location_height" value="{{ theme_default_image_location_height }}" placeholder="{{ entry_height }}" class="form-control" />
    235                   </div>
    236                 </div>
    237                 {% if error_image_location %}
    238                 <div class="text-danger">{{ error_image_location }}</div>
    239                 {% endif %}
    240               </div>
    241             </div>
    242           </fieldset>
    243         </form>
    244       </div>
    245     </div>
    246   </div>
    247 </div>
    248 {{ footer }}