{{ header }}{{ column_left }}
<!-- Content Wrapper. Contains page content -->
<div id="content" class="content-wrapper">
  <!-- Content Header (Page header) -->
  <section class="content-header">
    <div>
      <div class="pull-right">
        <button type="submit" class="btn btn-primary btn-sm" form="form" data-toggle="tooltip" title="{{ button_save }}"><i class="fa fa-save"></i> {{ button_save }}</button>
        <a href="{{ mapping }}" class="btn btn-warning btn-sm" data-toggle="tooltip" title="{{ button_mapping }}"><i class="fa fa-tags"></i> {{ button_mapping }}</a>
        <a href="{{ shipping_taxes }}" class="btn btn-warning btn-sm" data-toggle="tooltip" title="{{ button_shipping_taxes }}"><i class="fa fa-truck"></i> {{ button_shipping_taxes }}</a>
        <a href="{{ campaign }}" class="btn btn-warning btn-sm" data-toggle="tooltip" title="{{ button_campaign }}"><i class="fa fa-cogs"></i> {{ button_campaign }}</a>
        <a href="{{ text_video_tutorial_url_setup }}" target="_blank" class="btn btn-info btn-sm" data-toggle="tooltip" title="{{ button_video_tutorial_setup }}"><i class="fa fa-video-camera"></i> {{ button_video_tutorial_setup }}</a>
        <a href="{{ cancel }}" class="btn btn-default btn-sm" data-toggle="tooltip" title="{{ button_cancel }}"><i class="fa fa-reply"></i> {{ button_cancel }}</a>
      </div>
      <h1>
        {{ heading_title }}
      </h1>
    </div>
    <div class="row">
      <div class="col-sm-12">
        <ul class="breadcrumb">
          {% for breadcrumb in breadcrumbs %}
          <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
          {% endfor %}
        </ul>
      </div>
    </div>
  </section>

  <!-- Alert -->
  <section class="content-header">
    {% if success %}
    <div class="alert alert-success alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="{{ text_close }}"><i class="fa fa-close"></i></button>
        <i class="fa fa-check-circle"></i>&nbsp;{{ success }}
    </div>
    {% endif %}
    <div id="blockerError" style="display: none;" class="alert alert-danger">
      <i class="fa fa-exclamation-triangle"></i>&nbsp;{{ error_adblock }}
    </div>
    {% if error %}
    <div class="alert alert-danger alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="{{ text_close }}"><i class="fa fa-close"></i></button>
        <i class="fa fa-exclamation-triangle"></i>&nbsp;{{ error }}
    </div>
    {% endif %}
    {% if warning %}
    <div class="alert alert-warning alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="{{ text_close }}"><i class="fa fa-close"></i></button>
        <i class="fa fa-info-circle"></i>&nbsp;{{ warning }}
    </div>
    {% endif %}
  </section>
  <!-- /.alert -->

  <!-- Main content -->
  <section class="content">

    <!-- Default box -->
    <div class="box">
      <div class="box-header with-border">
        <h3 class="box-title">{{ text_panel_heading }}</h3>

        <div class="box-tools pull-right">
          <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="{{ text_collapse }}">
            <i class="fa fa-minus"></i></button>
        </div>
      </div>
      <div class="box-body">
        <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form">
            <div class="tabbable">
              <!-- Custom Tabs -->
              <div class="nav-tabs-custom">
                <ul class="nav nav-tabs mainMenuTabs">
                    <li class="active"><a href="#tab_ads" data-toggle="tab">{{ tab_text_ads }}</a></li>
                    <li><a href="#tab_reports" data-toggle="tab">{{ tab_text_reports }}</a></li>
                    <li><a href="#tab_settings" data-toggle="tab">{{ tab_text_settings }}</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane" id="tab_settings">{{ tab_settings }}</div>
                    <div class="tab-pane active" id="tab_ads">{{ tab_ads }}</div>
                    <div class="tab-pane" id="tab_reports">{{ tab_reports }}</div>
                </div>
              </div>
              <!-- /.custom tabs -->
            </div>
        </form>
      </div>
      <!-- /.box-body -->
    </div>
    <!-- /.box -->

  </section>
  <!-- /.content -->
</div>
<!-- /.content-wrapper -->
<style type="text/css">
  .adBanner {
    background-color: transparent;
    height: 1px;
    width: 1px;
  }
</style>
<div id="wrapTest">
  <div class="adBanner">
  </div>
</div>
<script type="text/javascript">
(function($) {
  $(document).ready(function() {
      $('#blockerError').toggle($("#wrapTest").height() == 0);
  });
})(jQuery);
</script>
{{ footer }}