diff --git a/public/language/en-GB/admin/extend/rewards.json b/public/language/en-GB/admin/extend/rewards.json index 5383a90b33..df89d441a7 100644 --- a/public/language/en-GB/admin/extend/rewards.json +++ b/public/language/en-GB/admin/extend/rewards.json @@ -8,8 +8,6 @@ "delete": "Delete", "enable": "Enable", "disable": "Disable", - "control-panel": "Rewards Control", - "new-reward": "New Reward", "alert.delete-success": "Successfully deleted reward", "alert.no-inputs-found": "Illegal reward - no inputs found!", diff --git a/public/less/admin/extend/rewards.less b/public/less/admin/extend/rewards.less index 2dc84b5bc3..3972b16de3 100644 --- a/public/less/admin/extend/rewards.less +++ b/public/less/admin/extend/rewards.less @@ -16,6 +16,36 @@ > li { border-bottom: 1px solid #ddd; margin-bottom: 20px; + &:last-child { + border-bottom: 0; + } + } + } + + .rewards { width: 100%; } + + .well { + border-radius: 2px; + border-width: 2px; + color: #333; + + &.if-block { + border-color: @brand-primary; + } + &.this-block { + border-color: @brand-warning; + } + &.then-block { + border-color: @brand-success; + } + &.reward-block { + border-color: @brand-success; + background-color: lighten(@brand-success, 15%); + color: #fff; + a, select, input { color: #fff; } + select > option { color: #333; } + width: 100%; + min-height: 110px; } } } \ No newline at end of file diff --git a/public/src/admin/extend/rewards.js b/public/src/admin/extend/rewards.js index 3850b24017..7df62a7e15 100644 --- a/public/src/admin/extend/rewards.js +++ b/public/src/admin/extend/rewards.js @@ -95,13 +95,13 @@ define('admin/extend/rewards', [], function () { html += '
'; diff --git a/src/views/admin/extend/rewards.tpl b/src/views/admin/extend/rewards.tpl index bd226cc39d..456ab7d379 100644 --- a/src/views/admin/extend/rewards.tpl +++ b/src/views/admin/extend/rewards.tpl @@ -1,76 +1,82 @@ -
-
-
-
[[admin/extend/rewards:rewards]]
-
-
    - {{{ each active }}} -
  • -
    -
    -
    - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    - - [[admin/extend/rewards:zero-infinite]] -
    -
    -
    - - - - - - +
    +
      + {{{ each active }}} +
    • +
      +
      +
      +
      +
      + +
      +
      +
      +
      +
      + +
      +
      + +
      -
      -
    • - {{{ end }}} -
    +
    +
    + +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    -
    -
-
-
-
[[admin/extend/rewards:control-panel]]
-
- - +
+
+ + + + + + +
-
-
+
+ + {{{ end }}} + +
+ +
+ + +
\ No newline at end of file