mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-03-28 07:49:40 -06:00
26 lines
1.3 KiB
HTML
26 lines
1.3 KiB
HTML
{% extends "basepage.xhtml" %}
|
|
{% block html_title %}Hostile Takeover Game Search{% endblock %}
|
|
|
|
{% block head_css %}
|
|
.sbar { padding:20px 0 20px 0; margin:0; text-align:center;}
|
|
.searchquery { font-size:13px; margin-right:10px; padding: 4px 3px; vertical-align:middle; width:190px;}
|
|
a.gpbutton { display:inline; margin: 0 auto; line-height:33px; font-size:13.5px; font-weight:bold; color:#fff; text-shadow:0px -1px 1px #666; padding:5px 8px; background:#818189; text-decoration: none; -webkit-border-radius:5px; -moz-border-radius:5px; white-space:nowrap; }
|
|
.vmiddle { vertical-align:middle;}
|
|
.message_p {text-align:center;font-size:14px;font-weight:bold;}
|
|
{% endblock %}
|
|
|
|
{% block page_content %}
|
|
<h1 class="pageTitle">SEARCH</h1>
|
|
<div style="height:20px;"></div>
|
|
<p class="message_p">Search for a player's games. Enter player name:</p>
|
|
<form id="myform" class="sbar" action="{{ games_url|escape }}" method="get"> <div> <input id="myinput" class="searchquery" name="u" maxlength="2048" autocorrect="off" autocapitalize="off" type="text" value="" /> <a href="javascript:submit('myform');void(0);" class="gpbutton vmiddle">Search</a> <input type="hidden" name="p" value="{{ player_name|escape }}" /></div>
|
|
</form>
|
|
<br />
|
|
<script>
|
|
function submit(a) {
|
|
document.getElementById(a).submit();
|
|
}
|
|
document.getElementById('myinput').focus();
|
|
</script>
|
|
{% endblock %}
|