rank.html 2.9 KB
Newer Older
梦想橡皮擦's avatar
梦想橡皮擦 已提交
1 2 3 4 5 6 7 8 9
{% extends "base.html" %}
{% block content %}
<style>
#msg_table td{
padding:3px;}




10

梦想橡皮擦's avatar
梦想橡皮擦 已提交
11 12 13 14 15 16 17
</style>
<div class="container">
    <table class="table table-hover table-bordered table-striped table-responsive">
        <caption class="caption-top text-center">
            <div class="alert alert-warning">
                <p class="m-0">
                    <strong>华为云社区月更榜</strong><br><strong>
18 19
<2023年1月数据>
                </strong></p>
梦想橡皮擦's avatar
梦想橡皮擦 已提交
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
                <p class="text-success p-0"><small>数据每小时同步一次</small></p>

                <table id="msg_table" style="font-size:10px;margin:0 auto;" class="table-striped table-bordered">
                    <tr>
                        <th>奖项设置</th>
                        <th>条件</th>
                        <th>人数</th>
                        <th>奖品</th>
                    </tr>
                    <tr>
                        <td>博客之星</td>
                        <td>【优质】原创技术文章数TOP 1</td>
                        <td>1</td>
                        <td>800 元盲盒</td>
                    </tr>
                    <tr>
                        <td>创作之星</td>
                        <td>原创技术文章数TOP 1</td>
                        <td>1</td>
                        <td>500 元盲盒</td>
                    </tr>
                    <tr>
                        <td>优秀博主</td>
                        <td>【优质】原创技术文章数TOP 2-11</td>
                        <td>10</td>
                        <td>400 元盲盒</td>
                    </tr>
                    <tr>
                        <td>积极博主</td>
                        <td>原创技术文章数TOP 2-31</td>
                        <td>30</td>
                        <td>300 元盲盒</td>
                    </tr>
                </table>

            </div>


        </caption>
        <thead>
        <tr>
            <th>排名</th>
            <th>昵称</th>
            <th>本月更文数量</th>
        </tr>
        </thead>
        <tbody>
        {% for u in data %}
        <td>{{loop.index}}</td>
69
        <td>{{u[0]|hide_middle}}</td>
梦想橡皮擦's avatar
梦想橡皮擦 已提交
70
        <td>/[隐藏]</td>
梦想橡皮擦's avatar
梦想橡皮擦 已提交
71 72 73 74 75
        </tr>
        {%endfor%}

        </tbody>
    </table>
梦想橡皮擦's avatar
梦想橡皮擦 已提交
76 77 78
     <div class="alert alert-danger">
        <strong>为防止【过卷】,每月最后一周,仅展示前10昵称排名,隐藏更文数,完整数据,请进群索取。</strong>
    </div>
梦想橡皮擦's avatar
梦想橡皮擦 已提交
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
</div>
<div class="card text-center" style="position:fixed;bottom:20px;right:0px;">

    <div class="card-body">
        <div class="alert alert-success">


            <p class="text-center"><img width="40%" src="{{url_for('static',filename='images/qrcode.png')}}"
                                        alt="">
                <br><strong>【后期榜单群内同步】 </strong></p>
        </div>
    </div>

</div>
{% endblock %}