<div class="top">
    <h1 style="font-weight: bold;">{{data['setting']['farmInfo']['name']}}</h1>
    <div class="menu">
        <ul>
        	<li><a href="/msg" class="icons ico-msg">{% if 'msgNum' in data['setting'] and data['setting']['msgNum'] > 0 %}<i>{{data['setting']['msgNum']}}</i>{% end %}</a></li>
            <li><a href="{{data['setting']['web']}}" class="icons ico-home"></a></li>
            <li><a href="/user/login" class="icons ico-pwd"></a></li>
            <li><a href="/user/loginout" class="icons ico-quit"></a></li>
        </ul>
    </div>
</div>