OSDN Git Service

ログインはできた 次は体裁を整える 現在取り組んでいる
[newstable/newstable.git] / WebModuleUnit1.dfm
1 object WebModule1: TWebModule1
2   OldCreateOrder = False
3   Actions = <
4     item
5       Default = True
6       MethodType = mtGet
7       Name = 'top'
8       PathInfo = '/top'
9       OnAction = WebModule1DefaultHandlerAction
10     end
11     item
12       MethodType = mtGet
13       Name = 'help'
14       PathInfo = '/help'
15     end
16     item
17       MethodType = mtGet
18       Name = 'detail'
19       PathInfo = '/backnumber'
20       OnAction = WebModule1detailAction
21     end
22     item
23       Name = 'selection'
24       PathInfo = '/reader/select'
25       OnAction = WebModule1selectionAction
26     end
27     item
28       Name = 'readerData'
29       PathInfo = '/reader/data'
30       OnAction = WebModule1readerDataAction
31     end
32     item
33       Name = 'readerTop'
34       PathInfo = '/reader/top'
35       OnAction = WebModule1readerTopAction
36     end
37     item
38       Name = 'writerData'
39       PathInfo = '/writer/data'
40       OnAction = WebModule1writerDataAction
41     end
42     item
43       Name = 'writerTop'
44       PathInfo = '/writer/top'
45       OnAction = WebModule1writerTopAction
46     end
47     item
48       MethodType = mtPost
49       Name = 'writeMag'
50       PathInfo = '/writer/regist'
51       OnAction = WebModule1writeMagAction
52     end
53     item
54       Name = 'writerpage'
55       PathInfo = '/writer/page'
56       OnAction = WebModule1writerpageAction
57     end
58     item
59       MethodType = mtPost
60       Name = 'login'
61       PathInfo = '/reader/login'
62       OnAction = WebModule1loginAction
63     end
64     item
65       Name = 'login2'
66       PathInfo = '/writer/login'
67       OnAction = WebModule1login2Action
68     end
69     item
70       MethodType = mtPost
71       Name = 'logout'
72       PathInfo = '/logout'
73       OnAction = WebModule1logoutAction
74     end
75     item
76       MethodType = mtGet
77       Name = 'mainView'
78       PathInfo = '/reader/top'
79       OnAction = WebModule1mainViewAction
80     end
81     item
82       MethodType = mtGet
83       Name = 'image'
84       PathInfo = '/img'
85       OnAction = WebModule1imageAction
86     end
87     item
88       Enabled = False
89       Name = 'sumbnail'
90       PathInfo = '/sum'
91     end>
92   Height = 225
93   Width = 415
94   object readerTop: TPageProducer
95     HTMLDoc.Strings = (
96       '<!DOCTYPE html>'
97       '<html lang="en">'
98       '<head>'
99       '    <meta charset="UTF-8">'
100       
101         '    <meta name="viewport" content="width=device-width, initial-s' +
102         'cale=1.0">'
103       '    <title>Document</title>'
104       '</head>'
105       '<body>'
106       '        <p>'#12354#12394#12383#12398#26412#26842#12391#12377
107       '    {{#mag}}'
108       '        <table border=1>'
109       '        <th>{{magName}} writed by {{writer}}<ht>'
110       '        <tr><td>{{comment}}</td></tr>'
111       '        <tr><td>{{day}}</td></tr>'
112       '        <tr><td>{{lastDay}}</td></tr>'
113       '        {{^enable}}<tr><td>'#20241#21002#20013'</td></tr>{{/enable}}'
114       '        </table>'
115       '    {{/mag}}'
116       '    <p><a href=/top>'#12488#12483#12503'</a>'#12506#12540#12472#12408#25147#12387#12390#36861#21152#12375#12414#12375#12423#12358
117       '    <hr>'
118       '    <p>'#22522#26412#24773#22577
119       '    {{#reader}}'
120       '        <form method=post action=/reader/data>'
121       '        <input type=hidden name="_method" value=put>'
122       '        <p>name : {{name}}'
123       '        <p>mail : {{mail}} <input type=text name=mail>'
124       
125         '        <p>password : *** <input type=text name=password>=><inpu' +
126         't type=password name=new>'
127       '        <input type=submit value="'#22793#26356'">'
128       '        </form>'
129       '    {{/reader}}'
130       '</body>'
131       '</html>')
132     Left = 48
133     Top = 24
134   end
135   object top: TPageProducer
136     HTMLDoc.Strings = (
137       '<!DOCTYPE html>'
138       '<html lang="en">'
139       '<head>'
140       '    <title>Document'
141       '</title>'
142       '    <meta charset="UTF-8">'
143       
144         '    <meta name="viewport" content="width=device-width, initial-s' +
145         'cale=1.0">'
146       '</head>'
147       '<body>'
148       '    {{#id}}'
149       '        <p>'#12525#12464#12450#12454#12488
150       '        <form method=post action=/logout>'
151       '        <input type=submit>'
152       '        </form>'
153       
154         '        <a href=/reader/top>'#12518#12540#12470#12540#12507#12540#12512'</a>'#12288#12289'<a href=/reader/data>'#12518#12540 +
155         #12470#12540#24773#22577'</a>'
156       '    {{/id}}'
157       '    {{^id}}'
158       '        <p>'#12525#12464#12452#12531
159       '        <form method=post action=/reader/login>'
160       
161         '        <p>mail : <input type=text name=mail>password : <input t' +
162         'ype=password name=password>'
163       '        <input type=submit>'
164       '        </form>'
165       '    {{/id}}'
166       '    {{#items}}'
167       '        {{#enable}}'
168       '                <table border=1>'
169       '                <th><a href=/backnumber?id={{magNum}}>'
170       '                        {{magName}}</a> writed by {{writer}}'
171       '                        {{^fun}}{{#id}}'
172       
173         '                        <form method=post action=/reader/select?' +
174         'name={{magNum}}>'
175       '                        <input type=submit value="'#30331#37682'"></form>'
176       '                        {{/id}}{{/fun}}'
177       '                </th>'
178       '                <tr><td>{{comment}}</td></tr>'
179       '                <tr><td>{{day}}</td></tr>'
180       '                <tr><td>{{lastDay}}</td></tr>'
181       '                <tr><td>{{count}}</td></tr>'
182       '                </table>'
183       '        {{/enable}}'
184       '    {{/items}}'
185       '    <hr id=message>'
186       '    {{#comment}}'
187       '        <p>'#12513#12483#12475#12540#12472
188       '        {{.}}'
189       '    {{/comment}}'
190       '    <p>'#26032#35215#30331#37682
191       '    <form method="post" action="/reader/data">'
192       '        <input type="text" name="reader">'
193       '        <input type="text" name="mail">'
194       '        <input type="password" name="password">'
195       '        <input type="submit" name="regReader" value="send">'
196       '    </form>'
197       '    <p>'#35352#32773#12398#26041#12399'<a href=/writer/page>'#12371#12385#12425'</a>'#12363#12425#12525#12464#12452#12531
198       '</body>'
199       '</html>')
200     Left = 112
201     Top = 24
202   end
203   object writerTop: TPageProducer
204     HTMLDoc.Strings = (
205       '<!DOCTYPE html>'
206       '<html lang="ja">'
207       '<head>'
208       '    <meta charset="UTF-8">'
209       
210         '    <meta name="viewport" content="width=device-width, initial-s' +
211         'cale=1.0">'
212       '    <title>Document</title>'
213       '</head>'
214       '<body>'
215       '        <p>'#26032#35215#30331#37682
216       '        <form method=post action=/writer/regist>'
217       '                <input type=text name=name>'
218       '                <input type=text name=comment>'
219       '                <input type=text name=day>'
220       '                <input type=submit>'
221       '        </form>'
222       '        <p>'#30331#37682#20013#12398#12510#12460#12472#12531#12391#12377
223       '        {{#mag}}'
224       '                <hr>'
225       '                <p>'#12479#12452#12488#12523'{{name}}'
226       '                <p>{{comment}}'
227       '                <p>'#30331#37682#26085'{{day}}'
228       '                <p>'#26368#32066#26356#26032#26085'{{last}}'
229       '                <p>'#35501#32773#25968'{{count}}'
230       '        {{/mag}}'
231       '        {{^mag}}'
232       '                <p>0'#20874#12398#30330#34892#12391#12377
233       '        {{/mag}}'
234       '</body>'
235       '</html')
236     Left = 168
237     Top = 24
238   end
239   object writerData: TPageProducer
240     HTMLDoc.Strings = (
241       '<!DOCTYPE html>'
242       '<html lang="en">'
243       '<head>'
244       '    <meta charset="UTF-8">'
245       
246         '    <meta name="viewport" content="width=device-width, initial-s' +
247         'cale=1.0">'
248       '    <title>Document</title>'
249       '</head>'
250       '<body>'
251       '        <form method=post action=/writer/data>'
252       '        <input type=hidden name="_method" value=put>'
253       '        <p>name : {{name}}<input type=text name=writer>'
254       '        <p>mail : {{mail}}<input type=text name=mail>'
255       '        <p>password : ***<input type=password name=password>'
256       '        <input type=submit>'
257       '        </form>'
258       '        <a href=/writer/top>'#12521#12452#12479#12540'TOP</a>'#12408#31227#21205#12377#12427
259       '        <form method=post action=/writer/data>'
260       '        <input type=hidden name="_method" value=delete>'
261       '        <input type=submit value="'#36864#20250'">'
262       '        </form>'
263       '</body>'
264       '</html>')
265     Left = 168
266     Top = 80
267   end
268   object backnumber: TPageProducer
269     HTMLDoc.Strings = (
270       '<!DOCTYPE html>'
271       '<html lang="en">'
272       '<head>'
273       '    <meta charset="UTF-8">'
274       
275         '    <meta name="viewport" content="width=device-width, initial-s' +
276         'cale=1.0">'
277       '    <title>Document</title>'
278       '</head>'
279       '<body>'
280       '        <p>{{name}}'
281       '        <p>{{comment}}'
282       '        {{#data}}'
283       '                <hr>'
284       '                {{text}}'
285       '        {{/data}}'
286       '        <form method=post action=/reader/select>'
287       '        <input type=submit value="'#30331#37682'">'
288       '        </form>'
289       '</body>'
290       '</html>')
291     Left = 112
292     Top = 80
293   end
294   object mainView: TPageProducer
295     HTMLDoc.Strings = (
296       '<!DOCTYPE html>'
297       '<html lang="ja">'
298       '<head>'
299       '    <meta charset="UTF-8">'
300       
301         '    <meta name="viewport" content="width=device-width, initial-s' +
302         'cale=1.0">'
303       '    <title>Document</title>'
304       '</head>'
305       '<body>'
306       '        <p>'#12491#12517#12540#12473#12398#25968#12293#12434#12362#27005#12375#12415#12367#12384#12373#12356
307       '        {{#mag}}'
308       '        <hr>'
309       '                <p>[{{magName}}] ({{day}})'
310       '                <p>by {{writer}}'
311       '                {{text}}'
312       '                {{#changed}}'
313       '                        <p>{{hint}}'
314       '                {{/changed}}'
315       '        {{/mag}}'
316       '</body>'
317       '</html>')
318     Left = 240
319     Top = 24
320   end
321   object writerpage: TPageProducer
322     HTMLDoc.Strings = (
323       '<!DOCTYPE html>'
324       '<html lang="en">'
325       '<head>'
326       '    <title>Document'
327       '</title>'
328       '    <meta charset="UTF-8">'
329       
330         '    <meta name="viewport" content="width=device-width, initial-s' +
331         'cale=1.0">'
332       '</head>'
333       '<body>'
334       '    {{^login}}'
335       '    <p>'#12525#12464#12452#12531
336       '    <form method=post action=/writer/login>'
337       '        <input type=text name=mail>'
338       '        <input type=password name=password>'
339       '        <input type=submit value=login>'
340       '    </form>'
341       '    <p>'#26032#35215#35352#32773#30331#37682
342       '    <form method=post action=/writer/data>'
343       '        <input type=text name=writer>'
344       '        <input type=text name=mail>'
345       '        <input type=password name=password>'
346       '        <input type=submit name=regWriter value=send>'
347       '    </form>'
348       '    {{/login}}'
349       '    {{#login}}'
350       '        <form method=post action=/writer/logout>'
351       '        <input type=submit value=logout>'
352       '        </form>'
353       '    <p><a href=/writer/top>'#12507#12540#12512'</a>'#12288#12289#12288'<a href=/writer/data>'#24773#22577'</a>'
354       '    {{/login}}'
355       '    <p>'#39015#23458#12391#12354#12427#12521#12452#12479#12540#12408#12398#35500#26126#12394#12393#26360#12365#12383#12356
356       '</body>'
357       '</html>')
358     Left = 168
359     Top = 136
360   end
361 end