Minor change
This commit is contained in:
parent
a26927848f
commit
39b01c5280
@ -1,7 +1,7 @@
|
|||||||
main_db = {
|
main_db = {
|
||||||
'host' : 'localhost',
|
'host' : 'localhost',
|
||||||
'user' : 'root',
|
'user' : 'root',
|
||||||
'password' : '',
|
'password' : '',
|
||||||
'database' : 'your_db',
|
'database' : 'your_db',
|
||||||
'autocommit' : True,
|
'autocommit' : True,
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import cherrypy
|
import cherrypy
|
||||||
import json
|
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")
|
@cherrypy.tools.accept(media="application/json")
|
||||||
class handler():
|
class handler():
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
from mako.template import Template
|
from mako.template import Template
|
||||||
import mysql.connector as mariadb
|
import config.globalvar as globalvar
|
||||||
|
|
||||||
import config.database as database
|
|
||||||
import config.globalvar as globalvar
|
|
||||||
|
|
||||||
class main:
|
class main:
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<div class="container-fluid my-3">
|
<div class="container-fluid my-3">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<h1>Welcome</h1>
|
<h1>Welcome</h1>
|
||||||
<h3>This is your first pages</h3>
|
<h3>This is your first pages</h3>
|
||||||
<p>${greeting}</p>
|
<p>${greeting}</p>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user