/[suikacvs]/webroot/www/js/jste/test.html
Suika

Contents of /webroot/www/js/jste/test.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.25 - (show annotations) (download) (as text)
Mon Jan 26 12:43:47 2009 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.24: +2 -0 lines
File MIME type: text/html
typo

1 <!DOCTYPE HTML>
2 <html lang=en class=account-user-info>
3 <meta charset=utf-8>
4 <title>新しい利用者アカウントの作成</title>
5 <link rel=stylesheet href="/admin/style/common">
6 <body>
7 <h1>新しい利用者アカウントの作成</h1>
8
9 <p id=groups-can-join>
10
11 <form action=new-user accept-charset=utf-8 method=post>
12
13 <p><strong>利用者識別子</strong>: <input type=text name=user-id
14 maxlength=20 size=10 required pattern="[0-9a-z-]{4,20}"> (文字「a」〜「z」、「0」〜「9」、「-」を使って 4〜10 文字の文字列を指定してください。)<p><strong>合言葉</strong>: <input type=password name=user-pass
15 size=10 required pattern=".{4,}"> (最低4文字入力してください。)<p><strong>合言葉</strong> (もう一度): <input type=password
16 name=user-pass2 size=10 required pattern=".{4,}">
17
18 <p><input type=submit value="作成" class=create></p></form>
19
20 <section>
21 <html lang=en class=account-user-info>
22 <title>さん</title>
23
24 <h1>さん</h1><section id=groups><h2>グループ</h2><section id="groups-joined"><h3>参加中のグループ</h3><ul><li><form action="group.admin-groups" accept-charset=utf-8 method=post><a href="../../groups/admin-groups/">admin-groups</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.admin-users" accept-charset=utf-8 method=post><a href="../../groups/admin-users/">admin-users</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.helo" accept-charset=utf-8 method=post><a href="../../groups/helo/">helo</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.helo-admin" accept-charset=utf-8 method=post><a href="../../groups/helo-admin/">helo-admin</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.schema-db" accept-charset=utf-8 method=post><a href="../../groups/schema-db/">schema-db</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.spec-ja" accept-charset=utf-8 method=post><a href="../../groups/spec-ja/">spec-ja</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.spec-ja-admin" accept-charset=utf-8 method=post><a href="../../groups/spec-ja-admin/">spec-ja-admin</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.suikawiki" accept-charset=utf-8 method=post><a href="../../groups/suikawiki/">suikawiki</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form><li><form action="group.test-results" accept-charset=utf-8 method=post><a href="../../groups/test-results/">test-results</a> <input type=hidden name=action value=leave><input type=submit value="このグループから抜ける"></form></ul></section><section id="groups-requested"><h3>参加申請中 (未許可) のグループ</h3><ul><li><form action="" accept-charset=utf-8 method=post><a href="../../groups//"></a> <input type=hidden name=action value=leave><input type=submit value="申請取消"></form></ul></section></section><section id=props><h2>特性</h2><p><em>これらの特性は管理者のみが見ることができますが、秘密の情報は記述しないことをお勧めします。</em></p>
25
26 <form action="prop" accept-charset=utf-8 method=post><input type=hidden name=name value="full_name"><p><label><strong>名前</strong>: <input type="text" name="value" value=""></label> <input type=submit value="保存">
27
28 </p></form>
29
30
31
32 <form action="prop" accept-charset=utf-8 method=post><input type=hidden name=name value="mail_addr"><p><label><strong>メイル・アドレス</strong>: <input type="email" name="value" value=""></label> <input type=submit value="保存">
33 </p></form>
34
35 <form action="prop" accept-charset=utf-8 method=post><input type=hidden name=name value="home_url"><p><label><strong>Web サイト URL</strong>: <input type="url" name="value" value=""></label> <input type=submit value="保存">
36 </p>
37
38 </form></section><section id=password><h2>合言葉</h2>
39
40 <form action=password method=post accept-charset=utf-8>
41
42 <p>合言葉を変更できます。<p><strong>新しい合言葉</strong>: <input type=password name=user-pass
43 size=10 required pattern=".{4,}"> (最低4文字入力してください。) <p><strong>新しい合言葉</strong> (もう一度): <input type=password
44 name=user-pass2 size=10 required pattern=".{4,}">
45
46 <p><input type=submit value="変更"></p>
47
48 </form>
49 </section>
50
51 <section id=disable-account><h2>アカウントの無効化</h2>
52
53
54 <p><label><input type=checkbox name=action value=enable checked> このアカウントを有効にする</label>
55
56 <p><strong>警告!</strong> 自分のアカウントを無効にすると、自分で再度有効にすることはできません。<p><input type=submit value="変更"></form></section></section>
57
58 <style>
59
60 section, article, menu {
61 display: block;
62 margin: 0;
63 padding: 0;
64 }
65
66 .sbs-container {
67 display: block;
68 position: absolute;
69 }
70
71 .sbs-container.sbs-without-refelement {
72 position: fixed;
73 bottom: 1em;
74 right: 1em;
75 }
76
77 .sbs-selected {
78 outline: 2px blue dotted !important;
79 }
80
81 .mm-container {
82 display: block;
83 padding-bottom: 2em;
84 background-color: white;
85 width: 20em;
86 min-height: 5em;
87 }
88
89 .mm-container menu {
90 position: absolute;
91 bottom: 0;
92 left: 0;
93 right: 0;
94 text-align: center;
95 }
96 </style>
97
98 </p>
99
100 <script type="text/javascript" src="uupaa-detect.mini.js"></script>
101 <script type="text/javascript" src="uupaa-selector.js"></script>
102
103 <script src="../../css/noderect/NodeRect.js"></script>
104 <script src=tutorial.js></script>
105 <script src=SimpleBalloon.js></script>
106
107 <script>
108 var MyMessage = new JSTE.Subclass (function () {
109 return this._super.apply (this, arguments);
110 }, JSTE.Message, {
111 _render: function (msgContainer) {
112 var doc = this._targetDocument;
113
114 var container = doc.createElement ('article');
115 container.className = 'mm-container';
116
117 container.appendChild (msgContainer);
118
119 var buttonContainer = this.createCommandButtons ();
120 container.appendChild (buttonContainer);
121
122 var refElement = JSTE.Node.querySelector (document, this.select);
123 this._simpleBalloon = new SimpleBalloon (container, refElement);
124
125 return this._simpleBalloon.element;
126 }, // _render
127 _remove: function () {
128 this._simpleBalloon.remove ();
129 } // _remove
130 });
131
132 JSTE.Tutorial.createFromURL ('test.xml', document, {messageClass: MyMessage},
133 function (t) { document.a = t });
134 </script>
135
136 <!--
137 /* ***** BEGIN LICENSE BLOCK *****
138 * Copyright 2008-2009 Wakaba <w@suika.fam.cx>. All rights reserved.
139 *
140 * This program is free software; you can redistribute it and/or
141 * modify it under the same terms as Perl itself.
142 *
143 * Alternatively, the contents of this file may be used
144 * under the following terms (the "MPL/GPL/LGPL"),
145 * in which case the provisions of the MPL/GPL/LGPL are applicable instead
146 * of those above. If you wish to allow use of your version of this file only
147 * under the terms of the MPL/GPL/LGPL, and not to allow others to
148 * use your version of this file under the terms of the Perl, indicate your
149 * decision by deleting the provisions above and replace them with the notice
150 * and other provisions required by the MPL/GPL/LGPL. If you do not delete
151 * the provisions above, a recipient may use your version of this file under
152 * the terms of any one of the Perl or the MPL/GPL/LGPL.
153 *
154 * "MPL/GPL/LGPL":
155 *
156 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
157 *
158 * The contents of this file are subject to the Mozilla Public License Version
159 * 1.1 (the "License"); you may not use this file except in compliance with
160 * the License. You may obtain a copy of the License at
161 * <http://www.mozilla.org/MPL/>
162 *
163 * Software distributed under the License is distributed on an "AS IS" basis,
164 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
165 * for the specific language governing rights and limitations under the
166 * License.
167 *
168 * The Original Code is JSTE code.
169 *
170 * The Initial Developer of the Original Code is Wakaba.
171 * Portions created by the Initial Developer are Copyright (C) 2008
172 * the Initial Developer. All Rights Reserved.
173 *
174 * Contributor(s):
175 * Wakaba <w@suika.fam.cx>
176 *
177 * Alternatively, the contents of this file may be used under the terms of
178 * either the GNU General Public License Version 2 or later (the "GPL"), or
179 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
180 * in which case the provisions of the GPL or the LGPL are applicable instead
181 * of those above. If you wish to allow use of your version of this file only
182 * under the terms of either the GPL or the LGPL, and not to allow others to
183 * use your version of this file under the terms of the MPL, indicate your
184 * decision by deleting the provisions above and replace them with the notice
185 * and other provisions required by the LGPL or the GPL. If you do not delete
186 * the provisions above, a recipient may use your version of this file under
187 * the terms of any one of the MPL, the GPL or the LGPL.
188 *
189 * ***** END LICENSE BLOCK ***** */
190 -->

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24