66 lines
1.8 KiB
Markdown
66 lines
1.8 KiB
Markdown
<p align="center">
|
|
<a href="https://getstisla.com">
|
|
<img src="https://avatars2.githubusercontent.com/u/45754626?s=75&v=4" alt="Stisla logo" width="75" height="75">
|
|
</a>
|
|
</p>
|
|
|
|
<h1 align="center">Stisla for CodeIgniter</h1>
|
|
|
|
<p align="center">
|
|
Stisla is Free Bootstrap Admin Template and will help you to speed up your project, design your own dashboard UI and the users will love it.
|
|
</p>
|
|
|
|
[](https://getstisla.com)
|
|
|
|
## Table of contents
|
|
|
|
- [Link Stisla](#link-stisla)
|
|
- [Installation](#installation)
|
|
- [Usage](#usage)
|
|
- [License](#License)
|
|
|
|
## Link Stisla
|
|
- Homepage: [getstisla.com](https://getstisla.com)
|
|
- Repository: [github.com/stisla/stisla](https://github.com/stisla/stisla)
|
|
- Documentation: [getstisla.com/docs](https://getstisla.com/docs)
|
|
|
|
## Installation
|
|
- [Download the latest release](https://github.com/KhidirDotID/stisla-codeigniter/archive/v1.0.0.zip).
|
|
or clone the repo :
|
|
```
|
|
https://github.com/KhidirDotID/stisla-codeigniter.git
|
|
```
|
|
|
|
## Usage
|
|
- Create a new Controller at `application/controllers` then put like this:
|
|
```
|
|
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Controller_name extends CI_Controller {
|
|
|
|
public function index() {
|
|
$data = array(
|
|
'title' => "Your title"
|
|
);
|
|
$this->load->view('View_name', $data);
|
|
}
|
|
}
|
|
?>
|
|
```
|
|
- Create a new View at `application/views` then put like this:
|
|
```
|
|
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
$this->load->view('dist/_partials/header'); ?>
|
|
|
|
<!-- Main Content -->
|
|
|
|
<?php
|
|
$this->load->view('dist/_partials/footer'); ?>
|
|
```
|
|
|
|
## License
|
|
|
|
Stisla is under the [MIT License](LICENSE).
|