Current Path : /var/www/alh/admin/view/template/extension/openbay/ |
Current File : /var/www/alh/admin/view/template/extension/openbay/ebay_profile_form_template.twig |
{{ header }}{{ column_left }} <div id="content"> <div class="page-header"> <div class="container-fluid"> <div class="pull-right"> <a data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary" onclick="$('#form').submit();"><i class="fa fa-check-circle"></i></a> <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a> </div> <h1>{{ heading_title }}</h1> <ul class="breadcrumb"> {% for breadcrumb in breadcrumbs %} <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> {% endfor %} </ul> </div> </div> <div class="container-fluid"> {% if error_warning %} <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div> {% endif %} <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-list"></i> {{ text_manage }}</h3> </div> <div class="panel-body"> <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form" class="form-horizontal"> <input type="hidden" name="type" value="{{ type }}" /> <input type="hidden" name="ebay_profile_id" value="{{ ebay_profile_id }}" /> <ul class="nav nav-tabs"> <li class="active"><a href="#tab-general" data-toggle="tab">{{ tab_general }}</a></li> <li><a href="#tab-template" data-toggle="tab">{{ tab_template }}</a></li> <li><a href="#tab-gallery" data-toggle="tab">{{ tab_gallery }}</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab-general"> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_profile_default }}</label> <div class="col-sm-10"> <input type="hidden" name="default" value="0" /> <input type="checkbox" name="default" value="1"{% if default == 1 %} checked="checked"{% endif %} /> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="name">{{ text_profile_name }}</label> <div class="col-sm-10"> <input type="text" name="name" value="{{ name }}" placeholder="{{ text_profile_name }}" id="name" class="form-control" /> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="description">{{ text_profile_desc }}</label> <div class="col-sm-10"> <textarea name="description" class="form-control" rows="3" id="description">{{ description }}</textarea> </div> </div> </div> <div class="tab-pane" id="tab-template"> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_template_choose }}</label> <div class="col-sm-10"> <select name="data[ebay_template_id]" class="form-control"> <option value="None">None</option> {% for template in templates %} <option value="{{ template.template_id }}" {% if template.template_id == data.ebay_template_id %} selected{% endif %}>{{ template.name }}</option> {% endfor %} </select> <span class="help-block">{{ text_template_choose_help }}</span> </div> </div> </div> <div class="tab-pane" id="tab-gallery"> <div class="form-group"> <label class="col-sm-2 control-label" for="name">{{ text_image_gallery }}</label> <div class="col-sm-10"> <div class="row"> <div class="col-sm-3"> <div class="input-group"> <span class="input-group-addon">{{ text_width }}</span> <input type="text" name="data[ebay_gallery_height]" value="{{ data.ebay_gallery_height }}" maxlength="4" class="form-control" /> <span class="input-group-addon">{{ text_px }}</span> </div> </div> <div class="col-sm-3"> <div class="input-group"> <span class="input-group-addon">{{ text_height }}</span> <input type="text" name="data[ebay_gallery_width]" value="{{ data.ebay_gallery_width }}" maxlength="4" class="form-control" /> <span class="input-group-addon">{{ text_px }}</span> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <span class="help-block">{{ text_image_gallery_help }}</span> </div> </div> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="name">{{ text_image_thumb }}</label> <div class="col-sm-10"> <div class="row"> <div class="col-sm-3"> <div class="input-group"> <span class="input-group-addon">{{ text_width }}</span> <input type="text" name="data[ebay_thumb_height]" value="{{ data.ebay_thumb_height }}" maxlength="4" class="form-control" /> <span class="input-group-addon">{{ text_px }}</span> </div> </div> <div class="col-sm-3"> <div class="input-group"> <span class="input-group-addon">{{ text_height }}</span> <input type="text" name="data[ebay_thumb_width]" value="{{ data.ebay_thumb_width }}" maxlength="4" class="form-control" /> <span class="input-group-addon">{{ text_px }}</span> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <span class="help-block">{{ text_image_thumb_help }}</span> </div> </div> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_image_super }}</label> <div class="col-sm-10"> <input type="hidden" name="data[ebay_supersize]" value="0" /> <input type="checkbox" name="data[ebay_supersize]" value="1"{% if data.ebay_supersize == 1 %} checked="checked"{% endif %} /> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_image_gallery_plus }}</label> <div class="col-sm-10"> <input type="hidden" name="data[ebay_gallery_plus]" value="0" /> <input type="checkbox" name="data[ebay_gallery_plus]" value="1"{% if data.ebay_gallery_plus == 1 %} checked="checked"{% endif %} /> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_image_all_ebay }}</label> <div class="col-sm-10"> <input type="hidden" name="data[ebay_img_ebay]" value="0" /> <input type="checkbox" name="data[ebay_img_ebay]" value="1"{% if data.ebay_img_ebay == 1 %} checked="checked"{% endif %} /> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_image_all_template }}</label> <div class="col-sm-10"> <input type="hidden" name="data[ebay_img_template]" value="0" /> <input type="checkbox" name="data[ebay_img_template]" value="1"{% if data.ebay_img_template == 1 %} checked="checked"{% endif %} /> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">{{ text_image_exclude_default }}</label> <div class="col-sm-10"> <input type="hidden" name="data[default_img_exclude]" value="0" /> <input type="checkbox" name="data[default_img_exclude]" value="1"{% if data.default_img_exclude == 1 %} checked="checked"{% endif %} /> <span class="help-block">{{ text_image_exclude_default_help }}</span> </div> </div> </div> </div> </form> </div> </div> </div> </div> {{ footer }}