From fb3c8ff74cee4b685d4c68cc4cf4e991130ff874 Mon Sep 17 00:00:00 2001 From: Christine Slotty Date: Sat, 6 Jun 2020 19:00:03 +0200 Subject: [PATCH] form WIP --- ...orizontal_form.php => horizontal_form.php} | 0 src/Template/StateBalances/overview.ctp | 120 ++++++++---------- src/Template/TransactionSendCoins/create.ctp | 39 ++---- .../TransactionSendCoins/create_raw.ctp | 4 +- webroot/css/grd_styles.css | 119 ++++++++++++----- webroot/css/loginServer/style.css | 6 + websrc/src/less-files.css | 119 ++++++++++++----- websrc/src/less/01-layout.less | 18 ++- websrc/src/less/02-colors.less | 11 ++ websrc/src/less/03-typography.less | 4 +- websrc/src/less/05-screen.less | 46 +++---- websrc/src/less/08-navi.less | 36 +++--- websrc/src/less/10-center.less | 82 +++++++++--- 13 files changed, 376 insertions(+), 228 deletions(-) rename config/{ripple_horizontal_form.php => horizontal_form.php} (100%) create mode 100644 webroot/css/loginServer/style.css diff --git a/config/ripple_horizontal_form.php b/config/horizontal_form.php similarity index 100% rename from config/ripple_horizontal_form.php rename to config/horizontal_form.php diff --git a/src/Template/StateBalances/overview.ctp b/src/Template/StateBalances/overview.ctp index 83fa0a967..113e74055 100644 --- a/src/Template/StateBalances/overview.ctp +++ b/src/Template/StateBalances/overview.ctp @@ -25,72 +25,64 @@ $this->assign('header', $header);
-

Überweisungen

- - - - - - - - - - - - 30) { - $memoShort = substr($memoShort, 0, 30) . '...'; - } - $cellColorClass = 'grd-success-color'; - if($send) { - $balance = -$balance; - $cellColorClass = 'grd-alert-color'; - } else if($transaction['type'] == 'creation') { - $cellColorClass = 'grd-orange-color'; - } - ?> - - - - - - - - - - -
- Html->image('50x50.png', ['class' => 'profile-img img-sm', 'alt' => 'profile image']) ?> - - - - - - +

Überweisungen

+
+ + + + + + 30) { + $memoShort = substr($memoShort, 0, 30) . '...'; + } + $cellColorClass = 'grd-success-color'; + if($send) { + $balance = -$balance; + $cellColorClass = 'grd-alert-color'; + } else if($transaction['type'] == 'creation') { + $cellColorClass = 'grd-orange-color'; + } + ?> + + Html->image('50x50.png', ['class' => 'profile-img img-sm', 'alt' => 'profile image']) ?> + + + + + + + + + create + + + arrow_right_alt + + + arrow_left_alt + - - -   - -   - -   - - -
- 30): ?> - - - - - - nice() ?> element('printGradido', ['number' => $balance]) ?> - -
+ + + + 30): ?> + + + + + + nice() ?> + element('printGradido', ['number' => $balance]) ?> + + + + +
diff --git a/src/Template/TransactionSendCoins/create.ctp b/src/Template/TransactionSendCoins/create.ctp index c88f1c399..b819d12e5 100644 --- a/src/Template/TransactionSendCoins/create.ctp +++ b/src/Template/TransactionSendCoins/create.ctp @@ -1,6 +1,6 @@ assign('title', __('Überweisung')); // In a View class $this->loadHelper('Form', [ - 'templates' => 'ripple_horizontal_form', + 'templates' => 'horizontal_form', ]); ?> - -
-
-
-

Überweisen

-
-
-
-
- Form->create($transferForm) ?> - Form->control('email', ['label' => __('Empfänger'), 'placeholder' => 'E-Mail']) ?> - Form->control('memo', ['label' => __('Verwendungszweck'), 'rows' => 3]) ?> - Form->control('amount', ['label' => __('Betrag in GDD')]) ?> - Form->button(__('Transaktion abschließen'), ['name' => 'next', 'class' => 'btn btn-sm btn-primary']) ?> - - Form->end() ?> -
-
-
-
-
+
+

Überweisen

+
+ Form->create($transferForm) ?> + Form->control('email', ['label' => __('Empfänger'), 'placeholder' => 'E-Mail']) ?> + Form->control('memo', ['label' => __('Verwendungszweck'), 'rows' => 3]) ?> + Form->control('amount', ['label' => __('Betrag in GDD')]) ?> + Form->button(__('Transaktion abschließen'), ['name' => 'next', 'class' => 'btn btn-sm btn-primary']) ?> + + Form->end() ?>
diff --git a/src/Template/TransactionSendCoins/create_raw.ctp b/src/Template/TransactionSendCoins/create_raw.ctp index 0132c337f..0b3d74e1f 100644 --- a/src/Template/TransactionSendCoins/create_raw.ctp +++ b/src/Template/TransactionSendCoins/create_raw.ctp @@ -1,6 +1,6 @@ assign('title', __('Überweisung')); // In a View class $this->loadHelper('Form', [ - 'templates' => 'ripple_horizontal_form', + 'templates' => 'horizontal_form', ]); ?>