├── README.md ├── static ├── css │ ├── lawmaker.css │ └── home.css ├── images │ └── favicon.ico ├── diffview.css ├── bootstrap │ └── css │ │ ├── bootstrap-reboot.min.css │ │ ├── bootstrap-reboot.css │ │ ├── bootstrap-reboot.min.css.map │ │ └── bootstrap-grid.min.css ├── article_view.html ├── diffview.js └── difflib.js ├── package.json ├── views ├── helpers │ ├── header.ejs │ └── footer.ejs ├── new_proposal.ejs ├── close.ejs ├── new_article.ejs ├── text.ejs ├── amendments.ejs ├── home.ejs ├── article.ejs └── dashboard.ejs ├── controllers ├── login.js ├── close.js ├── text.js ├── amendments.js ├── dashboard.js └── article.js ├── .gitignore ├── index.js └── LICENSE /README.md: -------------------------------------------------------------------------------- 1 | # LawMakerTM 2 | LawMaker 3 | -------------------------------------------------------------------------------- /static/css/lawmaker.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 70px; 3 | } 4 | -------------------------------------------------------------------------------- /static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarroyoc/LawMakerTM/master/static/images/favicon.ico -------------------------------------------------------------------------------- /static/css/home.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 70px; 3 | } 4 | 5 | 6 | .home-header { 7 | padding-top: 70px; 8 | } 9 | 10 | .login { 11 | margin-top: 50px; 12 | } 13 | 14 | .login-box { 15 | padding: 1em; 16 | 17 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lawmakertm", 3 | "version": "1.0.0", 4 | "description": "LawMaker", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/aarroyoc/LawMakerTM.git" 12 | }, 13 | "author": "", 14 | "license": "ISC", 15 | "bugs": { 16 | "url": "https://github.com/aarroyoc/LawMakerTM/issues" 17 | }, 18 | "homepage": "https://github.com/aarroyoc/LawMakerTM#readme", 19 | "dependencies": { 20 | "body-parser": "^1.19.0", 21 | "ejs": "^2.6.1", 22 | "express": "^4.16.4", 23 | "express-session": "^1.16.1", 24 | "mongodb": "^3.2.4", 25 | "uuid": "^3.3.2" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /views/helpers/header.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 |