Skip to content
Browse files
Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed Jan 21, 2015
1 parent b8fc360 commit 63c89ab62ee63ff35e2bc6c2f12ead0aa343d3e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
@@ -150,17 +150,17 @@ def checkgenerator(f):
rssurl = burl + 'rss.xml'
success = """
<p class="text-success">
<i class="glyphicon glyphicon-ok" style="font-size: 2em;"></i>
<i class="fa fa-check" style="font-size: 2em;"></i>
This is a Nikola site.</p>"""

failed = """
<p class="text-danger">
<i class="glyphicon glyphicon-remove" style="font-size: 2em;"></i>
<i class="fa fa-times" style="font-size: 2em;"></i>
This is not a Nikola site.</p>"""

unknown = """
<p class="text-warning">
<i class="glyphicon glyphicon-warning-sign" style="font-size: 2em;"></i>
<i class="fa fa-warning" style="font-size: 2em;"></i>
The check has failed. {0}</p>"""
r = requests.get(rssurl)
@@ -24,12 +24,11 @@
<td>{{|e }}</td>
<td>{{ p.title|e }}</td>
<td>{{|e }}</td>
<td><i class="glyphicon{% if p.publishemail %}glyphicon-eye-open{% else
%}glyphicon-eye-close{% endif %}"></i> <a href="mailto:{{
<td><i class="fa fa-eye{% if not p.publishemail %}-slash{% endif %}"></i> <a href="mailto:{{|e }}">{{|e }}</a></td>
<td><a href="{{ p.url|e }}">{{ p.url|e }}</a></td>
<td><i class="glyphicon {% if p.sourcelink %}glyphicon-ok{% else
%}glyphicon-remove{% endif %}"></i></td>
<td><i class="fa {% if p.sourcelink %}fa-check{% else
%}fa-times{% endif %}"></i></td>
{% for i in p.languages %}
<img src="/public/icons/{{ icons[i] }}.png">
@@ -40,14 +39,14 @@
<div class="btn-group">
<button type="submit" name="toggle" class="btn btn-xs
{% if p.visible %}btn-info{% else %}btn-success{% endif %}">
<i class="glyphicon glyphicon-eye-{% if p.visible %}close{% else %}open{% endif %}"></i>
<i class="fa fa-eye{% if p.visible %}-slash{% endif %}"></i>
<button type="submit" name="edit" class="btn btn-xs
<i class="glyphicon glyphicon-edit"></i>
<i class="fa fa-pencil"></i>
<button type="submit" name="delete" class="btn btn-xs btn-danger">
<i class="glyphicon glyphicon-trash"></i>
<i class="fa fa-trash"></i>
@@ -7,6 +7,8 @@
{% autoescape false %}
{{ header }}
{% endautoescape %}
<link href="//" rel="stylesheet">

<link href="" rel="stylesheet" type="text/css">
<link rel="canonical" href="">
<link rel="shortcut icon" href="">

0 comments on commit 63c89ab

Please sign in to comment.