Protect crashing from malformed data; working on locale-based issues; fast flush; UI focus
svn: r13647
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<script type="text/javascript" src="/styles/javascript/js/jquery-ui-1.7.2.custom.min.js"></script>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body id= "NarrativeWeb">
|
||||
<body id= "NarrativeWeb" onload="document.getElementById('get_focus').focus();">
|
||||
<div id="header">
|
||||
<h1 id="SiteTitle">{% block heading %}Gramps-Connect{% endblock %}</h1>
|
||||
</div>
|
||||
|
@@ -1,4 +1,5 @@
|
||||
{% extends "gramps-base.html" %}
|
||||
{% load my_tags %}
|
||||
|
||||
{% block title %}Gramps-Connect{% endblock %}
|
||||
{% block heading %}Gramps-Connect{% endblock %}
|
||||
@@ -26,7 +27,7 @@ Database information:</p>
|
||||
{% for view in views %}
|
||||
<tr class="{% cycle odd,even %}">
|
||||
<td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
|
||||
<td align="right"><a href="/{{view.1}}">{{view.2.objects.count}}</td>
|
||||
<td align="right"><a href="/{{view.1}}">{{view.2.objects.count|format_number}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
@@ -7,9 +7,9 @@
|
||||
{% block content %}
|
||||
|
||||
<p id="description">
|
||||
<form>
|
||||
<form name="SearchForm">
|
||||
<input type="submit" value="Search:"></submit>
|
||||
<input name="search" type="input" size="50" value="{{search}}"></input>
|
||||
<input name="search" id="get_focus" type="input" size="50" value="{{search}}"></input>
|
||||
</form>
|
||||
</p>
|
||||
|
||||
|
Reference in New Issue
Block a user