ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6735


Ignore:
Timestamp:
Apr 26, 2008, 4:07:29 PM (12 years ago)
Author:
ogawa
Message:

#2202:bizTodoListのテンプレート、CSS変更

Location:
OpenPNE/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/xhtml_style.php

    r6733 r6735  
    19961996}
    19971997
     1998
     1999/*==============================================================================
     2000 * bizTodoList
     2001 *----------------------------------------------------------------------------*/
     2002#Body .bizTodoList {
     2003        width: 220px;
     2004        margin: 10px 5px;
     2005        border: 1px solid #<?php echo $colors[1]; ?>;
     2006}
     2007#Body .bizTodoList td {
     2008        border-width: 1px 0 0;
     2009}
     2010.bizTodoList .block {
     2011        padding: 5px;
     2012}
     2013.bizTodoList textarea {
     2014        width: 99%;
     2015}
     2016.bizTodoList tr.someone {
     2017        background: #<?php echo $colors[7]; ?>;
     2018}
     2019.bizTodoList tr.checked {
     2020        color: #999999;
     2021}
     2022.bizTodoList td.state {
     2023        width: 35px;
     2024}
     2025.bizTodoList td.operation {
     2026        width: 16px;
     2027}
     2028
    19982029/*==============================================================================
    19992030 *
  • OpenPNE/trunk/webapp_biz/modules/biz/templates/inc_biz_todo.tpl

    r6368 r6735  
    1 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m" />
    2 ({* unknown *})
    3 ({* unknown *})<!-- ********************************** -->
    4 ({* unknown *})<!-- ******ここから:Todo一覧****** -->
    5 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:240px;">
    6 ({* unknown *})<tr>
    7 ({* unknown *})<td style="width:10px;"><img src="./skin/dummy.gif" alt="dummy" style="width:10px;height:10px;display:block;" /></td>
    8 ({* unknown *})<td style="width:230px;" align="left">
    9 ({* unknown *})
    10 ({* unknown *})({t_form_block m=biz a=do_`$cmd`_home_insert_biz_todo})
    11 ({* unknown *})<input type="hidden" name="target_id" value="({$target_id})" />
    12 ({* unknown *})<input type="hidden" name="nickname" value="({$nickname})" />
    13 ({* unknown *})
    14 ({* unknown *})({*ここから:header*})
    15 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:228px" class="border_07">
    16 ({* unknown *})<tr>
    17 ({* unknown *})<td style="width:25px;" class="bg_06"><img src="({t_img_url_skin filename=icon_title_1})" style="width:25px;height:19px;" class="dummy" /></td>
    18 ({* unknown *})<td style="width:205px;" class="bg_06"><span class="b_b c_00">Todo一覧</span></td>
    19 ({* unknown *})</tr>
    20 ({* unknown *})</table>
    21 ({* unknown *})({*ここまで:header*})
    22 ({* unknown *})({*ここから:body*})
    23 ({* unknown *})<!-- ここから:主内容 -->
    24 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:228px">
    25 ({* unknown *})({****})
    26 ({* unknown *})<tr>
    27 ({* unknown *})<td class="bg_02 border_01 padding_ss" style="width:228px;border-top:none;border-bottom:none;" align="center">
    28 ({* unknown *})
    29 ({* unknown *})<textarea class="text" name="todo" value="" style="width:100%;height:3em;"></textarea>
    30 ({* unknown *})
    31 ({* unknown *})</td>
    32 ({* unknown *})</tr>
    33 ({* unknown *})({****})
    34 ({* unknown *})<tr>
    35 ({* unknown *})<td class="bg_02 border_01 padding_ss" style="border-top:none;" align="right" valign="top">
    36 ({* unknown *})
    37 ({* unknown *})だれかがTodo<input type="checkbox" name="is_all" value="1" class="no_bg" />&nbsp;
    38 ({* unknown *})
    39 ({* unknown *})<input type="submit" class="submit" value="追加" />&nbsp;
    40 ({* unknown *})
    41 ({* unknown *})</td>
    42 ({* unknown *})</tr>
    43 ({* unknown *})({****})
    44 ({* unknown *})</table>
    45 ({* unknown *})({if $is_todo_list})
    46 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:228px">
    47 ({* unknown *})({****})
    48 ({* unknown *})<tr>
    49 ({* unknown *})<td class="bg_02 border_01 padding_ss" style="width:228px;" style="border-top:none;">Todoはありません。</td>
    50 ({* unknown *})</tr>
    51 ({* unknown *})({****})
    52 ({* unknown *})</table>
    53 ({* unknown *})({else})
    54 ({* unknown *})
    55 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:228px;">
    56 ({* unknown *})({foreach key=i item=value from=$todolist})
    57 ({* unknown *})({if $value.memo})
    58 ({* unknown *})<tr>
    59 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:4px;height:33px;border-top:none;border-right:none;">
    60 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" style="width:4px;height:33px;({if $value.priority == 1})background-color:#f00;({elseif $value.priority == 2})background-color:#f88;({/if})" />
    61 ({* unknown *})</td>
    62 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:35px;border-top:none;border-right:none;" valign="top">
    63 ({* unknown *})<a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})">
    64 ({* unknown *})<img src="./skin/default/img/biz/checkbox_nochecked_({if $value.c_member_id == 0})share_({/if})2.gif" style="width:34px;height:34px;display:block;" /></a>
    65 ({* unknown *})
    66 ({* unknown *})</td>
    67 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if}) padding_ss" style="width:179px;border-top:none;border-left:none;border-right:none;padding-left:0;" valign="top">
    68 ({* unknown *})
    69 ({* unknown *})({$value.memo|nl2br|t_url2a})
    70 ({* unknown *})({if ($value.writer_id != $target_id) || ($value.c_member_id == 0)})
    71 ({* unknown *})(<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$value.writer_id})">({$value.writer_name})</a>)
    72 ({* unknown *})({/if})
    73 ({* unknown *})
    74 ({* unknown *})</td>
    75 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:20px;border-top:none;border-left:none;" valign="top">
    76 ({* unknown *})
    77 ({* unknown *})({**ここから:機能ボタン**})
    78 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:16px;height:33px;">
    79 ({* unknown *})<tr>
    80 ({* unknown *})<td style="width:16px;height:16px;" valign="bottom" align="right">
    81 ({* unknown *})
    82 ({* unknown *})<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$value.biz_todo_id})&amp;target_id=({$target_id})"><img src="./skin/default/img/biz/edit_2.gif" style="width:14px;height:14px;display:block;" /></a>
    83 ({* unknown *})
    84 ({* unknown *})</td>
    85 ({* unknown *})</tr>
    86 ({* unknown *})<tr>
    87 ({* unknown *})<td style="height:2px;"><img src="./skin/dummy.gif" alt="dummy" style="width:16px;height:2px;" /></td>
    88 ({* unknown *})</tr>
    89 ({* unknown *})<tr>
    90 ({* unknown *})<td style="height:16px;" valign="top" align="right">
    91 ({* unknown *})
    92 ({* unknown *})<a href="({t_url m=biz a=do_`$cmd`_home_delete_biz_todo})&amp;sessid=({$PHPSESSID})&amp;delid=({$value.biz_todo_id})&amp;target_id=({$target_id})"><img src="./skin/default/img/biz/delete_2.gif" style="width:14px;height:14px;display:block;" /></a>
    93 ({* unknown *})
    94 ({* unknown *})</td>
    95 ({* unknown *})</tr>
    96 ({* unknown *})</table>
    97 ({* unknown *})({**ここまで:機能ボタン**})
    98 ({* unknown *})
    99 ({* unknown *})</td>
    100 ({* unknown *})</tr>
    101 ({* unknown *})({****})
    102 ({* unknown *})({/if})
    103 ({* unknown *})({/foreach})
    104 ({* unknown *})
    105 ({* unknown *})
    106 ({* unknown *})({foreach key=i item=value from=$checkedlist})
    107 ({* unknown *})({if $value.memo})
    108 ({* unknown *})<tr>
    109 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:4px;height:33px;border-top:none;border-right:none;">
    110 ({* unknown *})<img src="./skin/dummy.gif" alt="dummy" style="width:4px;height:33px;" />
    111 ({* unknown *})</td>
    112 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:35px;border-top:none;border-right:none;" valign="top">
    113 ({* unknown *})
    114 ({* unknown *})<a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})">
    115 ({* unknown *})<img src="./skin/default/img/biz/checkbox_checked_({if !$value.member_id == 0})share_({/if})2.gif" style="width:34px;height:34px;display:block;" /></a>
    116 ({* unknown *})
    117 ({* unknown *})</td>
    118 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if}) padding_ss" style="width:181px;border-top:none;border-left:none;border-right:none;padding-left:0;color:#999999;" valign="top">
    119 ({* unknown *})
    120 ({* unknown *})({$value.memo})
    121 ({* unknown *})({if ($value.writer_id != $target_id) || ($value.c_member_id == 0)})
    122 ({* unknown *})(<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$value.writer_id})">({$value.writer_name})</a>)
    123 ({* unknown *})({/if})
    124 ({* unknown *})
    125 ({* unknown *})</td>
    126 ({* unknown *})<td class="border_01({if $value.writer_id != $target_id}) bg_09({else}) bg_02({/if})" style="width:16px;border-top:none;border-left:none;" valign="top">
    127 ({* unknown *})
    128 ({* unknown *})({**ここから:機能ボタン**})
    129 ({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:16px;height:33px;">
    130 ({* unknown *})<tr>
    131 ({* unknown *})<td style="width:16px;height:16px;" valign="bottom" align="right">
    132 ({* unknown *})
    133 ({* unknown *})<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$value.biz_todo_id})"><img src="./skin/default/img/biz/edit_2.gif" style="width:14px;height:14px;display:block;" /></a>
    134 ({* unknown *})
    135 ({* unknown *})</td>
    136 ({* unknown *})</tr>
    137 ({* unknown *})<tr>
    138 ({* unknown *})<td style="height:2px;"><img src="./skin/dummy.gif" alt="dummy" style="width:16px;height:2px;" /></td>
    139 ({* unknown *})</tr>
    140 ({* unknown *})<tr>
    141 ({* unknown *})<td style="height:16px;" valign="top" align="right">
    142 ({* unknown *})
    143 ({* unknown *})<a href="({t_url m=biz a=do_`$cmd`_home_delete_biz_todo})&amp;sessid=({$PHPSESSID})&amp;delid=({$value.biz_todo_id})"><img src="./skin/default/img/biz/delete_2.gif" style="width:14px;height:14px;display:block;" /></a>
    144 ({* unknown *})
    145 ({* unknown *})</td>
    146 ({* unknown *})</tr>
    147 ({* unknown *})</table>
    148 ({* unknown *})({**ここまで:機能ボタン**})
    149 ({* unknown *})
    150 ({* unknown *})</td>
    151 ({* unknown *})</tr>
    152 ({* unknown *})({****})
    153 ({* unknown *})({/if})
    154 ({* unknown *})({/foreach})
    155 ({* unknown *})
    156 ({* unknown *})
    157 ({* unknown *})({/if})
    158 ({* unknown *})</table>
    159 ({* unknown *})({/t_form_block})
    160 ({* unknown *})
    161 ({* unknown *})</td>
    162 ({* unknown *})</tr>
    163 ({* unknown *})</table>
    164 ({* unknown *})
    165 ({* unknown *})<!-- ******ここまで:Todo一覧****** -->
    166 ({* unknown *})<!-- ********************************** -->
     1<div class="parts bizTodoList">
     2<div class="partsHeading"><h3>Todo一覧</h3></div>
     3
     4({t_form_block m=biz a=do_`$cmd`_home_insert_biz_todo})
     5<input type="hidden" name="target_id" value="({$target_id})" />
     6<input type="hidden" name="nickname" value="({$nickname})" />
     7<div class="block">
     8<textarea name="todo" cols="30" rows="2"></textarea>
     9<label for="is_all">だれかがTodo</label><input type="checkbox" class="input_checkbox" name="is_all" id="is_all" value="1" />
     10<input type="submit" class="input_submit" value="追加" />
     11</div>
     12({/t_form_block})
     13
     14({if $is_todo_list})
     15<div class="block">
     16<p>Todoはありません。</p>
     17</div>
     18({else})
     19<table>
     20
     21({foreach key=i item=value from=$todolist})
     22({if $value.memo})
     23<tr({if $value.writer_id != $target_id}) class="someone"({/if})>
     24<td class="state"><a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})"><img src="./skin/default/img/biz/checkbox_nochecked_({if $value.c_member_id == 0})share_({/if})2.gif" alt="" /></a></td>
     25<td class="text">({strip})
     26({$value.memo|nl2br|t_url2a})
     27({if ($value.writer_id != $target_id) || ($value.c_member_id == 0)})
     28(<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$value.writer_id})">({$value.writer_name})</a>)
     29({/if})
     30({/strip})</td>
     31<td class="operation">
     32<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$value.biz_todo_id})&amp;target_id=({$target_id})"><img src="./skin/default/img/biz/edit_2.gif" alt="編集" /></a>
     33<a href="({t_url m=biz a=do_`$cmd`_home_delete_biz_todo})&amp;sessid=({$PHPSESSID})&amp;delid=({$value.biz_todo_id})&amp;target_id=({$target_id})"><img src="./skin/default/img/biz/delete_2.gif" alt="削除" /></a>
     34</td>
     35</tr>
     36({/if})
     37({/foreach})
     38
     39({foreach key=i item=value from=$checkedlist})
     40({if $value.memo})
     41<tr class="checked({if $value.writer_id != $target_id}) someone({/if})">
     42<td class="state">
     43<a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})"><img src="./skin/default/img/biz/checkbox_checked_({if !$value.member_id == 0})share_({/if})2.gif" alt="" /></a>
     44</td>
     45<td class="text">({strip})
     46({$value.memo|nl2br|t_url2a})
     47({if ($value.writer_id != $target_id) || ($value.c_member_id == 0)})
     48(<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$value.writer_id})">({$value.writer_name})</a>)
     49({/if})
     50({/strip})</td>
     51<td class="operation">
     52<a href="({t_url m=biz a=page_fh_home_edit_biz_todo})&amp;id=({$value.biz_todo_id})"><img src="./skin/default/img/biz/edit_2.gif" alt="編集" /></a>
     53<a href="({t_url m=biz a=do_`$cmd`_home_delete_biz_todo})&amp;sessid=({$PHPSESSID})&amp;delid=({$value.biz_todo_id})"><img src="./skin/default/img/biz/delete_2.gif" alt="削除" /></a>
     54</td>
     55</tr>
     56({/if})
     57({/foreach})
     58
     59</table>
     60({/if})
     61
     62</div>
Note: See TracChangeset for help on using the changeset viewer.