├── .gitignore ├── dist ├── crudtable.js └── crudtable.js.map ├── gulpfile.js ├── package.json ├── readme.md ├── resources └── assets │ └── js │ ├── components │ ├── CrudInsert.vue │ └── CrudWrapper.vue │ └── crudtable.js └── sample.gif /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var elixir = require('laravel-elixir'); 2 | require('laravel-elixir-vueify'); 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Elixir Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for our application, as well as publishing vendor resources. 11 | | 12 | */ 13 | 14 | elixir(function(mix) { 15 | mix.browserify('crudtable.js','./dist/crudtable.js'); 16 | }); 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crudtable", 3 | "version": "1.0.0", 4 | "description": "crud table plugin", 5 | "main": "gulpfile.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/heruujoko/crudtable.git" 12 | }, 13 | "author": "heruujoko", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/heruujoko/crudtable/issues" 17 | }, 18 | "homepage": "https://github.com/heruujoko/crudtable#readme", 19 | "devDependencies": { 20 | "babel-core": "^6.11.4", 21 | "babel-plugin-transform-runtime": "^6.12.0", 22 | "babel-preset-es2015": "^6.9.0", 23 | "babel-preset-react": "^6.11.1", 24 | "babel-preset-stage-2": "^6.13.0", 25 | "babel-runtime": "^6.11.6", 26 | "babelify": "^7.3.0", 27 | "bootstrap-sass": "^3.3.0", 28 | "browserify": "^13.0.1", 29 | "gulp": "^3.9.1", 30 | "laravel-elixir": "^5.0.0", 31 | "laravel-elixir-vueify": "^1.0.3", 32 | "vue-hot-reload-api": "^2.0.5", 33 | "vueify": "^8.7.0" 34 | }, 35 | "dependencies": { 36 | "jquery": "~2.1.0", 37 | "js-cookie": "^2.1.2", 38 | "lodash": "^4.15.0", 39 | "stringify": "^5.1.0", 40 | "sweetalert": "^1.1.3", 41 | "vue": "^1.0.26", 42 | "vue-resource": "^0.9.3", 43 | "vue-router": "^0.7.13", 44 | "vue-select": "^1.3.3", 45 | "vue-tables": "^1.4.64" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | ## Synopsis 2 | 3 | This library helps you create more functional table easily. 4 | 5 | ## Sample 6 | 7 |  8 | 9 | Fiddle : https://jsfiddle.net/heruujoko/vj7ds7um/2/ 10 | 11 | Note: the fiddle is just to show how to set up the HTML tags and may not have the full table functionality since I can't provide an API to serve the table. 12 | 13 | ## Installation 14 | 15 | Include [crudtable.js](https://github.com/heruujoko/crudtable/blob/master/dist/crudtable.js) to your page, and just wrap it inside a div with id "crudsection" 16 | 17 | ```html 18 |