mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-03 21:29:28 +00:00
a603081544
- Added new PostgreSQL types in application/core/DB_Model.php - Updated the includes in application/views/* - Added new view template application/views/templates/FHC-Common.php - Moved JS includes in application/views/templates/FHC-Footer.php - Updated JS and CSS includes in application/views/templates/FHC-Footer.php and application/views/templates/FHC-Header.php - Updated public/js/bootstrapper.js - Changed global variable names in application/views/templates/FHC-Common.php to include the version of the included source
19 lines
487 B
JavaScript
19 lines
487 B
JavaScript
/**
|
|
* To add bootstrap classes, e.g. in case usage of non-bootstrap widgets in a bootstrap page
|
|
* NOTE: avoid using this if possible
|
|
*/
|
|
$(document).ready(function() {
|
|
Bootstrapper.bootstraphtml();
|
|
});
|
|
|
|
var Bootstrapper = {
|
|
bootstraphtml: function ()
|
|
{
|
|
$("input[type=text], select, textarea").addClass("form-control");
|
|
$("button, input[type=button]").addClass("btn btn-default");
|
|
$("table").addClass("table-condensed");
|
|
$("#tableDataset").addClass('table-bordered');
|
|
}
|
|
};
|
|
|