* [misc,0.5h] add buildStepBar.
This commit is contained in:
@@ -45,6 +45,7 @@ class sqlBuilder extends wg
|
||||
$stepList = $lang->bi->builderStepList;
|
||||
$lastStep = end($steps);
|
||||
$items = array();
|
||||
|
||||
foreach($steps as $step)
|
||||
{
|
||||
if(!isset($stepList[$step])) continue;
|
||||
@@ -55,6 +56,15 @@ class sqlBuilder extends wg
|
||||
$isSelected = $selected == $key;
|
||||
$required = $key == 'table';
|
||||
}
|
||||
|
||||
$selectedClass = 'text-primary ring-secondary font-bold selected';
|
||||
$defaultClass = 'text-gray-900 ring-opacity-0 font-medium';
|
||||
|
||||
return div
|
||||
(
|
||||
setClass('builder-step-bar flex col justify-evenly basis-40 gap-1 bg-primary-50 h-full'),
|
||||
$items
|
||||
);
|
||||
}
|
||||
|
||||
protected function buildTableStep()
|
||||
|
||||
Reference in New Issue
Block a user