├── static ├── img │ ├── books.jpg │ ├── login.jpg │ ├── main-bg.jpg │ ├── add-books.jpg │ ├── database.jpg │ └── logged-in-bg.jpg ├── js │ ├── main.js │ ├── prefixfree.min.js │ └── bootstrap.min.js └── css │ ├── style-admin.css │ ├── style-logged-in.css │ ├── style-add-books.css │ ├── style-login.css │ ├── style-sign-up.css │ ├── style-change-user.css │ ├── style-admin-change.css │ ├── style-all.css │ ├── issue-book.css │ ├── style-admin-login.css │ └── font-awesome.min.css ├── README.md ├── templates ├── Info.html ├── login.html ├── change-admin.html ├── add-books.html ├── change-user.html ├── sign-up.html ├── User-Avail-Books.html ├── logged-in.html ├── issued-books-user.html ├── admin.html ├── all.html ├── admin-login.html └── issue-book.html └── library.py /static/img/books.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JeeveshN/Library-Managment-System/HEAD/static/img/books.jpg -------------------------------------------------------------------------------- /static/img/login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JeeveshN/Library-Managment-System/HEAD/static/img/login.jpg -------------------------------------------------------------------------------- /static/img/main-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JeeveshN/Library-Managment-System/HEAD/static/img/main-bg.jpg -------------------------------------------------------------------------------- /static/img/add-books.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JeeveshN/Library-Managment-System/HEAD/static/img/add-books.jpg -------------------------------------------------------------------------------- /static/img/database.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JeeveshN/Library-Managment-System/HEAD/static/img/database.jpg -------------------------------------------------------------------------------- /static/img/logged-in-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JeeveshN/Library-Managment-System/HEAD/static/img/logged-in-bg.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Library Management System 2 | 3 | This Library Management System is based on Flask. 4 | 5 | 6 | ### Installing 7 | 8 | To install MongoDb 9 | 10 | ``` 11 | sudo apt-get install mongodb 12 | ``` 13 | 14 | To install flask 15 | 16 | ``` 17 | pip install flask 18 | ``` 19 | 20 | To install MongoAlchemy 21 | 22 | ``` 23 | pip install Flask-MongoAlchemy 24 | ``` 25 | ## Getting Started 26 | ``` 27 | git clone https://github.com/JeeveshN/Library-Management-System.git 28 | cd Library-Management-System 29 | python library.py 30 | go to http://localhost:5000/ in your browser 31 | ``` 32 | 33 | -------------------------------------------------------------------------------- /templates/Info.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Library Managment-Login 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {% for student in users %} 18 | 19 | 20 | 21 | 22 | 23 | 24 | {% endfor %} 25 | 26 |
NameCityAddressPin
{{ student.name }}{{ student.username }}{{ student.password }}{{ student.number }}
27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /static/js/main.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | 3 | $(".ts-sidebar-menu li a").each(function () { 4 | if ($(this).next().length > 0) { 5 | $(this).addClass("parent"); 6 | }; 7 | }) 8 | var menux = $('.ts-sidebar-menu li a.parent'); 9 | $('
').insertBefore(menux); 10 | $('.more').click(function () { 11 | $(this).parent('li').toggleClass('open'); 12 | }); 13 | $('.parent').click(function (e) { 14 | e.preventDefault(); 15 | $(this).parent('li').toggleClass('open'); 16 | }); 17 | $('.menu-btn').click(function () { 18 | $('nav.ts-sidebar').toggleClass('menu-open'); 19 | }); 20 | 21 | 22 | $('#zctb').DataTable(); 23 | 24 | 25 | $("#input-43").fileinput({ 26 | showPreview: false, 27 | allowedFileExtensions: ["zip", "rar", "gz", "tgz"], 28 | elErrorContainer: "#errorBlock43" 29 | // you can configure `msgErrorClass` and `msgInvalidFileExtension` as well 30 | }); 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /templates/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Library Managment-Login 4 | 5 | 6 | 7 |
8 |
9 |
10 |
SiteRandom
11 |
12 |
13 |
14 | {% for message in get_flashed_messages()%} 15 | {{ message }} 16 | {% endfor %} 17 |
18 |
19 |
20 |
21 | 22 | 23 |
24 |