s4

changeset 193:5d83ff0bbd40

Comment area modified
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 23 Apr 2016 23:10:23 +0859
parents 50e6195130b3
children b1847cc3912a
files examples/common/default/default.css s4-blog.sh s4.cgi
diffstat 3 files changed, 11 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/examples/common/default/default.css	Sat Apr 23 22:57:54 2016 +0859
     1.2 +++ b/examples/common/default/default.css	Sat Apr 23 23:10:23 2016 +0859
     1.3 @@ -61,7 +61,7 @@
     1.4  form.replyblog {margin-bottom: 40%;}
     1.5  div.blogcomment {
     1.6      position: fixed; bottom: 0; left: 0;
     1.7 -    z-index: 2; background-color: rgba(250,222,222,0.8);
     1.8 +    z-index: 2; background-color: rgba(250,222,222,0.6);
     1.9  }
    1.10  div.blogcomment * {opacity: 1.0;}
    1.11  table.bloghead, .bloghead tr, .bloghead td {
    1.12 @@ -95,7 +95,7 @@
    1.13  }
    1.14  div.fold input[type="checkbox"]:checked ~ div,
    1.15  div.fold input[type="radio"]:checked ~ div {
    1.16 -    display: block; background: #eef;
    1.17 +    display: block; background: #fadede;
    1.18      height: auto; opacity: 1.0; transition: 1s;
    1.19  }
    1.20  
     2.1 --- a/s4-blog.sh	Sat Apr 23 22:57:54 2016 +0859
     2.2 +++ b/s4-blog.sh	Sat Apr 23 23:10:23 2016 +0859
     2.3 @@ -240,18 +240,21 @@
     2.4      done
     2.5    fi
     2.6  
     2.7 -  textform='<div><table class="b">
     2.8 -<tr><td><textarea name="text" cols="40" rows="4"></textarea></td></tr>
     2.9 +  textform='<div class="fold">
    2.10 +<input type="checkbox" id="cmt" checked><label for="cmt"
    2.11 +>コメントする</label><div>
    2.12 +<table class="b">
    2.13 +<tr><td><textarea name="text" cols="72" rows="4"></textarea></td></tr>
    2.14  <tr><td>添付ファイル: <input type="file" name="image" multiple></td></tr>
    2.15  </table>
    2.16  <input type="submit" value="送信">
    2.17 -<input type="reset" value="リセット"></div>
    2.18 +<input type="reset" value="リセット"></div></div>
    2.19  '
    2.20    echo '</table>'
    2.21    
    2.22    $iswritable && cat<<EOF
    2.23  <div class="blogcomment">
    2.24 -<p>コメント記入</p>
    2.25 +<!-- <p>コメント記入</p> -->
    2.26  <input type="hidden" name="blogid" value="$id">
    2.27  <input type="hidden" name="stage" value="replyblog">
    2.28  <input type="hidden" name="serial" value="$serial">
     3.1 --- a/s4.cgi	Sat Apr 23 22:57:54 2016 +0859
     3.2 +++ b/s4.cgi	Sat Apr 23 23:10:23 2016 +0859
     3.3 @@ -55,7 +55,7 @@
     3.4    "blog")	# $2=grpID
     3.5      contenttype; echo
     3.6      . ./s4-blog.sh
     3.7 -    BLOG_SHOW=blog_showentry2 blog_addentry $2
     3.8 +    blog_addentry $2
     3.9      ;;
    3.10    "replyblog")
    3.11      contenttype; echo
    3.12 @@ -63,7 +63,7 @@
    3.13      ## err ROWid=$rowid, '$2'=$2
    3.14      . ./s4-blog.sh
    3.15  err blog_reply2 $rowid
    3.16 -    BLOG_SHOW=blog_showentry2 blog_reply $rowid
    3.17 +    blog_reply $rowid
    3.18      ;;
    3.19    lshandout|gethandout)
    3.20      if [ x"$stage" = x"lshandout" ]; then