Where to make print,

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
dragon
Veteran Member
Posts: 44
Joined: 2015-09-29 00:06

Where to make print,

Post by dragon » 2015-10-11 03:23

Where do I edit these images? I'd like to make them smaller or use custom images?
Thanks.
Screen Shot 2015-10-10 at 22.21.11.png
Screen Shot 2015-10-10 at 22.21.11.png (39.3 KiB) Viewed 3575 times
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.

peebee
AppGini Super Hero
AppGini Super Hero
Posts: 356
Joined: 2013-03-21 04:37

Re: Where to make print,

Post by peebee » 2015-10-12 02:19

Those images are Glyphicons, generated by Bootstrap: http://getbootstrap.com/components/#glyphicons

You'll find the code for those icons in datalist.php Search the file for the section starting with // quick search and TV action buttons

Eg: for Print Preview icon: <i class="glyphicon glyphicon-print"></i> for Save CSV <i class="glyphicon glyphicon-download-alt"></i>

You can swap any icon for another existing glyphicon by simply changing the icon class.

You can change the size of the icons by adding this to your bootstrap CSS:

For ALL glyphicons across entire site (change px size depending on what you are after):

Code: Select all

.glyphicon {
    font-size: 12px; 
}
To change the size of specific icons:

Code: Select all

.glyphicon.glyphicon-print {
    font-size: 12px;
}
If you want to add your own images, you'll have to add your own css classes. Hope that helps.

dragon
Veteran Member
Posts: 44
Joined: 2015-09-29 00:06

Re: Where to make print,

Post by dragon » 2015-10-12 04:19

Excellent. Very much appreciated.
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.

Post Reply