/[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.27 - (hide annotations) (download) (as text)
Sun Feb 1 06:40:10 2009 UTC (16 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.26: +1 -1 lines
File MIME type: text/html
Implemented the save-state feature

1 wakaba 1.1 <!DOCTYPE HTML>
2 wakaba 1.24 <html lang=en class=account-user-info>
3 wakaba 1.1 <meta charset=utf-8>
4     <title>新しい利用者アカウントの作成</title>
5     <link rel=stylesheet href="/admin/style/common">
6 wakaba 1.12 <body>
7 wakaba 1.1 <h1>新しい利用者アカウントの作成</h1>
8    
9 wakaba 1.27 <p id=groups-can-join>
10 wakaba 1.25
11 wakaba 1.1 <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 wakaba 1.12 <p><input type=submit value="作成" class=create></p></form>
19 wakaba 1.1
20     <section>
21     <html lang=en class=account-user-info>
22     <title>さん</title>
23 wakaba 1.12
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 wakaba 1.13
31    
32 wakaba 1.12 <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 wakaba 1.1
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 wakaba 1.12 <p><input type=submit value="変更"></p>
47 wakaba 1.1
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 wakaba 1.4 section, article, menu {
61     display: block;
62 wakaba 1.5 margin: 0;
63     padding: 0;
64 wakaba 1.4 }
65    
66     .sbs-container {
67 wakaba 1.1 display: block;
68     position: absolute;
69     }
70 wakaba 1.4
71     .sbs-container.sbs-without-refelement {
72     position: fixed;
73     bottom: 1em;
74     right: 1em;
75     }
76    
77 wakaba 1.10 .sbs-selected {
78     outline: 2px blue dotted !important;
79     }
80    
81 wakaba 1.11 .mm-container {
82 wakaba 1.1 display: block;
83 wakaba 1.5 padding-bottom: 2em;
84 wakaba 1.4 background-color: white;
85 wakaba 1.5 width: 20em;
86     min-height: 5em;
87     }
88    
89 wakaba 1.11 .mm-container menu {
90 wakaba 1.5 position: absolute;
91     bottom: 0;
92     left: 0;
93     right: 0;
94     text-align: center;
95 wakaba 1.4 }
96 wakaba 1.1 </style>
97    
98 wakaba 1.12 </p>
99    
100 wakaba 1.1 <script type="text/javascript" src="uupaa-detect.mini.js"></script>
101     <script type="text/javascript" src="uupaa-selector.js"></script>
102    
103 wakaba 1.4 <script src="../../css/noderect/NodeRect.js"></script>
104 wakaba 1.1 <script src=tutorial.js></script>
105 wakaba 1.18 <script src=SimpleBalloon.js></script>
106    
107 wakaba 1.1 <script>
108     var MyMessage = new JSTE.Subclass (function () {
109     return this._super.apply (this, arguments);
110     }, JSTE.Message, {
111 wakaba 1.21 _render: function (msgContainer) {
112 wakaba 1.1 var doc = this._targetDocument;
113    
114 wakaba 1.21 var container = doc.createElement ('article');
115 wakaba 1.11 container.className = 'mm-container';
116 wakaba 1.1
117     container.appendChild (msgContainer);
118 wakaba 1.21
119     var buttonContainer = this.createCommandButtons ();
120 wakaba 1.1 container.appendChild (buttonContainer);
121    
122     var refElement = JSTE.Node.querySelector (document, this.select);
123 wakaba 1.20 this._simpleBalloon = new SimpleBalloon (container, refElement);
124 wakaba 1.1
125     return this._simpleBalloon.element;
126     }, // _render
127     _remove: function () {
128     this._simpleBalloon.remove ();
129     } // _remove
130     });
131    
132 wakaba 1.23 JSTE.Tutorial.createFromURL ('test.xml', document, {messageClass: MyMessage},
133     function (t) { document.a = t });
134 wakaba 1.1 </script>
135    
136 wakaba 1.3 <!--
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