Bootstrap

Discuss everything related to ApPHP DataGrid class. All versions. Any questions related to the ApPHP DataGrid developing or using should be posted to this forum.
Please, check out Knowledge Base first before you post a question.

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

Forum rules
Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.
paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

Re: Bootstrap

Postby paragate » Sep 21st, '16, 09:44

maybe.. or is there a better way to implement Bootstrap css
Generate a responsive template under /templates/responsive

then maybe in the coding of components an so, use
switch ($template) {
case 'default':
// code
break;
case 'responsive':
//code
break;
}

that way the compiling of the website will use the chosen template

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

Bootstrap SASS

Postby paragate » Oct 19th, '16, 10:56

Hi,
Any planning to do a tiny css module so it could be easier to make websites?

Idea:
For a start i have tested ScssPhp it can be used as a php script with a few caveats:
Ex. In php remember to start from root - $directory = "./assets/scss/stylesheets";

My working example:

Code: Select all

require_once './assets/scssphp/scss.inc.php';
use Leafo\ScssPhp\Compiler;
use Leafo\ScssPhp\Server;
$directorycss = "./assets/css/";
$directory = "./assets/scss/stylesheets";
$scss = new Compiler();
$scss->setFormatter('Leafo\ScssPhp\Formatter\Compressed');

$server = new Server($directory, $directorycss, $scss);
$server->serve();
$scss->compileFile($directory.'main.scss', $directorycss.'mycss.css');


Haven't figured out why the compiled css is not mycss.css but becomes something like
b12b233dcabb2c0b8a9bcc4d7209effd.css

but it is working
regards

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: Bootstrap

Postby ne_moj » Oct 20th, '16, 08:45

Hello Henrik,

Thank you, we will consider this proposal.

Regards


Return to “ApPHP DataGrid”