<div class="panel panel-default class-signin">
  <div class="panel-body">
    <div id="classroom-sign"  data-records="{{ path('classroom_signed_records', {'classroomId':classroom.id})}}" data-signurl="{{path('classroom_sign',{classroomId:classroom.id})}}" >
      <i class="es-icon es-icon-today"></i>
      {% if not isSignedToday %}
          {% if app.request.getLocale() == 'en_US' %}
              <span class="date">
            {{ 'now'|date('d') }}&nbsp;{{ 'now'|date('M') }}
          </span>
          {% else %}
              <span class="date">{{ 'now'|date('m') }}{{'月'|trans}}{{ 'now'|date('d') }}{{'日'|trans}}</span>
          {% endif %}
        <!-- <br> -->
        <!-- 星期{{week}} -->
      {% else %}
          {% if app.request.getLocale() == 'en_US' %}
              <span class="date">
            {{ 'now'|date('d') }}&nbsp;{{ 'now'|date('M') }}
          </span>
          {% else %}
              <span class="date">{{ 'now'|date('m') }}{{'月'|trans}}{{ 'now'|date('d') }}{{'日'|trans}}</span>
          {% endif %}
        <!-- <br>漏签<span style="color:red;">{{notSign}}</span>天 -->
      {% endif %}
      <div id="sign">
        {% if not isSignedToday %}
          <div class="sign-area"  data-role="sign">
            <a class="btn-signin" href="javascript:;">
              {{'签到'|trans}}
            </a>
          </div>
        {% else %}
          <div class="sign-area" data-role="signed" onclick="return false;" >
            <a class="btn-signin after" >{{'已签到'|trans}}
            <br>{{'连续%keepDays%天'|trans({'%keepDays%':userSignStatistics.keepDays})}}</a>
          </div>
        {% endif %}
      </div>
      <div class="sign_main" style="display:none">
        <div class="">
          <div class="calendar_title_month clearfix">
            <span class="pull-left glyphicon glyphicon-chevron-left title-margin" data-role="previous"></span>
            <span class="pull-right glyphicon glyphicon-chevron-right title-margin disabled-next" data-role="next"></span>
            <div class="text-center title-month title-margin" data-time="{{ "now"|date('Y/m') }}" id="title-month">{{ "now"|date('Y-m') }}
            </div>
          </div>
          
          <table class="sign_succ_table ">
            <thead align="center">
              <tr class="sign_succ_canlerdar_head">
                <td>{{'日'|trans}}</td><td>{{'一'|trans}}</td><td>{{'二'|trans}}</td><td>{{'三'|trans}}</td><td>{{'四'|trans}}</td><td>{{'五'|trans}}</td><td>{{'六'|trans}}</td>
              </tr>
            </thead>
            <tbody align="center" class="sign_succ_canlerdar_days j_canlerdar_days">
            </tbody>
          </table>
        </div>
        <div class="sign_tip_boards">
          <div class="mlm mtm">
            <p class=" color-gray">{{'签到排名：今日第'|trans}}<span class="today-rank"></span>{{'个签到'|trans}}</p>
          </div>
          <div class="mlm">
            <p class=" color-gray">{{'今日签到人数：'|trans}}<span class="signed-number"></span></p>
          </div>
          <div class="mlm">
            <p class=" color-gray">{{'连续签到：'|trans}}<span class="keep-days"></span>{{'天'|trans}}</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
  
