| OLD | NEW |
|---|---|
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel=stylesheet type="text/css" href="/media/malfind.css" title="malfind"> | 3 <link rel=stylesheet type="text/css" href="/media/malfind.css" title="malfind"> |
| 4 <script language="JavaScript" src="/media/malfind.js"></script> | 4 <script language="JavaScript" src="/media/malfind.js"></script> |
| 5 <title>MalFind Stats</title> | 5 <title>MalFind Stats</title> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 | 8 |
| 9 <div align="right" style="margin-bottom:2em;"> | 9 <div align="right" style="margin-bottom:2em;"> |
| 10 {%if userdata.user%}{{userdata.user|escape}} |{%endif%} | 10 {%if userdata.user%}{{userdata.user|escape}} |{%endif%} |
| 11 <a href="http://code.google.com/p/malfind2/issues/list">Report bug</a> | | 11 <a href="http://code.google.com/p/malfind2/issues/list">Report bug</a> | |
| 12 {%if userdata.admin%}<a href="/stats">Admin</a> |{%endif%} | 12 {%if userdata.admin%}<a href="/stats">Admin</a> |{%endif%} |
| 13 {%if userdata.user%}<a href="{{userdata.logout|escape}}">Sign out</a>{%else%} | 13 {%if userdata.user%}<a href="{{userdata.logout|escape}}">Sign out</a>{%else%} |
| 14 <a href="{{userdata.login|escape}}">Sign In</a>{%endif%} | 14 <a href="{{userdata.login|escape}}">Sign In</a>{%endif%} |
| 15 </div> | 15 </div> |
| 16 | 16 |
| 17 <div class=top> | 17 <div class=top> |
| 18 <form action='/check'> | 18 <form action='/check'> |
| 19 <table><tr><td><a class="mf" href="/">MalFind</a></td> | 19 <table><tr><td><a class="mf" href="/">MalFind</a></td> |
| 20 <td><input name=url value="{{url|escape}}" size=40></td> | 20 <td><input name=url value="{{url|escape}}" size=40></td> |
| 21 <td><input type=submit value="Check" name="check"></td> | 21 <td><input type=submit value="Check" name="check"></td> |
| 22 </tr></table> | 22 </tr></table> |
| 23 </form> | 23 </form> |
| 24 </div> | 24 </div> |
| 25 | 25 |
| 26 <h3>Safe Browsing Digests</h3> | 26 <h3>Safe Browsing Digests</h3> |
| 27 <ul> | 27 <ul> |
| 28 {% for digest in digests %} | 28 {% for digest in digests %} |
| 29 <li><pre>{{digest.hash|escape}}</pre></li> | 29 <li><pre>{{digest.hash|escape}}</pre></li> |
| 30 {% endfor %} | 30 {% endfor %} |
| 31 </ul> | 31 </ul> |
| 32 | |
| 33 <form action="/stats" method="post"> | |
| 34 <table><tr><td>Add a new digest</a></td> | |
| 35 <td><input name=digest value="" size=32></td> | |
|
provos
2008/05/16 17:24:51
you should stick with a common standard of represe
Panayiotis
2008/05/16 17:33:57
On 2008/05/16 17:24:51, provos wrote:
> you should
| |
| 36 <td><input type=submit value="Add" name="add"></td> | |
| 37 </tr></table> | |
| 38 </form> | |
| 39 | |
| 32 | 40 |
| 33 <h3>Recently checked urls</h3> | 41 <h3>Recently checked urls</h3> |
| 34 <ul> | 42 <ul> |
| 35 {% for query in queries %} | 43 {% for query in queries %} |
| 36 <li>{{query.url|escape}}, {{query.when}}</li> | 44 <li>{{query.url|escape}}, {{query.when}}</li> |
| 37 {% endfor %} | 45 {% endfor %} |
| 38 </ul> | 46 </ul> |
| 39 | 47 |
| 40 </body> | 48 </body> |
| 41 </html> | 49 </html> |
| OLD | NEW |