├── assets ├── css │ └── styles.css └── js │ └── scripts.js ├── .gitattributes ├── application ├── views │ ├── templates │ │ ├── scripts.php │ │ └── head.php │ ├── html.php │ └── pages │ │ └── template │ │ ├── index.php │ │ └── sections │ │ └── modal.php └── controllers │ └── Template.php ├── .gitignore └── README.md /assets/css/styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /assets/js/scripts.js: -------------------------------------------------------------------------------- 1 | var hello = ' ____ _ ___ _ _ _____ _ _ \n' 2 | +' / ___|___ __| | ___|_ _|__ _ _ __ (_) |_ ___ _ __ |_ _|__ _ __ ___ _ __ | | __ _| |_ ___ \n' 3 | +'| | / _ \\ / _` |/ _ \\| |/ _` | \'_ \\| | __/ _ \\ \'__| | |/ _ \\ \'_ ` _ \\| \'_ \\| |/ _` | __/ _ \\\n' 4 | +'| |__| (_) | (_| | __/| | (_| | | | | | || __/ | | | __/ | | | | | |_) | | (_| | || __/\n' 5 | +' \\____\\___/ \\__,_|\\___|___\\__, |_| |_|_|\\__\\___|_| |_|\\___|_| |_| |_| .__/|_|\\__,_|\\__\\___|\n' 6 | +' |___/ |_| \n' 7 | +'by @natanfelles' 8 | ; 9 | console.log(hello); 10 | -------------------------------------------------------------------------------- /application/views/templates/scripts.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | defined('BASEPATH') OR exit('No direct script access allowed'); 9 | /** 10 | * @var array $link_js 11 | * @var array $inline_js 12 | */ 13 | 14 | if (isset($link_js)): 15 | ?> 16 | 17 | 20 | 21 | 27 | 28 | 35 | 38 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear in the root of a volume 35 | .DocumentRevisions-V100 36 | .fseventsd 37 | .Spotlight-V100 38 | .TemporaryItems 39 | .Trashes 40 | .VolumeIcon.icns 41 | 42 | # Directories potentially created on remote AFP share 43 | .AppleDB 44 | .AppleDesktop 45 | Network Trash Folder 46 | Temporary Items 47 | .apdisk 48 | -------------------------------------------------------------------------------- /application/views/html.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | defined('BASEPATH') OR exit('No direct script access allowed'); 9 | /** 10 | * @var string $lang 11 | * @var string $body_attr 12 | * @var string $page 13 | * 14 | * @var CI_Controller $this 15 | */ 16 | ?> 17 | 18 | 19 | load->view('templates/head'); 21 | ?> 22 |
> 23 | load->view("pages/{$filepath}"); 35 | $this->load->view('templates/scripts'); 36 | ?> 37 | 38 | 39 | -------------------------------------------------------------------------------- /application/views/pages/template/index.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | defined('BASEPATH') OR exit('No direct script access allowed'); 9 | /** 10 | * @var CI_Controller $this 11 | */ 12 | ?> 13 |This is a simple example page.
17 |18 | 21 |
22 |