@@ -172,4 +175,5 @@ $def with (data) toMinute(); toShell(); getCronData(); - \ No newline at end of file + +{% endblock %} \ No newline at end of file diff --git a/templates/default/database.html b/templates/default/database.html index 05e87ff58..a946dad2d 100755 --- a/templates/default/database.html +++ b/templates/default/database.html @@ -79,4 +79,4 @@ }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/default/login.html b/templates/default/login.html index 70d40b8f1..4e18fab1c 100755 --- a/templates/default/login.html +++ b/templates/default/login.html @@ -1,4 +1,4 @@ -$def with (tData) + diff --git a/views/__init__.py b/views/__init__.py index 6c715c9f9..3bd83da44 100644 --- a/views/__init__.py +++ b/views/__init__.py @@ -1,3 +1,4 @@ + from dashboard import * from site import * from files import * @@ -7,3 +8,4 @@ from task import * from system import * from plugins import * from database import * +from crontab import * diff --git a/views/crontab.py b/views/crontab.py new file mode 100644 index 000000000..46034716c --- /dev/null +++ b/views/crontab.py @@ -0,0 +1,10 @@ +# coding:utf-8 + +from flask import Blueprint, render_template + +crontab = Blueprint('crontab', __name__, template_folder='templates') + + +@crontab.route("/") +def index(): + return render_template('default/crontab.html')