Procházet zdrojové kódy

can select theme-nature button

YETI\yusuketk před 8 roky
rodič
revize
9dab29b201
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      lib/views/admin/customize.html

+ 3 - 2
lib/views/admin/customize.html

@@ -66,8 +66,9 @@
               {% include 'widget/theme-colorbox.html' %}
             </a>
             <a id="theme-option-nature"
-             class="nature"
-             data-theme="{{ webpack_asset('style-theme-nature').css }}">
+                class="nature {% if 'nature' === settingForm['customize:theme'] %}active{% endif %}"
+                onclick="selectTheme('nature')"
+                data-theme="{{ webpack_asset('style-theme-nature').css }}">
               {% include 'widget/theme-colorbox.html' %}
             </a>
           </div>