Minor change

This commit is contained in:
Dita Aji Pratama 2024-01-13 11:57:50 +07:00
parent a26927848f
commit 39b01c5280
4 changed files with 16 additions and 19 deletions

View File

@ -1,7 +1,7 @@
main_db = {
'host' : 'localhost',
'user' : 'root',
'password' : '',
'database' : 'your_db',
'autocommit' : True,
'host' : 'localhost',
'user' : 'root',
'password' : '',
'database' : 'your_db',
'autocommit' : True,
}

View File

@ -1,10 +1,10 @@
import cherrypy
import json
import config.directory as directory
import config.directory as directory
import templates.basic_bootstrap.main as basic_bootstrap
import templates.bare.main as bare
import modules.public.home as public_home
import modules.public.home as public_home
@cherrypy.tools.accept(media="application/json")
class handler():

View File

@ -1,8 +1,5 @@
from mako.template import Template
import mysql.connector as mariadb
import config.database as database
import config.globalvar as globalvar
from mako.template import Template
import config.globalvar as globalvar
class main:

View File

@ -1,9 +1,9 @@
<div class="container-fluid my-3">
<div class="row">
<div class="col-lg-12">
<h1>Welcome</h1>
<h3>This is your first pages</h3>
<p>${greeting}</p>
</div>
<div class="row">
<div class="col-lg-12">
<h1>Welcome</h1>
<h3>This is your first pages</h3>
<p>${greeting}</p>
</div>
</div>
</div>