Skip to content

Commit

Permalink
Merge pull request #4156 from ArunTeltia/HTML_Validation/Check_4
Browse files Browse the repository at this point in the history
onClick to onclick and tags error fixed
  • Loading branch information
cdrini authored Nov 26, 2020
2 parents 5898ecd + 70ed166 commit 342286c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion openlibrary/templates/borrow_admin_no_update.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h1 class="sansserif">Borrow - Administration</h1>

<p>
<table>
<tr><th>Available loans for $page.title:</tr></th>
<tr><th>Available loans for $page.title:</th></tr>
$for loan in available_loans:
<tr><td>$loan</td></tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion openlibrary/templates/covers/saved.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
<div class="clearfix"></div>

<div class="formButtons">
<button type="button" name="finished" id="popClose" value="Finished" class="largest">$_("Finished")</a>
<button type="button" name="finished" id="popClose" value="Finished" class="largest">$_("Finished")</button>
</div>
2 changes: 1 addition & 1 deletion openlibrary/templates/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1><a href="$page.key">$name</a></h1>
</tr>
</tbody>
</table>
<input type="hidden" name='m' value="diff"/>
<input type="hidden" name="m" value="diff"/>

</form>

Expand Down
10 changes: 5 additions & 5 deletions openlibrary/templates/home/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@ <h2 class="inline">$_('Around the Library')</h2>

<div id="home-stats-charts">
<div class="statschart">
<div class="chartShow" onClick="window.location.href='//archive.org/stats';" title="$_('See all visitors to OpenLibrary.org')">
<div class="chartShow" onclick="window.location.href='//archive.org/stats';" title="$_('See all visitors to OpenLibrary.org')">
<div id="visitors-graph" style="width:150px;height:60px;"></div>
<a href="//archive.org/stats" title="$_('See all visitors to OpenLibrary.org')"><span class="ticks">$:commify(stats["visitors"].get_summary(28))</span><span class="label">$_('Unique Visitors')</span></a>
</div>
</div>

<div class="statschart">
<div class="chartShow" onClick="window.location.href='/stats';" title="$_('How many new Open Library members have we welcomed?')">
<div class="chartShow" onclick="window.location.href='/stats';" title="$_('How many new Open Library members have we welcomed?')">
<div id="members-graph" style="width:150px;height:60px;"></div>
<a href="/stats" title="$_('How many new Open Library members have we welcomed?')"><span class="ticks">$:commify(stats["members"].get_summary(28))</span><span class="label">$_('New Members')</span></a>
</div>
</div>
<div class="statschart">
<div class="chartShow" onClick="window.location.href='/recentchanges';" title="$_('People are constantly updating the catalog')">
<div class="chartShow" onclick="window.location.href='/recentchanges';" title="$_('People are constantly updating the catalog')">
<div id="edits-graph" style="width:150px;height:60px;"></div>
<a href="/recentchanges" title="$_('People are constantly updating the catalog')"><span class="ticks">$:commify(stats["human_edits"].get_summary(28))</span><span class="label">$_('Catalog Edits')</span></a>
</div>
</div>

<div class="statschart">
<div class="chartShow" onClick="window.location.href='/lists';" title="$_('Members can create Lists')">
<div class="chartShow" onclick="window.location.href='/lists';" title="$_('Members can create Lists')">
<div id="lists-graph" style="width:150px;height:60px;"></div>
<a href="/lists" title="$_('Members can create Lists')"><span class="ticks">$:commify(stats["lists"].get_summary(28))</span><span class="label">$_('Lists Created')</span></a>
</div>
</div>

<div class="statschart">
<div class="chartShow" onClick="window.location.href='/stats';" title="$_('We\'re a library, so we lend books, too')">
<div class="chartShow" onclick="window.location.href='/stats';" title="$_('We\'re a library, so we lend books, too')">
<div id="ebooks-graph" style="width:150px;height:60px;"></div>
<a href="/borrow" title="$_('We\'re a library, so we lend books, too')"><span class="ticks">$:commify(stats["loans"].get_summary(28))</span><span class="label">$_('eBooks Borrowed')</span></a>
</div>
Expand Down

0 comments on commit 342286c

Please sign in to comment.