Hi all,
Can anyone tell me where on earth I can re-style the control buttons?;
Chrome's inspect-element shows me the classes and whatnot, but I cannot find where they're called from.
Cheers!
Button Styles
Re: Button Styles
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
You can change the button class (class="btn btn-default") in there. Hope that is what you were after.
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++;
}
-
- Veteran Member
- Posts: 67
- Joined: 2015-06-06 12:10
Re: Button Styles
Thank you both for your replies!
The datalist.php is what I was looking for!
The datalist.php is what I was looking for!