Create random.html

This commit is contained in:
2024-10-09 21:14:35 +01:00
committed by GitHub
parent cbac5795b3
commit 947ef43fca

78
templates/random.html Normal file
View File

@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ircquotes: Random Quote</title>
<link rel="stylesheet" href="/static/css/styles.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#c08000" vlink="#c08000" alink="#c08000">
<center>
<table cellpadding="2" cellspacing="0" width="80%" border="0">
<tr>
<td bgcolor="#c08000" align="left">
<font size="+1"><b><i>ircquotes</i></b></font>
</td>
<td bgcolor="#c08000" align="right">
<font face="arial" size="+1"><b>Random Quote</b></font>
</td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" width="80%" border="0">
<tr>
<td class="footertext" align="left" bgcolor="#f0f0f0"></td>
<td align="right" bgcolor="#f0f0f0" class="toplinks" colspan="2">
<a href="/">Home</a> /
<a href="/?latest">Latest</a> /
<a href="/?browse">Browse</a> /
<a href="/random" rel="nofollow">Random</a> /
<a href="/?top">Top 100</a>
</td>
</tr>
</table>
</center>
<center>
<table cellpadding="2" cellspacing="0" width="80%">
<tr>
<td valign="top">
<p class="quote">
<a href="/quote?id={{ quote.id }}" title="Permanent link to this quote."><b>#{{ quote.id }}</b></a>
<a href="/vote/{{ quote.id }}/upvote" class="qa">+</a>
(<font color="green">{{ quote.votes }}</font>)
<a href="/vote/{{ quote.id }}/downvote" class="qa">-</a>
<a href="/flag/{{ quote.id }}" class="qa">[X]</a>
</p>
<p class="qt">{{ quote.text }}</p>
</td>
</tr>
</table>
</center>
<center>
<table border="0" cellpadding="2" cellspacing="0" width="80%" bgcolor="#c08000">
<tr>
<td bgcolor="#f0f0f0" class="toplinks" colspan="2">
<a href="/">Home</a> /
<a href="/?latest">Latest</a> /
<a href="/?browse">Browse</a> /
<a href="/random" rel="nofollow">Random</a> /
<a href="/?top">Top 100</a>
</td>
</tr>
<tr>
<td class="footertext" align="left">&nbsp;</td>
<td class="footertext" align="right">{{ approved_count }} quotes approved</td>
</tr>
</table>
<font size="-1">
&#169; ircquotes 2024, All Rights Reserved.
</font>
</center>
</body>
</html>