|
|
@ -10,11 +10,51 @@ bp = Blueprint("paginas", __name__) |
|
|
|
|
|
|
|
|
@bp.route('/') |
|
|
@bp.route('/') |
|
|
def index(): |
|
|
def index(): |
|
|
#songs = Song.query.all() |
|
|
|
|
|
#albums = Album.query.all() |
|
|
|
|
|
#return render_template('index.html', songs=songs, albums=albums) |
|
|
|
|
|
return render_template('index.html') |
|
|
return render_template('index.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/docs') |
|
|
|
|
|
def docs(): |
|
|
|
|
|
return render_template('docs.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/orders') |
|
|
|
|
|
def orders(): |
|
|
|
|
|
return render_template('orders.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/notifications') |
|
|
|
|
|
def notifications(): |
|
|
|
|
|
return render_template('notifications.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/account') |
|
|
|
|
|
def account(): |
|
|
|
|
|
return render_template('account.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/settings') |
|
|
|
|
|
def settings(): |
|
|
|
|
|
return render_template('settings.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/login') |
|
|
|
|
|
def login(): |
|
|
|
|
|
return render_template('login.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/signup') |
|
|
|
|
|
def signup(): |
|
|
|
|
|
return render_template('signup.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/reset-password') |
|
|
|
|
|
def resetpassword(): |
|
|
|
|
|
return render_template('reset-password.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/404') |
|
|
|
|
|
def cuatrocerocuatro(): |
|
|
|
|
|
return render_template('404.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/charts') |
|
|
|
|
|
def charts(): |
|
|
|
|
|
return render_template('charts.html') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/help') |
|
|
|
|
|
def help(): |
|
|
|
|
|
return render_template('help.html') |
|
|
|
|
|
|
|
|
@bp.route('/uploads/<filename>') |
|
|
@bp.route('/uploads/<filename>') |
|
|
def uploaded_file(filename): |
|
|
def uploaded_file(filename): |
|
|
|