comparison examples/trac/templates/settings.html @ 41:686059a8a32b trunk

Sync Trac port with vendor branch r44 and add missing template files.
author cmlenz
date Mon, 03 Jul 2006 21:01:42 +0000
parents
children 448792ab1303
comparison
equal deleted inserted replaced
40:f8a5a6ee2097 41:686059a8a32b
1 <!DOCTYPE html
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:py="http://purl.org/kid/ns#"
6 xmlns:xi="http://www.w3.org/2001/XInclude">
7 <xi:include href="layout.html"><xi:fallback/></xi:include>
8 <head>
9 <title>Settings</title>
10 </head>
11
12 <body>
13 <div id="ctxtnav" class="nav"></div>
14
15 <div id="content" class="settings">
16
17 <h1>Settings and Session Management</h1>
18
19 <h2>User Settings</h2>
20 <p>
21 This page lets you customize and personalize your Trac settings. Session
22 settings are stored on the server and identified using a 'Session Key'
23 stored in a browser cookie. The cookie lets Trac restore your settings.
24 </p>
25 <form method="post" action="">
26 <div>
27 <h3>Personal Information</h3>
28 <div>
29 <input type="hidden" name="action" value="save" />
30 <label for="name">Name:</label>
31 <input type="text" id="name" name="name" class="textwidget" size="30"
32 value="${settings.session.name}" />
33 </div>
34 <div>
35 <label for="email">Email:</label>
36 <input type="text" id="email" name="email" class="textwidget" size="30"
37 value="${settings.session.email}" />
38 </div>
39 <div py:if="settings.session_id" py:strip="">
40 <h3>Session</h3>
41 <div>
42 <label for="newsid">Session Key:</label>
43 <input type="text" id="newsid" name="newsid" class="textwidget" size="30"
44 value="${settings.session_id}" />
45 <p>The session key is used to identify stored custom settings and session
46 data on the server. Automatically generated by default, you may change it
47 to something easier to remember at any time if you wish to use your settings
48 in a different web browser.</p>
49 </div>
50 </div>
51 <div>
52 <br />
53 <input type="submit" value="Submit changes" />
54 </div >
55 </div>
56 </form>
57 <div py:if="settings.session_id" py:strip="">
58 <hr />
59 <h2>Load Session</h2>
60 <p>You may load a previously created session by entering the corresponding
61 session key below and clicking 'Recover'. This lets you share settings between
62 multiple computers and/or web browsers.</p>
63 <form method="post" action="">
64 <div>
65 <input type="hidden" name="action" value="load" />
66 <label for="loadsid">Existing Session Key:</label>
67 <input type="text" id="loadsid" name="loadsid" class="textwidget" size="30"
68 value="" />
69 <input type="submit" value="Recover" />
70 </div>
71 </form>
72 </div>
73
74 </div>
75 </body>
76 </html>
Copyright (C) 2012-2017 Edgewall Software