Source

trac-userscriptservernotes-plugin / src / usernotes / templates / notes_info_index.html

Full commit
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:py="http://genshi.edgewall.org/"
	xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="layout.html" />
<xi:include href="macros.html" />
<head>
<title>${title}</title>
</head>
<body>
	<div id="ctxtnav" class="nav"></div>
	<xi:include href="usernotes_domains_nav.html" />

	<div id="content">
		<h2>${title}</h2>

		<py:if test="message">
			<div class="error">${message}</div>
		</py:if>

		<h3>INFO</h3>
		<table>
			<tr>
				<td>
					<form>
						<input type="hidden" name="op" value="search" />
						<label for="user">USER:</label>
						<input type="text" name="user" value="" />
						<input type="submit" value="SEARCH" />
					</form>
				</td>
				<td class="listbox">
					<div class="button">
						<a href="?op=userlist">user list</a>
					</div>
				</td>
				<td class="listbox">
					<div class="button">
						<a href="?op=showall">show all</a>
					</div>
				</td>
				<td>&nbsp;</td>
			</tr>
		</table>
		<div style="background-color: #DDD; padding: 1em">
			<b>Neuer Eintrag:</b>
			<form>
				<input type="hidden" name="op" value="insert" />
				<div>
					<label for="from">FROM:</label> <input type="text" name="from"
						value="${username}" /> <label for="info">INFO:</label> <input
						type="text" name="info" value="" />
				</div>
				<div>
					<label for="user">USER:</label> <input type="text" name="user"
						value="" /> <label for="date">DATE:</label> <input type="text"
						name="date" value="${format_datetime(None,'%Y-%m-%d %H:%M')}" />
				</div>
				<div>
					<label for="call">TEXT:</label> <input type="text" name="text"
						value="" size="55" />
				</div>
				<input type="submit" value="SAVE NOTE" />
			</form>
		</div>
	</div>
</body>
</html>