Favicon is added into layout

Change-Id: Id177d5256824f862974eb46aecb15cc55ffd7546
This commit is contained in:
Ilya Shakhat 2013-07-19 17:58:55 +04:00
parent dc2dea9bf9
commit c9dc7b8203
3 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -10,6 +10,7 @@
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Caption&subset=latin,cyrillic' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css' />
<link rel="icon" href="{{ url_for('static', filename='images/favicon.png') }}" type="image/png"/>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/style.css') }}">
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/jquery.jqplot.min.css') }}">

View File

@ -36,7 +36,8 @@ def get_pids():
try:
p = psutil.Process(pid)
if p.cmdline and p.cmdline[0].find('/uwsgi'):
uwsgi_dict[p.pid] = p.parent.pid
if p.parent:
uwsgi_dict[p.pid] = p.parent.pid
except _error.NoSuchProcess:
# the process may disappear after get_pid_list call, ignore it
pass