Skip to content

Commit ecf7b62

Browse files
committed
better ux
1 parent 5749d32 commit ecf7b62

24 files changed

+93
-78
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
<button type="button" class="add-item btn"><?= Yii::t('builder', 'Add item') ?></button>
1+
<button type="button" class="add-item btn btn-sm btn-info"><span class="glyphicon glyphicon-option-vertical" aria-hidden="true"> </span>
2+
<?= Yii::t('builder', 'Add item') ?></button>
23

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!--Copyright (c) 2016-2017 Rafal Marguzewicz pceuropa.net -->
2-
<div id="prevent-empty-name" ><button type="button" id="add-to-form" class="btn" disabled>
3-
<span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span><?= Yii::t('builder', 'Add to form') ?>
4-
</button>
2+
<div id="prevent-empty-name" >
3+
<button type="button" id="add-to-form" class="btn btn-sm btn-primary" disabled>
4+
<span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span> <?= Yii::t('builder', 'Add to form') ?>
5+
</button>
56
</div>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<button type="button" class="back btn btn-default"><?= Yii::t('builder', 'Back') ?></button>
1+
<button type="button" class="back btn btn-sm btn-default"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>
2+
<?= Yii::t('builder', 'Back') ?></button>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<button type="button" class="clone-item-field btn btn-success"><?= Yii::t('builder', 'Clone item') ?></button>
1+
<button type="button" class="clone-item-field btn btn-sm btn-success"><span class="glyphicon glyphicon-duplicate" aria-hidden="true"> </span>
2+
<?= Yii::t('builder', 'Clone item') ?></button>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
<button type="button" class="delete-item-field btn btn-danger"><?= Yii::t('builder', 'Delete Item') ?></button>
1+
<button type="button" class="delete-item-field btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash" aria-hidden="true"> </span>
2+
<?= Yii::t('builder', 'Delete Item') ?></button>
23

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<button type="button" id="btn-delete-confirm" class="btn btn-danger"><?= Yii::t('builder', 'Delete') ?></button>
1+
<button type="button" id="btn-delete-confirm" class="btn btn-sm btn-danger"><?= Yii::t('builder', 'Delete') ?></button>
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
<button type="button" id="save-form" class="btn" disabled><?= Yii::t('builder', 'Save Form') ?></button>
1+
<button type="button" id="save-form" class="btn" disabled>
2+
3+
<span class="glyphicon glyphicon-home" aria-hidden="true"></span>
4+
<?= Yii::t('builder', 'Save Form') ?></button>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="form-group expert">
2-
<label class="col-sm-2 control-label"><?= Yii::t('builder', 'Class') ?></label>
3-
<div class="col-sm-10">
4-
<input id="class" type="text" class="form-control input-sm data-source" >
1+
<div class="row form-group-sm expert">
2+
<label class="col-sm-3 control-label"><?= Yii::t('builder', 'Class') ?></label>
3+
<div class="col-sm-9">
4+
<input id="class" type="text" class="form-control data-source" >
55
</div>
6-
</div>
6+
</div>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="form-group expert">
1+
<div class="row form-group-sn expert">
22
<label class="col-sm-3 control-label"><?= Yii::t('builder', 'Description') ?></label>
33
<div class="col-sm-9">
4-
<input id="helpBlock" type="text" class="form-control input-sm data-source" >
4+
<input id="helpBlock" type="text" class="form-control data-source" >
55
</div>
66
</div>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="form-group expert">
2-
<label class="col-sm-2 control-label"><?= Yii::t('builder', 'ID') ?></label>
3-
<div class="col-sm-10">
4-
<input id="id" type="text" class="data-source form-control input-sm" >
1+
<div class="row form-group-sm expert">
2+
<label class="col-sm-3 control-label"><?= Yii::t('builder', 'ID') ?></label>
3+
<div class="col-sm-9">
4+
<input id="id" type="text" class="data-source form-control" >
55
</div>
66
</div>

0 commit comments

Comments
 (0)