anchor.diff:      form.form-inline.pull-right: .input-group
         input.form-control(name='query', type='text')
         .input-group-btn: button.btn.btn-default: span.glyphicon.glyphicon-search
  +    .btn-group
  +      button.btn.btn-default.dropdown-toggle(type='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded="false")
  +        | 批次操作&nbsp;
  +        span.caret
  +      ul.dropdown-menu
  +        li: a#on-shelf {{_('上架')}}
  +          i.fa.fa-eye.pull-right(aria-hidden='true')
  +        li: a#off-shelf {{_('下架')}}
  +          i.fa.fa-eye-slash.pull-right(aria-hidden='true')
  +        li: a#remove-shelf {{_('刪除')}}
  +          i.fa.fa-trash.pull-right(aria-hidden='true')
       .common_twenty
  -
  -    button#on-shelf.btn.btn-success.btn-sm 
  -      i.fa.fa-eye(aria-hidden='true')
  -      |  {{_('上架')}}
  -    button#off-shelf.btn.btn-warning.btn-sm 
  -      i.fa.fa-eye-slash(aria-hidden='true')
  -      |  {{_('下架')}}
  -    button#remove-shelf.btn.btn-danger.btn-sm 
  -      i.fa.fa-trash(aria-hidden='true')
  -      |  {{_('刪除')}}
       form.pull-right(action="/backend/DummyEntityLowerCase/sort", method='post')
         input#sorted(type='hidden' name='sorted')
         | {{csrf_field()}}
  
positive.code: include ../partial/mixins
  
  block main
    .container-fluid
      h1.page-header {{_('DummyEntity管理')}}
      include ../partial/breadcrumbs
  
negative.code:     $("#checkAll").click(function () {
        $(".check").prop('checked', $(this).prop('checked'));
      });
    script.
      $('[data-toggle=tooltip]').tooltip();
  
      $('.hiddenRow > td').prop('colspan', $('tbody').find('tr').first().find('td').length);
  
      $('.info-body').on('show.bs.collapse', function () {
        toggleDropdown($(this));
      });
      $('.info-body').on('hide.bs.collapse', function () {
        toggleDropdown($(this));
      });
  
      function toggleDropdown(element) {
        element.closest('tr').prev().find('.info-toggle').toggleClass('btn-outline');
        element.closest('tr').prev().find('.info-toggle').find('i').toggleClass('fa-chevron-down').toggleClass('fa-chevron-up');
      }
  
  