/usr/share/doc/python-werkzeug-doc/examples/cupoftee/templates/search.html is in python-werkzeug-doc 0.10.4+dfsg1-1ubuntu1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <h2>Nick Search</h2>
<% if not user %>
<form action="$url_for('search')" method="get">
<p>
You have to enter a nickname.
</p>
<p>
<input type="text" name="user" value="" size="30">
<input type="submit" value="Search">
</p>
<p>
Take me <a href="$url_for('serverlist')">back to the server list</a>.
</p>
</form>
<% else %>
<% if results %>
<p>
The nickname "$escape(user)" is currently playing on the
following ${len(results) == 1 and 'server' or 'servers'}:
</p>
<ul>
<% for server in results %>
<li><a href="$url_for('server', id=server.id)">$escape(server.name)</a></li>
<% endfor %>
</ul>
<% else %>
<p>
The nickname "$escape(user)" is currently not playing.
</p>
<% endif %>
<p>
You can <a href="$url_for('search', user=self.user)">bookmark this link</a>
to search for "$escape(user)" quickly or <a href="$url_for('serverlist')">return
to the server list</a>.
</p>
<% endif %>
|