However, it is pretty easy just embed a div in any given page with a
little login form. Something like:
<div py:if="tg.identity.anonymous">
<form action="/"method="POST"> <!-- --action should be wherever you
want the user to end up-->
<table>
<tr>
<td class="label">
<label for="user_name">User Name:</label>
</td>
<td class="field">
<input type="text" id="user_name"
name="user_name"/>
</td>
</tr>
<tr>
<td class="label">
<label for="password">Password:</label>
</td>
<td class="field">
<input type="password" id="password"
name="password"/>
</td>
</tr>
<tr>
<td colspan="2" class="buttons">
<input type="submit" name="login"
value="Login"/>
</td>
</tr>
</table>
</form>
</div>
You should be able to throw that wherever you want and have it work.
Untested, of course. :-)
Floating windows and other magic stuff could be implemented in similar
ways. Just keep the three form names the same (user_name, password,
login), and you should be good to go.