├── README.md ├── app ├── init.js ├── main.js ├── menu.js └── route.js ├── bower.json ├── images ├── dog.png └── user.jpg ├── index.html ├── pages ├── 404.html ├── charts.html ├── dashboard.html ├── elements-buttons.html ├── elements-input.html └── todo.html └── styles.css /README.md: -------------------------------------------------------------------------------- 1 | # mdlAdmin-lite 2 | Free Starter Admin Template built on Google Material Design Lite 3 | 4 | This theme was built on top of [http://www.getmdl.io/templates/dashboard/index.html](http://www.getmdl.io/templates/dashboard/index.html) 5 | 6 | ### Features 7 | - Built using latest Google's MDL library - [https://getmdl.io](https://getmdl.io). 8 | - Dynamic content loading 9 | - Dynamic urls (using Grapnel) 10 | - Multi Level Menus 11 | - Google Material Charts 12 | - jQuery Ready 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/init.js: -------------------------------------------------------------------------------- 1 | //Heart of the app. 2 | 3 | $(document).ready(function() { 4 | 5 | 6 | //init the side menu 7 | initSideMenu(); 8 | 9 | }); -------------------------------------------------------------------------------- /app/main.js: -------------------------------------------------------------------------------- 1 | //functions related to the theme itself. 2 | 3 | var mdlAdmin = { 4 | //set Page title and Breadcrumbs. 5 | setTitle : function(title, subtitle) { 6 | //todo ; page title. 7 | 8 | $('#title').html(title); 9 | $('#title-sep').hide(); 10 | $('#subtitle').hide(); 11 | if(subtitle) { 12 | $('#title-sep').show(); 13 | $('#subtitle').show(); 14 | $('#subtitle').html(subtitle); 15 | } 16 | 17 | }, 18 | //load dynamic content over XHR 19 | loadContent : function(filename, cb) { 20 | $('#content').html('
Task | 11 |Due Date | 12 |
---|---|
Buy Milk | 17 |12 July 2015 | 18 |
Reboot Server | 21 |20 July 2015 | 22 |
Learn MDL | 25 |31 August 2015 | 26 |