<html>

    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="http://www.html5tricks.com/demo/bootstrap-datepicker/src/bootstrapDatepickr-1.0.0.css">
    <script src="http://www.html5tricks.com/demo/bootstrap-datepicker/src/jquery-1.7.2.min.js"></script>
    <script src="http://www.html5tricks.com/demo/bootstrap-datepicker/src/bootstrap.min.js"></script>
    <script src="http://www.html5tricks.com/demo/bootstrap-datepicker/dist/bootstrapDatepickr-1.0.0.min.js"></script>
    <script>
    $(document).ready(function() {
    $("#calendar").bootstrapDatepickr();
    $("#calendar1").bootstrapDatepickr({date_format: "Y-m-d"});
    $("#calendar2").bootstrapDatepickr({date_format: "l, do F Y"});
    });
    </script>
<div style="text-align:center;clear:both;">
<script src="http://www.html5tricks.com/follow.js" type="text/javascript"></script>


    <body>

<div style="text-align:center;clear:both;">
        <h3>平台在线统计</h3>

            <form action="" method="post">
                    <label for="your_name">查询哪天的数据呢? </label>
    <div class="row">
        <div class="col-md-4">
            <div class="input-group">
                <span class="input-group-addon" id="basic-addon1"><i class="fa fa-calendar"></i></span>
                <input type="text" id="calendar1" placeholder="test" class="form-control" name="countdate" value="{{ countdate }}">
            </div>
        </div>
    </div>
                        <input type="submit" value="开始查询">
            </form>

</div>

<style>
table
{
            width: 100%;
            border-collapse:collapse; 
            border-spacing:0; 
}

thead
{
            display: block;
            width: 100%;
}

tbody
{
            display: block;
            height: 280px;
            overflow: auto;
            width: auto;
}

th,td
{
            width: 100px; 
            border-bottom: none;
            border-left: none;
            border-right: 1px solid #CCC;
            border-top: 1px solid #DDD;
            padding: 2px 3px 3px 4px
}
tr
{
            border-left: 1px solid #EB8;
            border-bottom: 1px solid #B74;
}
</style>

<table>
        <caption>
        <center>xxx</center>
        </caption>
<thead>
        <th>查询日期</th>
        <th>平台名称</th>
        <th>区域名称</th>
        <th>本日安装量(我司)</th>
        <th>本月安装量(我司)</th>
        <th>本年安装量(我司)</th>
        <th>网上总量(我司)</th>
        <th>本日安装量(其他)</th>
        <th>本月安装量(其他)</th>
        <th>本年安装量(其他)</th>
        <th>网上总量(其他)</th>
        <th>本日安装量(合并)</th>
        <th>本月安装量(合并)</th>
        <th>本年安装量(合并)</th>
        <th>网上总量(合并)</th>
        </tr>
</thead>
<tbody>
{% for object in objects %}
    <tr> 
             <td><center>{{ object.0 }}</center></td> 
             <td><center>{{ object.1 }}</center></td> 
             <td><center>{{ object.2 }}</center></td>
             <td><center>{{ object.3 }}</center></td>
             <td><center>{{ object.4 }}</center></td>
             <td><center>{{ object.5 }}</center></td>
             <td><center>{{ object.6 }}</center></td>
             <td><center>{{ object.7 }}</center></td>
             <td><center>{{ object.8 }}</center></td>
             <td><center>{{ object.9 }}</center></td>
             <td><center>{{ object.10 }}</center></td>
             <td><center>{{ object.11 }}</center></td>
             <td><center>{{ object.12 }}</center></td>
             <td><center>{{ object.13 }}</center></td>
             <td><center>{{ object.14 }}</center></td>
       </tr>
{% endfor %}
</tbody>
</table>
</body>
</html>
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""