Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 793:3dc08b326769
add
author | ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp> |
---|---|
date | Wed, 15 Jul 2015 20:46:06 +0900 |
parents | 70def1311847 |
children | 5d3ea59fcb02 |
files | oasis2015/img/expfront.png oasis2015/img/gial1.png oasis2015/img/gial1s.png oasis2015/prof.rb oasis2015/weier/.htaccess |
diffstat | 5 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/oasis2015/prof.rb Tue Jul 14 21:48:57 2015 +0900 +++ b/oasis2015/prof.rb Wed Jul 15 20:46:06 2015 +0900 @@ -288,11 +288,15 @@ #(exp=35の場合、5*10=『50%』、次のレベルアップまであと50%が必要、と分かる。) gage = 0 exp2 = exp +esa = "<br><br><br>" if lv < 5 while exp2 >= 10 exp2 -= 10 end gage = 100-exp2*10 + esa ='<input type="reset" value="とりけし"> +<input type="submit" value="こうかんする!"><br> +<input type="text" name="gohan" placeholder="ひみつ の こたえ を いれてね!">:0pt' end @@ -302,7 +306,7 @@ #以下のprintfについて #pre*4はstyleの部分、<h2>{margin(本来OS_,per,gage,per,per,per,name...) -printf(<<_EOS_, per, gage, per, per, per, color, kkget, image, alt, name, person, cal, lv, pt, m1, mimg1, m2, mimg2) +printf(<<_EOS_, per, gage, per, per, per, color, kkget, image, alt, name, person, cal, lv, pt, m1, mimg1, m2, mimg2, esa) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" @@ -330,11 +334,13 @@ margin-left:0%s; margin-right:%d%s; text-align:left; +border-radius: 10ex; } div.gage{ background:#ddf; margin-left:20%s; margin-right:20%s; +border-radius: 10ex; } div.cal div{float:left; border:solid %s;} @@ -374,9 +380,7 @@ <label><input type="checkbox" name="hdn">ごはん!<div><br> <label><input type="radio" name="gohan" value="g1">%s:1pt<img src=%s width="16" height="16"></label><br> <label><input type="radio" name="gohan" value="g2">%s:3pt<img src=%s width="16" height="16"></label><br><br> -<input type="reset" value="とりけし"> -<input type="submit" value="こうかんする!"><br> -<input type="text" name="gohan" placeholder="ひみつ の こたえ を いれてね!">:0pt +%s </div></label></form> </td><td> <form method="POST" action="gets.rb">