|
|
@ -20,6 +20,7 @@ import thisdb |
|
|
|
|
|
|
|
|
|
|
|
blueprint = Blueprint('crontab', __name__, url_prefix='/crontab', template_folder='../../templates') |
|
|
|
blueprint = Blueprint('crontab', __name__, url_prefix='/crontab', template_folder='../../templates') |
|
|
|
@blueprint.route('/index', endpoint='index') |
|
|
|
@blueprint.route('/index', endpoint='index') |
|
|
|
|
|
|
|
@panel_login_required |
|
|
|
def index(): |
|
|
|
def index(): |
|
|
|
name = thisdb.getOption('template', default='default') |
|
|
|
name = thisdb.getOption('template', default='default') |
|
|
|
return render_template('%s/crontab.html' % name) |
|
|
|
return render_template('%s/crontab.html' % name) |
|
|
|