/** * A exécuter quelque soit la page */ public function __construct() { parent::__construct(); $this->load->helper('assets'); $this->titre = 'Mon super site'; $this->css = asset_css('blog'); }
<!-- Theme style --> <link href="<?php echo asset_css('AdminLTE.css'); ?> " rel="stylesheet" type="text/css" /> <link href="<?php echo asset_css('admin-custom.css'); ?> " rel="stylesheet" type="text/css" /> <link href="<?php echo asset_css('jquery.filer-dragdropbox-theme.css'); ?> " rel="stylesheet" type="text/css" /> <link href="<?php echo asset_css('jquery.filer.css'); ?> " rel="stylesheet" type="text/css" /> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body class="skin-blue"> <!-- header logo: style can be found in header.less --> <?php $this->load->view('header');
<html class="bg-black"> <head> <meta charset="UTF-8"> <title>Dashboard</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <link href="<?php echo asset_css('bootstrap.min.css'); ?> " rel="stylesheet" type="text/css" /> <link href="<?php echo asset_css('font-awesome.min.css'); ?> " rel="stylesheet" type="text/css" /> <!-- Theme style --> <link href="<?php echo asset_css('AdminLTE.css'); ?> " rel="stylesheet" type="text/css" /> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body class="bg-black"> <div class="form-box" id="login-box"> <img src="<?php echo asset_img('logo.jpg');