Minor change
This commit is contained in:
		
							parent
							
								
									a26927848f
								
							
						
					
					
						commit
						39b01c5280
					
				@ -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,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -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():
 | 
			
		||||
 | 
			
		||||
@ -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:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user