source: branches/version-2_5-dev/data/Smarty/templates/admin/design/css.tpl @ 19965

Revision 19965, 3.8 KB checked in by uemoto, 13 years ago (diff)

#382(管理画面XHTMLに変更)

  • 細部調整
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<form name="form_css" method="post" action="?" >
25<input type="hidden" name="mode" value="" />
26<input type="hidden" name="area_row" value="<!--{$area_row}-->" />
27<input type="hidden" name="old_css_name" value="<!--{$old_css_name}-->" />
28<input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
29<div id="design" class="contents-main">
30
31  <!--▼CSS設定ここから-->
32  <table class="form">
33    <tr>
34      <th>CSSファイル名</th>
35      <td>
36        <!--{ if $arrErr.css_name != "" }--><span class="attention"><!--{$arrErr.css_name}--></span><br /><!--{/if}-->
37        <input type="text" name="css_name" value="<!--{$css_name}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.css_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" size="60" class="box60" />.css<span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
38      </td>
39    </tr>
40    <tr>
41      <th>CSS内容</th>
42      <td>
43        <textarea id="css" class="top" name="css" cols=90 rows=<!--{$area_row}--> align="left" wrap=off style="width: 650px;"><!--{$css_data}--></textarea>
44        <input type="hidden" name="area_row" value="<!--{$area_row}-->" />
45        <div class="btn">
46          <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#css', 50, 30); return false;">拡大</a>
47        </div>
48      </td>
49    </tr>
50  </table>
51  <div class="btn-area">
52    <ul>
53      <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form_css','confirm','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
54    </ul>
55  </div>
56  <!--▲CSS設定 ここまで-->
57
58  <!--▼CSSファイル一覧 ここから-->
59  <h2>編集可能CSSファイル</h2>
60  <div class="btn addnew">
61    <a class="btn-normal" href="?"><span>CSSを新規入力</span></a>
62  </div>
63  <table class="list" id="design-css-list">
64    <tr>
65      <th class="name">ファイル名</th>
66      <th class="menu edit">編集</th>
67      <th class="action delete">削除</th>
68    </tr>
69    <!--{if count($arrCSSList) > 0}-->
70    <!--{foreach key=key item=item from=$arrCSSList}-->
71    <tr>
72            <td><!--{$item.file_name}--></td>
73      <td class="center" style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
74        <a href="?css_name=<!--{$item.css_name}-->&amp;device_type_id=<!--{$device_type_id}-->">編集</a>
75      </td>
76      <td class="center" style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
77        <a href="javascript:;" onclick="fnFormModeSubmit('form_css','delete','css_name','<!--{$item.css_name}-->'); return false;">削除</a>
78      </td>
79    </tr>
80    <!--{/foreach}-->
81    <!--{else}-->
82    <tr>
83      <td colspan="3">CSSファイルが存在しません。</td>
84    </tr>
85    <!--{/if}-->
86  </table>
87  <!--▲CSSファイル一覧 ここまで-->
88
89</div>
90</form>
Note: See TracBrowser for help on using the repository browser.