Files
notifications-admin/app/main/views/tour.py

23 lines
430 B
Python
Raw Normal View History

from flask import render_template
from flask_login import login_required
from app.main import main
2016-04-04 16:54:28 +01:00
headings = [
'Trial mode',
'Start with templates',
'Add recipients',
'Send your messages',
]
@main.route("/tour/<int:page>")
def tour(page):
return render_template(
'views/tour/{}.html'.format(page),
current_page=page,
2016-04-04 16:54:28 +01:00
next_page=(page + 1),
heading=headings[page - 1]
)