1 2 3 4 5 6 7 | #\controllers\customer.py import config, re, json from bottle import template, route, request, redirect @route ( '/customer' ) def displayCustomer(): return template( 'customer' , data = config.kargs) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <! - - \views\customer.tpl - - > % include( "./partials/header.tpl" ) <div class = "main" id = "main" > <div class = "content" id = "content" > <div class = "top-widget" > <span>CUSTOMERS< / span>< input onclick = "location.href='/custform'" type = "button" value = "Add Customer" > < / div> < / div><! - - content - - > < / div><! - - main - - > % include( "./partials/footer" ) |
GitHub: https://github.com/Sokhavuth/Rental-Bicycle-App
Heroku: https://khmerweb-rba.herokuapp.com/