소스 검색

AMBARI-7288. Slider View: Create Slider App wizard config sections should have triangles (alexantonenko)

Alex Antonenko 10 년 전
부모
커밋
4209a49293

+ 15 - 0
contrib/views/slider/src/main/resources/ui/app/styles/application.less

@@ -383,6 +383,16 @@ a {
       margin-bottom: 30px;
     }
   }
+  .app-wiz-configs {
+    .accordion-toggle {
+      display: block;
+    }
+    .panel-heading{
+      .icon{
+        width: 23px;
+      }
+    }
+  }
 }
 
 .app-page {
@@ -636,6 +646,11 @@ a {
   a.accordion-toggle {
     display: block;
   }
+  .panel-heading{
+    .icon{
+      width: 24px;
+    }
+  }
   .row {
     .table-row();
     textarea {

+ 1 - 1
contrib/views/slider/src/main/resources/ui/app/templates/createAppWizard/step3.hbs

@@ -19,7 +19,7 @@
 <p>
   {{t wizard.step3.header}}
 </p>
-<div {{bind-attr class="controller.isError:has-error :form-group"}}>
+<div {{bind-attr class="controller.isError:has-error :form-group :app-wiz-configs"}}>
   {{#each controller.sectionKeys}}
     {{config-section
       section=this

+ 2 - 1
contrib/views/slider/src/main/resources/ui/app/views/createAppWizard/step3_view.js

@@ -16,9 +16,10 @@
  * limitations under the License.
  */
 
-App.CreateAppWizardStep3View = Ember.View.extend({
+App.CreateAppWizardStep3View = Ember.View.extend(App.WithPanels, {
 
   didInsertElement: function () {
     this.get('controller').loadStep();
+    this.addCarets();
   }
 });