Commit 63c89ab 1 parent b8fc360 commit 63c89ab Copy full SHA for 63c89ab
File tree 3 files changed +11
-10
lines changed
3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -150,17 +150,17 @@ def checkgenerator(f):
150
150
rssurl = burl + 'rss.xml'
151
151
success = """
152
152
<p class="text-success">
153
- <i class="glyphicon glyphicon-ok " style="font-size: 2em;"></i>
153
+ <i class="fa fa-check " style="font-size: 2em;"></i>
154
154
This is a Nikola site.</p>"""
155
155
156
156
failed = """
157
157
<p class="text-danger">
158
- <i class="glyphicon glyphicon-remove " style="font-size: 2em;"></i>
158
+ <i class="fa fa-times " style="font-size: 2em;"></i>
159
159
This is not a Nikola site.</p>"""
160
160
161
161
unknown = """
162
162
<p class="text-warning">
163
- <i class="glyphicon glyphicon -warning-sign " style="font-size: 2em;"></i>
163
+ <i class="fa fa -warning" style="font-size: 2em;"></i>
164
164
The check has failed. {0}</p>"""
165
165
try :
166
166
r = requests .get (rssurl )
Original file line number Diff line number Diff line change 24
24
< td > {{ p.id|e }}</ td >
25
25
< td > {{ p.title|e }}</ td >
26
26
< td > {{ p.author|e }}</ td >
27
- < td > < i class ="glyphicon{% if p.publishemail %}glyphicon-eye-open{% else
28
- %}glyphicon-eye-close{% endif %} "> </ i > < a href ="mailto:{{
27
+ < td > < i class ="fa fa-eye{% if not p.publishemail %}-slash{% endif %} "> </ i > < a href ="mailto:{{
29
28
p.email|e }} "> {{ p.email|e }}</ a > </ td >
30
29
< td > < a href ="{{ p.url|e }} "> {{ p.url|e }}</ a > </ td >
31
- < td > < i class ="glyphicon {% if p.sourcelink %}glyphicon-ok {% else
32
- %}glyphicon-remove {% endif %} "> </ i > </ td >
30
+ < td > < i class ="fa {% if p.sourcelink %}fa-check {% else
31
+ %}fa-times {% endif %} "> </ i > </ td >
33
32
< td >
34
33
{% for i in p.languages %}
35
34
< img src ="/public/icons/{{ icons[i] }}.png ">
40
39
< div class ="btn-group ">
41
40
< button type ="submit " name ="toggle " class ="btn btn-xs
42
41
{% if p.visible %}btn-info{% else %}btn-success{% endif %} ">
43
- < i class ="glyphicon glyphicon -eye- {% if p.visible %}close{% else %}open {% endif %} "> </ i >
42
+ < i class ="fa fa -eye{% if p.visible %}-slash {% endif %} "> </ i >
44
43
</ button >
45
44
< button type ="submit " name ="edit " class ="btn btn-xs
46
45
btn-primary ">
47
- < i class ="glyphicon glyphicon-edit "> </ i >
46
+ < i class ="fa fa-pencil "> </ i >
48
47
</ button >
49
48
< button type ="submit " name ="delete " class ="btn btn-xs btn-danger ">
50
- < i class ="glyphicon glyphicon -trash "> </ i >
49
+ < i class ="fa fa -trash "> </ i >
51
50
</ button >
52
51
</ div >
53
52
</ form >
Original file line number Diff line number Diff line change 7
7
{% autoescape false %}
8
8
{{ header }}
9
9
{% endautoescape %}
10
+ < link href ="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css " rel ="stylesheet ">
11
+
10
12
< link href ="http://getnikola.com/assets/css/all-nocdn.css " rel ="stylesheet " type ="text/css ">
11
13
< link rel ="canonical " href ="http://users.getnikola.com/ ">
12
14
< link rel ="shortcut icon " href ="http://getnikola.com/favicon.ico ">
You can’t perform that action at this time.
0 commit comments