From d2d13d25cf0885dae4f41a3ae2cb9c58e7945401 Mon Sep 17 00:00:00 2001 From: yamat0jp Date: Sat, 10 Dec 2016 21:10:50 +0900 Subject: [PATCH] rotate used I had mani bad commit sorry --- pybbs/title.htm | 19 +++---------------- static/js/main.js | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 static/js/main.js diff --git a/pybbs/title.htm b/pybbs/title.htm index 781e9ef..fa29ea4 100644 --- a/pybbs/title.htm +++ b/pybbs/title.htm @@ -9,30 +9,17 @@ - + {% for x in coll %} -
{% if full(x['name']) == True %} style=color:red>{{x['name']}} {% else %} {{x['name']}} {% end %} - タイトル:{{x['title']}},記事数:{{x['count']}},更新時刻:{{x['date']}} -
+ ↓ +
タイトル:{{x['title']}},記事数:{{x['count']}},更新時刻:{{x['date']}}

{% end %}

もどる diff --git a/static/js/main.js b/static/js/main.js new file mode 100644 index 0000000..e44ef7f --- /dev/null +++ b/static/js/main.js @@ -0,0 +1,18 @@ +var +arg = { + 'font-size':'2em', + 'transform':'rotate(5deg)' +}; +narg = { + 'font-size':'initial', + 'transform':'initial' +}; + +$(function(){ + $('div').on('click',function(){ + $(this).css(arg); + }) + .on('mouseout',function(){ + $(this).css(narg); + }); +}); \ No newline at end of file -- 2.11.0