index.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?php
  2. $this->title = 'Starter Page';
  3. $this->params['breadcrumbs'] = [['label' => $this->title]];
  4. ?>
  5. <div class="container-fluid">
  6. <div class="row">
  7. <div class="col-lg-6">
  8. <?= \hail812\adminlte\widgets\Alert::widget([
  9. 'type' => 'success',
  10. 'body' => '<h3>Congratulations!</h3>',
  11. ]) ?>
  12. <?= \hail812\adminlte\widgets\Callout::widget([
  13. 'type' => 'danger',
  14. 'head' => 'I am a danger callout!',
  15. 'body' => 'There is a problem that we need to fix. A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart.'
  16. ]) ?>
  17. </div>
  18. </div>
  19. <div class="row">
  20. <div class="col-12 col-sm-6 col-md-3">
  21. <?= \hail812\adminlte\widgets\InfoBox::widget([
  22. 'text' => 'CPU Traffic',
  23. 'number' => '10 <small>%</small>',
  24. 'icon' => 'fas fa-cog',
  25. ]) ?>
  26. </div>
  27. </div>
  28. <div class="row">
  29. <div class="col-md-4 col-sm-6 col-12">
  30. <?= \hail812\adminlte\widgets\InfoBox::widget([
  31. 'text' => 'Messages',
  32. 'number' => '1,410',
  33. 'icon' => 'far fa-envelope',
  34. ]) ?>
  35. </div>
  36. <div class="col-md-4 col-sm-6 col-12">
  37. <?= \hail812\adminlte\widgets\InfoBox::widget([
  38. 'text' => 'Bookmarks',
  39. 'number' => '410',
  40. 'theme' => 'success',
  41. 'icon' => 'far fa-flag',
  42. ]) ?>
  43. </div>
  44. <div class="col-md-4 col-sm-6 col-12">
  45. <?= \hail812\adminlte\widgets\InfoBox::widget([
  46. 'text' => 'Uploads',
  47. 'number' => '13,648',
  48. 'theme' => 'gradient-warning',
  49. 'icon' => 'far fa-copy',
  50. ]) ?>
  51. </div>
  52. </div>
  53. <div class="row">
  54. <div class="col-md-4 col-sm-6 col-12">
  55. <?= \hail812\adminlte\widgets\InfoBox::widget([
  56. 'text' => 'Bookmarks',
  57. 'number' => '41,410',
  58. 'icon' => 'far fa-bookmark',
  59. 'progress' => [
  60. 'width' => '70%',
  61. 'description' => '70% Increase in 30 Days'
  62. ]
  63. ]) ?>
  64. </div>
  65. <div class="col-md-4 col-sm-6 col-12">
  66. <?php $infoBox = \hail812\adminlte\widgets\InfoBox::begin([
  67. 'text' => 'Likes',
  68. 'number' => '41,410',
  69. 'theme' => 'success',
  70. 'icon' => 'far fa-thumbs-up',
  71. 'progress' => [
  72. 'width' => '70%',
  73. 'description' => '70% Increase in 30 Days'
  74. ]
  75. ]) ?>
  76. <?= \hail812\adminlte\widgets\Ribbon::widget([
  77. 'id' => $infoBox->id.'-ribbon',
  78. 'text' => 'Ribbon',
  79. ]) ?>
  80. <?php \hail812\adminlte\widgets\InfoBox::end() ?>
  81. </div>
  82. <div class="col-md-4 col-sm-6 col-12">
  83. <?= \hail812\adminlte\widgets\InfoBox::widget([
  84. 'text' => 'Events',
  85. 'number' => '41,410',
  86. 'theme' => 'gradient-warning',
  87. 'icon' => 'far fa-calendar-alt',
  88. 'progress' => [
  89. 'width' => '70%',
  90. 'description' => '70% Increase in 30 Days'
  91. ],
  92. 'loadingStyle' => true
  93. ]) ?>
  94. </div>
  95. </div>
  96. <div class="row">
  97. <div class="col-lg-4 col-md-6 col-sm-6 col-12">
  98. <?= \hail812\adminlte\widgets\SmallBox::widget([
  99. 'title' => '150',
  100. 'text' => 'New Orders',
  101. 'icon' => 'fas fa-shopping-cart',
  102. ]) ?>
  103. </div>
  104. <div class="col-lg-4 col-md-6 col-sm-6 col-12">
  105. <?php $smallBox = \hail812\adminlte\widgets\SmallBox::begin([
  106. 'title' => '150',
  107. 'text' => 'New Orders',
  108. 'icon' => 'fas fa-shopping-cart',
  109. 'theme' => 'success'
  110. ]) ?>
  111. <?= \hail812\adminlte\widgets\Ribbon::widget([
  112. 'id' => $smallBox->id.'-ribbon',
  113. 'text' => 'Ribbon',
  114. 'theme' => 'warning',
  115. 'size' => 'lg',
  116. 'textSize' => 'lg'
  117. ]) ?>
  118. <?php \hail812\adminlte\widgets\SmallBox::end() ?>
  119. </div>
  120. <div class="col-lg-4 col-md-6 col-sm-6 col-12">
  121. <?= \hail812\adminlte\widgets\SmallBox::widget([
  122. 'title' => '44',
  123. 'text' => 'User Registrations',
  124. 'icon' => 'fas fa-user-plus',
  125. 'theme' => 'gradient-success',
  126. 'loadingStyle' => true
  127. ]) ?>
  128. </div>
  129. </div>
  130. </div>