diff --git a/app.py b/app.py index 21f07dc..d016298 100644 --- a/app.py +++ b/app.py @@ -204,7 +204,7 @@ def story(story_id): @bp.route('/create', methods=['POST']) @login_required -@limiter.limit("15 / hour") +@limiter.limit("66 / hour") def create(): story_id = request.form.get('story-id') text = request.form.get('text') diff --git a/static/css/ordinary.css b/static/css/ordinary.css index 55eab82..355b63d 100644 --- a/static/css/ordinary.css +++ b/static/css/ordinary.css @@ -175,4 +175,13 @@ a:focus, .btn-link:focus { display: block; margin-left: auto; margin-right: auto; +} + +nav .page-link { + color: #000; +} + +nav .page-item.active .page-link { + background-color: #000; + border-color: #000; } \ No newline at end of file diff --git a/templates/story.html b/templates/story.html index 56b52e9..51a4d68 100644 --- a/templates/story.html +++ b/templates/story.html @@ -48,7 +48,7 @@
-
+

备选后续

{% if sort_by == 'like' %} @@ -72,6 +72,24 @@
{% endfor %} + +