The Admin Panel is built with Bootstrap and TWIG Templates.
The design can be customized as desired using Bootstrap CSS.
Depending on what you want to customize, you have several possibilities.
generator/generator.php
in your browserThe themes included in the package are all conceived in responsive design and premium quality, but you are free to make your own modifications. The main elements of the dashboard can easily be customized to match the design of your project (see illustration below).
Below are some examples of themes with custom CSS elements
<link rel="stylesheet" href="<?php echo ADMIN_URL; ?>assets/stylesheets/custom.css" type="text/css" media="screen">
body {
font-family: Arial, Helvetica, sans-serif;
}
.page-header.has-cover {
background: url(../images/backgrounds/custom-header-bg.jpg);
}
.sidebar .sidebar-user .category-content {
background: url(../images/backgrounds/custom-user-bg.jpg) 50% no-repeat;
}
PHP CRUD Generator is built with SASS & Gulp.
A ready-to-use package to minify and compile SASS and Javascripts is available for download on Github here: https://github.com/migliori/php-crud-generator-gulp
These sources files allow to edit the Bootstrap Admin theme CSS and / or Javascript.
Download or clone the Github repository at the root of your project and follow the README instructions.
All SASS files including Bootstrap are located in admin/assets/sass/ and compiled in admin/assets/stylesheets/
The CSS files are loaded with admin/inc/css-includes.php.
All the Javascript files are organized in admin/assets/javascripts/ and minified in the same folder.
The main Javascript is admin/assets/javascripts/project.js.
It loads all the project dependencies with the help of LoadJs.
To customize your Bootstrap admin dashboard CSS you must beforehand:
The Bootstrap Admin Panel
Files & logic
Navbar
Content
Debug