shop.balmet.com

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

ebay_profile_form_template.twig (9097B)


      1 {{ header }}{{ column_left }}
      2 <div id="content">
      3   <div class="page-header">
      4     <div class="container-fluid">
      5       <div class="pull-right">
      6         <a data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary" onclick="$('#form').submit();"><i class="fa fa-check-circle"></i></a>
      7         <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a>
      8       </div>
      9       <h1>{{ heading_title }}</h1>
     10       <ul class="breadcrumb">
     11         {% for breadcrumb in breadcrumbs %}
     12         <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
     13         {% endfor %}
     14       </ul>
     15     </div>
     16   </div>
     17   <div class="container-fluid">
     18     {% if error_warning %}
     19       <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div>
     20     {% endif %}
     21     <div class="panel panel-default">
     22       <div class="panel-heading">
     23         <h3 class="panel-title"><i class="fa fa-list"></i> {{ text_manage }}</h3>
     24       </div>
     25       <div class="panel-body">
     26         <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form" class="form-horizontal">
     27           <input type="hidden" name="type" value="{{ type }}" />
     28           <input type="hidden" name="ebay_profile_id" value="{{ ebay_profile_id }}" />
     29           <ul class="nav nav-tabs">
     30             <li class="active"><a href="#tab-general" data-toggle="tab">{{ tab_general }}</a></li>
     31             <li><a href="#tab-template" data-toggle="tab">{{ tab_template }}</a></li>
     32             <li><a href="#tab-gallery" data-toggle="tab">{{ tab_gallery }}</a></li>
     33           </ul>
     34           <div class="tab-content">
     35             <div class="tab-pane active" id="tab-general">
     36               <div class="form-group">
     37                 <label class="col-sm-2 control-label">{{ text_profile_default }}</label>
     38                 <div class="col-sm-10">
     39                   <input type="hidden" name="default" value="0" />
     40                   <input type="checkbox" name="default" value="1"{% if default == 1 %} checked="checked"{% endif %} />
     41                 </div>
     42               </div>
     43               <div class="form-group">
     44                 <label class="col-sm-2 control-label" for="name">{{ text_profile_name }}</label>
     45                 <div class="col-sm-10">
     46                   <input type="text" name="name" value="{{ name }}" placeholder="{{ text_profile_name }}" id="name" class="form-control" />
     47                 </div>
     48               </div>
     49               <div class="form-group">
     50                 <label class="col-sm-2 control-label" for="description">{{ text_profile_desc }}</label>
     51                 <div class="col-sm-10">
     52                   <textarea name="description" class="form-control" rows="3" id="description">{{ description }}</textarea>
     53                 </div>
     54               </div>
     55             </div>
     56             <div class="tab-pane" id="tab-template">
     57               <div class="form-group">
     58                 <label class="col-sm-2 control-label">{{ text_template_choose }}</label>
     59                 <div class="col-sm-10">
     60                   <select name="data[ebay_template_id]" class="form-control">
     61                     <option value="None">None</option>
     62                     {% for template in templates %}
     63                       <option value="{{ template.template_id }}" {% if template.template_id == data.ebay_template_id %} selected{% endif %}>{{ template.name }}</option>
     64                     {% endfor %}
     65                   </select>
     66                   <span class="help-block">{{ text_template_choose_help }}</span>
     67                 </div>
     68               </div>
     69             </div>
     70             <div class="tab-pane" id="tab-gallery">
     71               <div class="form-group">
     72                 <label class="col-sm-2 control-label" for="name">{{ text_image_gallery }}</label>
     73                 <div class="col-sm-10">
     74                   <div class="row">
     75                     <div class="col-sm-3">
     76                       <div class="input-group">
     77                         <span class="input-group-addon">{{ text_width }}</span>
     78                         <input type="text" name="data[ebay_gallery_height]" value="{{ data.ebay_gallery_height }}" maxlength="4" class="form-control" />
     79                         <span class="input-group-addon">{{ text_px }}</span>
     80                       </div>
     81                     </div>
     82                     <div class="col-sm-3">
     83                       <div class="input-group">
     84                         <span class="input-group-addon">{{ text_height }}</span>
     85                         <input type="text" name="data[ebay_gallery_width]" value="{{ data.ebay_gallery_width }}" maxlength="4" class="form-control" />
     86                         <span class="input-group-addon">{{ text_px }}</span>
     87                       </div>
     88                     </div>
     89                   </div>
     90                   <div class="row">
     91                     <div class="col-sm-12">
     92                       <span class="help-block">{{ text_image_gallery_help }}</span>
     93                     </div>
     94                   </div>
     95                 </div>
     96               </div>
     97               <div class="form-group">
     98                 <label class="col-sm-2 control-label" for="name">{{ text_image_thumb }}</label>
     99                 <div class="col-sm-10">
    100                   <div class="row">
    101                     <div class="col-sm-3">
    102                       <div class="input-group">
    103                         <span class="input-group-addon">{{ text_width }}</span>
    104                         <input type="text" name="data[ebay_thumb_height]" value="{{ ebay_thumb_height }}" maxlength="4" class="form-control" />
    105                         <span class="input-group-addon">{{ text_px }}</span>
    106                       </div>
    107                     </div>
    108                     <div class="col-sm-3">
    109                       <div class="input-group">
    110                         <span class="input-group-addon">{{ text_height }}</span>
    111                         <input type="text" name="data[ebay_thumb_width]" value="{{ ebay_thumb_width }}" maxlength="4" class="form-control" />
    112                         <span class="input-group-addon">{{ text_px }}</span>
    113                       </div>
    114                     </div>
    115                   </div>
    116                   <div class="row">
    117                     <div class="col-sm-12">
    118                       <span class="help-block">{{ text_image_thumb_help }}</span>
    119                     </div>
    120                   </div>
    121                 </div>
    122               </div>
    123               <div class="form-group">
    124                 <label class="col-sm-2 control-label">{{ text_image_super }}</label>
    125                 <div class="col-sm-10">
    126                   <input type="hidden" name="data[ebay_supersize]" value="0" />
    127                   <input type="checkbox" name="data[ebay_supersize]" value="1"{% if data.ebay_supersize == 1 %} checked="checked"{% endif %} />
    128                 </div>
    129               </div>
    130               <div class="form-group">
    131                 <label class="col-sm-2 control-label">{{ text_image_gallery_plus }}</label>
    132                 <div class="col-sm-10">
    133                   <input type="hidden" name="data[ebay_gallery_plus]" value="0" />
    134                   <input type="checkbox" name="data[ebay_gallery_plus]" value="1"{% if data.ebay_gallery_plus == 1 %} checked="checked"{% endif %} />
    135                 </div>
    136               </div>
    137               <div class="form-group">
    138                 <label class="col-sm-2 control-label">{{ text_image_all_ebay }}</label>
    139                 <div class="col-sm-10">
    140                   <input type="hidden" name="data[ebay_img_ebay]" value="0" />
    141                   <input type="checkbox" name="data[ebay_img_ebay]" value="1"{% if data.ebay_img_ebay == 1 %} checked="checked"{% endif %} />
    142                 </div>
    143               </div>
    144               <div class="form-group">
    145                 <label class="col-sm-2 control-label">{{ text_image_all_template }}</label>
    146                 <div class="col-sm-10">
    147                   <input type="hidden" name="data[ebay_img_template]" value="0" />
    148                   <input type="checkbox" name="data[ebay_img_template]" value="1"{% if data.ebay_img_template == 1 %} checked="checked"{% endif %} />
    149                 </div>
    150               </div>
    151               <div class="form-group">
    152                 <label class="col-sm-2 control-label">{{ text_image_exclude_default }}</label>
    153                 <div class="col-sm-10">
    154                   <input type="hidden" name="data[default_img_exclude]" value="0" />
    155                   <input type="checkbox" name="data[default_img_exclude]" value="1"{% if data.default_img_exclude == 1 %} checked="checked"{% endif %} />
    156                   <span class="help-block">{{ text_image_exclude_default_help }}</span>
    157                 </div>
    158               </div>
    159             </div>
    160           </div>
    161         </form>
    162       </div>
    163     </div>
    164   </div>
    165 </div>
    166 {{ footer }}