<div class="main-content-bg row">
    <div class="row">
        <input type="text" class="msg nav-search-input" placeholder="搜索标签" 
            onkeyup="xnote.action.message.handleTopicSearchKeyUp(event);"/>
        <button class="nav-search-btn btn-default">
            <i class="fa fa-search"></i>
        </button>
    </div>
    
    <div class="card top-offset-1">
        <a class="list-item empty-item hide" onclick="xnote.action.message.selectTopic(this);">&lt;无匹配标签&gt;</a>
        {% if len(tag_list) == 0 %}
            <a onclick="xnote.action.message.selectTopic(this);" class="list-item topic-item">请输入标签</a>
        {% end %}
        
        {% for tag_info in tag_list %}
            <a onclick="xnote.action.message.selectTopic(this);" class="list-item topic-item">{{tag_info.tag_code}}</a>
        {% end %}
    </div>

    <div class="msg-dialog-bottom-bar">
        <div class="float-right">
            <input type="button" class="send-button btn btn-default"
            onclick="xnote.action.message.closeTopicDiloag();" value="关闭">
        </div>
    </div>
</div>