Page 1 of 1
Button Styles
Posted: 2015-06-23 03:42
by TheNoLifer
Hi all,
Can anyone tell me where on earth I can re-style the control buttons?;
- buttons.PNG (13.24 KiB) Viewed 4912 times
Chrome's inspect-element shows me the classes and whatnot, but I cannot find where they're called from.
Cheers!
Re: Button Styles
Posted: 2015-06-23 19:15
by patsd102
You can change in the template/YOURFIELD_templateDV.html
Re: Button Styles
Posted: 2015-06-24 04:58
by peebee
You'll find those buttons are generated in datalist.php
Just look for this line: // quick search and TV action buttons somewhere around line 700. You'll find all those buttons in there.
This for example, is the code to generate the Print Preview button
Code: Select all
// display Print icon
if($this->AllowPrinting){
$buttons_all .= '<button onClick="document.myform.NoDV.value=1; ' . $resetSelection . ' return true;" type="submit" name="Print_x" id="Print" value="1" class="btn btn-default"><i class="glyphicon glyphicon-print"></i> ' . $Translation['Print Preview'] . '</button>';
$buttonsCount++;
}
You can change the button class (class="btn btn-default") in there. Hope that is what you were after.
Re: Button Styles
Posted: 2015-06-24 20:04
by patsd102
Hi Peebee
Thanks for correcting this post.
Have a nice day
Pat
Re: Button Styles
Posted: 2015-06-25 02:58
by TheNoLifer
Thank you both for your replies!
The datalist.php is what I was looking for!