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