Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to Change Button position & Color & Table lines to Options labels- in Portal

chanikya
Kilo Sage

Hi 

Widget  :   Approval Info

Can i able to change "Earlier Items" button position  and Color to Yellow.....???

and add Table lines to Options  labels

find_real_file.png

1 ACCEPTED SOLUTION

To move the button to right change your button below mentioned code.

<button type="button"  name="earlier_item" style="float: right;" class="btn btn-warning btn-question" ng-click="c.earlier_item()">${Earlier Items}</button>

View solution in original post

18 REPLIES 18

Thanks Ujwall,

 

1. in case   if i want to make it center then should i have to clear un-commented lines

 

2.. in case if i want to make it to Right position  under Reject button then should i have to change any things here

 

 

3..Like this Option values should be display like this Box level

To move the button to right change your button below mentioned code.

<button type="button"  name="earlier_item" style="float: right;" class="btn btn-warning btn-question" ng-click="c.earlier_item()">${Earlier Items}</button>

Great ...!!! Thanks a Lot,

 

Genius...Thanks a Lot Ujjawal  it is working..!! 

 

is it Possible to add Lines to labels under Options 

Replace below piece of code of the widget

<div ng-repeat="variable in data.variables" ng-if="variable_toggle">
<label>{{::variable.label}}</label>
<div>{{::variable.display_value}}</div>
</div>

 

with this code

<table >
<tr ng-repeat="variable in data.variables" ng-if="variable_toggle">
<td>{{::variable.label}}
<br>
{{::variable.display_value}}</td>

</tr>
</table>

 

Hope this helps.

Thanks a Lot Ujjwal !!!