mirror of https://github.com/midoks/mdserver-web
pull/109/head
parent
76e2047519
commit
40ff5be361
@ -0,0 +1,2 @@ |
||||
flask |
||||
gunicorn |
@ -1,2 +1,3 @@ |
||||
from frontend import * |
||||
from dashboard import * |
||||
from site import * |
||||
|
||||
|
@ -0,0 +1,11 @@ |
||||
# coding:utf-8 |
||||
|
||||
from flask import Flask |
||||
from flask import Blueprint,render_template |
||||
|
||||
|
||||
dashboard = Blueprint('dashboard', __name__, template_folder='templates') |
||||
|
||||
@dashboard.route("/") |
||||
def index(): |
||||
return render_template('default/index.html') |
@ -1,9 +0,0 @@ |
||||
from flask import Flask |
||||
from flask import Blueprint,render_template |
||||
|
||||
|
||||
frontend = Blueprint('frontend', __name__, template_folder='templates') |
||||
|
||||
@frontend.route("/") |
||||
def index(): |
||||
return render_template('default/index.html') |
@ -0,0 +1,11 @@ |
||||
# coding:utf-8 |
||||
|
||||
from flask import Flask |
||||
from flask import Blueprint,render_template |
||||
|
||||
|
||||
site = Blueprint('site', __name__, template_folder='templates') |
||||
|
||||
@site.route("/") |
||||
def index(): |
||||
return render_template('default/site.html') |
Loading…
Reference in new issue