clear.php 821 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Author: lf
  4. * Blog: https://blog.feehi.com
  5. * Email: job@feehi.com
  6. * Created at: 2016-04-13 17:39
  7. */
  8. use common\widgets\JsBlock;
  9. /**
  10. * @var $this yii\web\View
  11. */
  12. $this->title = yii::t('app', 'Clear Backend');
  13. ?>
  14. <div class="row">
  15. <div class="col-sm-12">
  16. <div class="ibox">
  17. <div class="ibox-content">
  18. <?= yii::t('app', 'Success') ?>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. <?php JsBlock::begin()?>
  24. <script>
  25. $(document).ready(function () {
  26. if( parent != 'undefined' ) {
  27. setTimeout(function () {
  28. parent.closeContab($(parent.document).find(".active.J_menuTab[data-id$='clear%2Ffrontend'] i, .active.J_menuTab[data-id$='clear%2Fbackend'] i"))
  29. }, 1000);
  30. }
  31. })
  32. </script>
  33. <?php JsBlock::end() ?>