Просмотр исходного кода

Only show timepicker settings if the timepicker is enabled

Rashid Khan 12 лет назад
Родитель
Сommit
d4ce99b73f

+ 4 - 1
src/app/partials/dasheditor.html

@@ -158,9 +158,12 @@
     </div>
   </div>
 
-  <div ng-repeat="pulldown in dashboard.current.nav|filter:{enable:true}" ng-controller="PulldownCtrl" ng-include="'./app/panels/'+pulldown.type+'/editor.html'" ng-show="editor.index == 4+$index">
+  <div ng-repeat="pulldown in dashboard.current.nav" ng-controller="PulldownCtrl" ng-show="editor.index == 4+$index">
+    <ng-include ng-show="pulldown.enable" src="'./app/panels/'+pulldown.type+'/editor.html'"></ng-include>
+    <button ng-hide="pulldown.enable" class="btn" ng-click="pulldown.enable = true">Enable the {{pulldown.type}}</button>
   </div>
 
+
 </div>
 
 <div class="modal-footer">

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
src/css/bootstrap.dark.min.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
src/css/bootstrap.light.min.css


+ 1 - 1
src/vendor/bootstrap/less/overrides.less

@@ -63,7 +63,7 @@ form input.ng-invalid {
 .row-text {
   text-transform: uppercase;
   font-weight: bold;
-  font-size: 0.8em;
+  font-size: 0.9em;
 }
 
 .row-close {

Некоторые файлы не были показаны из-за большого количества измененных файлов