Issue #23299: changes to list panels
authorLinda Nichols <lynnaloo@gmail.com>
Tue, 29 Apr 2014 04:35:26 +0000 (04:35 +0000)
committerLinda Nichols <lynnaloo@gmail.com>
Tue, 29 Apr 2014 04:35:26 +0000 (04:35 +0000)
lib/enyo-x/source/layout/panels.js
lib/enyo-x/source/less/list.less
lib/enyo-x/source/less/screen.less
lib/enyo-x/source/stylesheets/screen.css
lib/enyo-x/source/views/navigator.js
lib/enyo-x/source/views/search.js
lib/enyo-x/source/views/transaction_list_container.js
lib/enyo-x/source/views/workspace.js

index dcee3d3..a7c87ad 100644 (file)
@@ -136,7 +136,7 @@ trailing:true*/
     @extends Panels
   */
   enyo.kind({
-    name: "XV.WorkspaceContainerPanels",
+    name: "XV.ContainerPanels",
     kind: "Panels",
     arrangerKind: "CollapsingArranger",
     draggable: true,
@@ -155,7 +155,7 @@ trailing:true*/
   });
 
   enyo.kind({
-    name: 'XV.AppPanels',
+    name: 'XV.SearchPanels',
     kind: 'XV.GridPanels',
     classes: 'xv-app-panel-container',
     controlClasses: 'xv-app-panel'
index 861b183..e5bb712 100644 (file)
   &.third {
     width: 100px;
   }
-  &.money {
-    width: 75px;
-    text-align: right;
-  }
-  &.quantity {
+  &.money, &.quantity {
     width: 75px;
     text-align: right;
   }
index 3b14362..0a62f1e 100644 (file)
@@ -272,7 +272,7 @@ body {
   margin: 6px;
 }
 
-.xv-half-check {
+.xv-check {
   // TODO: replace this image with font
   background:
     transparent
index 77b5ae2..e1295c3 100755 (executable)
@@ -1741,7 +1741,7 @@ body {
   width: 120px;
   margin: 6px;
 }
-.xv-half-check {
+.xv-check {
   background: transparent url(../../../../../../assets/checkbox.png) no-repeat 0 -96px scroll;
 }
 .xv-menuitem.disabled {
@@ -2458,10 +2458,7 @@ body {
 .xv-list-column.third {
   width: 100px;
 }
-.xv-list-column.money {
-  width: 75px;
-  text-align: right;
-}
+.xv-list-column.money,
 .xv-list-column.quantity {
   width: 75px;
   text-align: right;
index fa91ff7..3aae9f6 100644 (file)
@@ -25,7 +25,7 @@ trailing:true*/
    */
   var navigator = /** @lends XV.Navigator# */{
     name: "XV.Navigator",
-    kind: "XV.AppPanels",
+    kind: "XV.ContainerPanels",
     classes: 'xv-navigator',
     /**
       Published fields
@@ -1040,6 +1040,11 @@ trailing:true*/
         contentHeader.createComponents(panel.headerComponents);
         contentHeader.render();
       }
+
+      // Mobile device view
+      if (enyo.Panels.isScreenNarrow()) {
+        this.next();
+      }
     },
 
     /**
index 01e4b19..c132e21 100644 (file)
@@ -16,7 +16,7 @@ trailing:true, white:true*/
   enyo.kind(
     /** @lends XV.SearchContainer# */{
     name: "XV.SearchContainer",
-    kind: "XV.AppPanels",
+    kind: "XV.SearchPanels",
     classes: 'xv-search',
     /**
      * Published fields
index a69dfc2..f1b9ac3 100644 (file)
@@ -14,7 +14,7 @@ trailing:true, white:true, strict:false*/
    */
   var transactionListContainer =  /** @lends XV.TransactionListContainer# */ {
     name: "XV.TransactionListContainer",
-    kind: "XV.AppPanels",
+    kind: "XV.SearchPanels",
     classes: 'xv-search',
     published: {
       prerequisite: "",
index 3942e49..2fea6bd 100644 (file)
@@ -616,7 +616,7 @@ trailing:true, white:true, strict: false*/
    */
   enyo.kind(/** @lends XV.WorkspaceContainer# */{
     name: "XV.WorkspaceContainer",
-    kind: "XV.WorkspaceContainerPanels",
+    kind: "XV.ContainerPanels",
     classes: "xv-workspace-container",
     published: {
       menuItems: [],