From c0d9b693394552e0e9ad876de24ea5aa7cc1cab4 Mon Sep 17 00:00:00 2001 From: yamat0jp Date: Sat, 10 Dec 2016 15:11:09 +0900 Subject: [PATCH] jQuery --- index.py | 2 +- pybbs/title.htm | 26 +++++++++++++++++++++----- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/index.py b/index.py index 30593b8..f7e10b2 100755 --- a/index.py +++ b/index.py @@ -324,7 +324,7 @@ class Application(tornado.web.Application): 'ui_modules':{'Footer':FooterModule}, 'cookie_secret':'bZJc2sWbQLKos6GkHn/VB9oXwQt8SOROkRvJ5/xJ89E=', 'xsrf_cookies':True, - #'debug':True, + 'debug':True, 'login_url':'/login' } tornado.web.Application.__init__(self,handlers,**settings) diff --git a/pybbs/title.htm b/pybbs/title.htm index d1c6809..82cb238 100644 --- a/pybbs/title.htm +++ b/pybbs/title.htm @@ -2,19 +2,35 @@ Titles + + + {% for x in coll %} +
{% if full(x['name']) == True %} -

style=color:red>{{x['name']}} + style=color:red>{{x['name']}} {% else %} -

{{x['name']}} + {{x['name']}} {% end %} - タイトル:{{x['title']}},記事数:{{x['count']}},更新時刻:{{x['date']}} + タイトル:{{x['title']}},記事数:{{x['count']}},更新時刻:{{x['date']}} +

+

{% end %}

もどる