File tree 5 files changed +30
-27
lines changed
5 files changed +30
-27
lines changed Original file line number Diff line number Diff line change
1
+ web : python run.py
Original file line number Diff line number Diff line change @@ -30,10 +30,6 @@ def page_not_found(error):
30
30
def server_error (error ):
31
31
return render_template ('500.html' ),500
32
32
33
- #@app.errorhandler(403)
34
- #def access_forbidden(error):
35
- #return render_template('403.html'),403
36
-
37
33
38
34
if __name__ == '__main__' :
39
35
app .run (debug = True )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+
3
+ < html >
4
+ < head >
5
+ < title > Reversing string.</ title >
6
+ < link href ="{{ url_for('static', filename='css/main.css') }} " rel ="stylesheet ">
7
+ < link href ="{{ url_for('static', filename='css/bootstrap.min.css') }} " rel ="stylesheet ">
8
+
9
+ </ head >
10
+ < div class ="container ">
11
+
12
+ < h1 > Error 404</ h1 >
13
+ < p > < em > Try< a href ="{{url_for('index')}} "> again.</ a > </ em > </ p >
14
+
15
+ </ div >
16
+
17
+ </ html >
Original file line number Diff line number Diff line change 1
- {% extends "index.html" %}
2
-
3
- {% block content %}
4
-
5
- < div class ="error ">
1
+ <!DOCTYPE html>
6
2
3
+ < html >
4
+ < head >
5
+ < title > Reversing string.</ title >
6
+ < link href ="{{ url_for('static', filename='css/main.css') }} " rel ="stylesheet ">
7
+ < link href ="{{ url_for('static', filename='css/bootstrap.min.css') }} " rel ="stylesheet ">
8
+
9
+ </ head >
10
+ < div class ="container ">
7
11
< h1 > 500</ h1 >
8
12
< p > Something is wrong! We are working on it!</ p >
9
- < p > < em > Return < a href ="{{url_for('home')}} "> Home.</ a > </ em > </ p >
10
-
11
- </ div >
12
-
13
+ < p > < em > Return< a href ="{{url_for('home')}} "> Home.</ a > </ em > </ p >
14
+ </ div >
13
15
14
- {% endblock %}
16
+ </ html >
You can’t perform that action at this time.
0 commit comments