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

Revision 19719, 3.6 KB checked in by nanasess, 13 years ago (diff)
  • #382(管理画面XHTMLに変更)
    • r19715 の続き
    • 拡大/縮小ボタンを修正
    • 「全てを選択/解除」をチェックボックスに修正
  • #626(表記の統一性の向上)
    • デザイン管理のタイトルを統一
  • 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<div id="design" class="contents-main">
29
30  <!--▼CSS設定ここから-->
31  <table class="form">
32    <tr>
33      <th>CSSファイル名</th>
34      <td>
35        <!--{ if $arrErr.css_name != "" }--><span class="attention"><!--{$arrErr.css_name}--></span><br /><!--{/if}-->
36        <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>
37      </td>
38    </tr>
39    <tr>
40      <th>CSS内容</th>
41      <td>
42        <textarea name="css" cols=90 rows=<!--{$area_row}--> align="left" wrap=off style="width: 650px;"><!--{$css_data}--></textarea>
43        <input type="hidden" name="area_row" value="<!--{$area_row}-->" />
44        <div class="btn">
45          <button type="button" onClick="ChangeSize(this, css, 50, 30, area_row)">拡大</button>
46        </div>
47      </td>
48    </tr>
49  </table>
50  <div class="btn">
51    <button type="submit" onclick="fnFormModeSubmit('form_css','confirm','','');"><span>この内容で登録する</span></button>
52  </div>
53  <!--▲CSS設定 ここまで-->
54
55  <!--▼CSSファイル一覧 ここから-->
56  <h2>編集可能CSSファイル</h2>
57  <div class="btn addnew">
58    <button type="button" onclick="location.href='http://<!--{$smarty.server.HTTP_HOST}--><!--{$smarty.server.PHP_SELF|escape}-->'"><span>CSSを新規入力</span></button>
59  </div>
60  <table class="list center" id="design-css-list">
61    <tr>
62      <th class="name">ファイル名</th>
63      <th class="menu">編集</th>
64      <th class="action">削除</th>
65    </tr>
66    <!--{if count($arrCSSList) > 0}-->
67    <!--{foreach key=key item=item from=$arrCSSList}-->
68    <tr>
69            <td><!--{$item.file_name}--></td>
70      <td style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
71        <a href="<!--{$smarty.server.PHP_SELF}-->?css_name=<!--{$item.css_name}-->">編集</a>
72      </td>
73      <td style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
74        <a href="javascript:;" onclick="fnFormModeSubmit('form_css','delete','css_name','<!--{$item.css_name}-->');">削除</a>
75      </td>
76    </tr>
77    <!--{/foreach}-->
78    <!--{else}-->
79    <tr>
80      <td colspan="2">CSSファイルが存在しません。</td>
81    </tr>
82    <!--{/if}-->
83  </table>
84  <!--▲CSSファイル一覧 ここまで-->
85
86</div>
87</form>
Note: See TracBrowser for help on using the repository browser.