Blame view

backend/views/image/gallery.php 928 Bytes
f9404a23   Administrator   Start gallery
1
2
  <?php
  
bfa22e8e   Administrator   Adding resizing a...
3
  
f9404a23   Administrator   Start gallery
4
5
6
7
8
  use yii\helpers\Html;
  
  /* @var $this yii\web\View */
  $this->title = 'Image gallery';
  ?>
5e673d8b   Administrator   Adding deletion c...
9
  <?= Html::a('Loader', ['index']); ?>
bfa22e8e   Administrator   Adding resizing a...
10
  <div>
5e673d8b   Administrator   Adding deletion c...
11
12
13
14
15
16
17
18
19
20
21
      <span>
          <?= Html::a('Download all', ['download-all'], ['class' => 'btn btn-primary']); ?>
      </span>
      <span>
          <?= Html::buttonInput('Delete', ['class' => 'btn btn-warning', 'id' => 'delete']); ?>
      </span>
      <span>
          <?= Html::buttonInput('Select All', ['class' => 'btn btn-info', 'id' => 'select-all']); ?>
      </span>
  </div>
  <div class="content">
3ff61e27   Administrator   Adding basic gallery
22
  <?php foreach ($files as $file): ?>
5e673d8b   Administrator   Adding deletion c...
23
24
25
26
27
28
      <div data-url="<?= Html::encode($file) ?>" style="display: inline-block; border: 1px solid black">
          <label>
              <img height="300px" src="<?= Html::encode($file) ?>">
              <input style="display: block; margin: auto" type="checkbox" value="<?= Html::encode($file) ?>" class="single-checkbox">
          </label>
      </div>
bfa22e8e   Administrator   Adding resizing a...
29
30
  <?php endforeach ?>
  </div>