ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: # IGNITE-843 WIP on caches screen.
Date Fri, 05 Jun 2015 07:22:50 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 7aab34108 -> f2dc46e34


# IGNITE-843 WIP on caches screen.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f2dc46e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f2dc46e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f2dc46e3

Branch: refs/heads/ignite-843
Commit: f2dc46e3446add824b1cd0a7d043fa1470075ffc
Parents: 7aab341
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Fri Jun 5 14:22:45 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Fri Jun 5 14:22:45 2015 +0700

----------------------------------------------------------------------
 modules/webconfig/nodejs/views/caches.jade            | 11 ++++++++---
 modules/webconfig/nodejs/views/includes/controls.jade |  5 ++++-
 2 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f2dc46e3/modules/webconfig/nodejs/views/caches.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/caches.jade b/modules/webconfig/nodejs/views/caches.jade
index 24765f7..9b69f00 100644
--- a/modules/webconfig/nodejs/views/caches.jade
+++ b/modules/webconfig/nodejs/views/caches.jade
@@ -52,10 +52,15 @@ block content
                             div(ng-switch on='field.type')
                                 +form-row
                                 div(ng-switch-when='idxTypes')
-                                    .panel
-                                        label.col-sm-2 Key class
-                                        label.col-sm-2 Val class
+                                    div
+                                        label.col-sm-2 Key class:
+                                        .col-sm-3
+                                            +edt('create.keyCls', 'Fully qualified key class
name')
                                         +tip
+                                    div
+                                        label.col-sm-2 Value class:
+                                        .col-sm-3
+                                            +edt('create.valCls', 'Fully qualified value
class name')
                 .panel-heading
                     .panel-title
                         span(bs-collapse-toggle)

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f2dc46e3/modules/webconfig/nodejs/views/includes/controls.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/includes/controls.jade b/modules/webconfig/nodejs/views/includes/controls.jade
index f6a5fcc..8c28ff0 100644
--- a/modules/webconfig/nodejs/views/includes/controls.jade
+++ b/modules/webconfig/nodejs/views/includes/controls.jade
@@ -17,6 +17,9 @@
 mixin tip
     i.tip.fa.fa-question-circle(ng-if='field.tip' bs-tooltip='field.tip.join("")' type='button')
 
+mixin edt(mdl, ph)
+    input.form-control(type='text' ng-model=mdl placeholder=ph)
+
 mixin form-row
     div(ng-switch-when='check')
         input(type='checkbox' ng-model='backupItem[field.model]')
@@ -25,7 +28,7 @@ mixin form-row
     div(ng-switch-when='text')
         label.col-sm-2 {{field.label}}:
         .col-sm-3
-            input.form-control(type='text' ng-model='backupItem[field.model]' placeholder='{{field.placeholder}}')
+            +edt('backupItem[field.model]', '{{field.placeholder}}')
         +tip
     div(ng-switch-when='dropdown')
         label.col-sm-2 {{field.label}}:


Mime
View raw message