anchor.diff:          };
       </script>
   
  -
  -    <style type="text/css">
  -        table {
  -            border:0px none;
  -            border-collapse:collapse;
  -            empty-cells:show;
  -            background-color:#fff;
  -            font-size:1.1em;
  -            border-collapse:separate;
  -            border-spacing: 0px;
  -        }
  -
  -        th {
  -            background:#eee;
  -            color:#666;
  -            padding:3px 5px;
  -            text-align:left;
  -            font-weight:normal;
  -            line-height: 24px;
  -        }
  -
  -        td {
  -            padding:3px 5px;
  -            border-bottom:1px solid #eee;
  -            height:38px;
  -        }
  -    </style>
  -
       <div id="loading">Loading...</div>
   
       <div class="statisticsView">
  -        <h1>Runtime Statistics</h1>
  -
  -        <h2>Ticket Registry Statistics</h2>
  -
  -        <div class="row adminPanels clearfix">
  -            <div class="col-lg-3 col-md-6">
  -                <div class="panel panel-success">
  -                    <div class="panel-heading">
  -                        <div class="row">
  -                            <div class="col-xs-12 text-right">
  -                                <div class="semi-huge">Unexpired TGTs</div>
  -                                <div class="huge" id="totalUsers">${unexpiredTgts}</div>
  -                            </div>
  -                        </div>
  -                    </div>
  -                </div>
  -            </div>
  -            <div class="col-lg-3 col-md-6">
  -                <div class="panel panel-success">
  -                    <div class="panel-heading">
  -                        <div class="row">
  -                            <div class="col-xs-12 text-right">
  -                                <div class="semi-huge">Unexpired STs</div>
  -                                <div class="huge" id="totalUsageSessions">${unexpiredSts}</div>
  -                            </div>
  -                        </div>
  -                    </div>
  -                </div>
  -            </div>
  -            <div class="col-lg-3 col-md-6">
  -                <div class="panel panel-warning">
  -                    <div class="panel-heading">
  -                        <div class="row">
  -                            <div class="col-xs-12 text-right">
  -                                <div class="semi-huge">Expired TGTs</div>
  -                                <div class="huge">${expiredTgts}</div>
  -                            </div>
  -                        </div>
  -                    </div>
  -                </div>
  -            </div>
  -            <div class="col-lg-3 col-md-6">
  -                <div class="panel panel-warning">
  -                    <div class="panel-heading">
  -                        <div class="row">
  -                            <div class="col-xs-12 text-right">
  -                                <div class="semi-huge">Expired STs</div>
  -                                <div class="huge">0</div>
  -                            </div>
  -                        </div>
  -                    </div>
  -                </div>
  -            </div>
  -        </div>
  -        <a href="statistics/ssosessions" class="btn btn-primary pull-right ">View SSO Sessions</a>
  -
  -        <br />
  -
  -        <h2>JVM Server Statistics</h2>
  +        <h2><spring:message code="cas.statistics.pagetitle" /></h2>
  +
  +        <div class="section">
  +            <%-- Registry Ticket Section --%>
  +            <h3><spring:message code="cas.statistics.section.ticket.title" /></h3>
  +            <div class="row adminPanels clearfix">
  +                <div class="col-lg-3 col-md-6">
  +                    <div class="panel panel-success">
  +                        <div class="panel-heading">
  +                            <div class="row">
  +                                <div class="col-xs-12 text-right">
  +                                    <div class="semi-huge"><spring:message code="cas.statistics.section.ticket.panel.unexpiredtgts.title" /></div>
  +                                    <div class="huge" id="totalUsers">${unexpiredTgts}</div>
  +                                </div>
  +                            </div>
  +                        </div>
  +                    </div>
  +                </div>
  +                <div class="col-lg-3 col-md-6">
  +                    <div class="panel panel-success">
  +                        <div class="panel-heading">
  +                            <div class="row">
  +                                <div class="col-xs-12 text-right">
  +                                    <div class="semi-huge"><spring:message code="cas.statistics.section.ticket.panel.unexpiredsts.title" /></div>
  +                                    <div class="huge" id="totalUsageSessions">${unexpiredSts}</div>
  +                                </div>
  +                            </div>
  +                        </div>
  +                    </div>
  +                </div>
  +                <div class="col-lg-3 col-md-6">
  +                    <div class="panel panel-warning">
  +                        <div class="panel-heading">
  +                            <div class="row">
  +                                <div class="col-xs-12 text-right">
  +                                    <div class="semi-huge"><spring:message code="cas.statistics.section.ticket.panel.expiredtgts.title" /></div>
  +                                    <div class="huge">${expiredTgts}</div>
  +                                </div>
  +                            </div>
  +                        </div>
  +                    </div>
  +                </div>
  +                <div class="col-lg-3 col-md-6">
  +                    <div class="panel panel-warning">
  +                        <div class="panel-heading">
  +                            <div class="row">
  +                                <div class="col-xs-12 text-right">
  +                                    <div class="semi-huge"><spring:message code="cas.statistics.section.ticket.panel.expiredsts.title" /></div>
  +                                    <div class="huge">0</div>
  +                                </div>
  +                            </div>
  +                        </div>
  +                    </div>
  +                </div>
  +            </div>
  +            <div class="adminPanels container-fluid">
  +                <a id="viewSsoSessions" href="statistics/ssosessions" class="btn btn-primary pull-right"><spring:message code="cas.statistics.section.ticket.button" /></a>
  +            </div>
  +        </div>
  +
  +            <h3><spring:message code="cas.statistics.section.serverstatistics.title" /></h3>
           <div class="row runtimePanels">
  +        <%-- JVM Server Section --%>
               <div class="col-md-4">
                   <div class="text-center">
  -                    <div id="memoryUsageWrapper">
  -                        <%--
  -                        TODO: add tooltip
  -                        --%>
  +                    <div class="section" id="memoryUsageWrapper">
                           <div id="memoryGauge"></div>
  -                        <%--<h4>JVM Memory</h4>--%>
  -                        <%--Max memory: ${maxMemory} MB--%>
                       </div>
                       <div id="maxMemoryWrapper">
  -                        <%--
  -                        TODO: add tooltip
  -                        --%>
                           <div id="maxMemoryGauge"></div>
  -                        <%--<h4>Max Memory</h4>--%>
  -                        <%--Max memory: ${maxMemory} MB--%>
                       </div>
                   </div>
               </div>
  
positive.code:                         <table class="table table-striped ">
                              <thead>
                                  <tr>
                                      <th class="col-md-4">Property</th>
                                      <th class="col-md-8">Value</th>
                                  </tr>
                              </thead>
                              <tbody>
                                  <tr>
                                      <td>Server</td>
                                      <td>${serverIpAddress} (${serverHostName})</td>
                                  </tr>
                                  <tr>
                                      <td>CAS Ticket Suffix</td>
                                      <td>${casTicketSuffix}</td>
                                  </tr>
                                  <tr>
                                      <td>Server Start Time</td>
                                      <td>${startTime}</td>
                                  </tr>
                                  <tr>
                                      <td>Uptime</td>
                                      <td>${upTime}</td>
                                  </tr>
                                  <tr>
                                      <td>Memory</td>
                                      <td>${freeMemory} MB free <br/>${totalMemory} MB total</td>
  <%--
                                      <td>
                                          <c:set var="freeMem" value="${fn:substringBefore(freeMemory / (totalMemory) * 100, '.')}"/>
                                          <c:set var="maxMem" value="${fn:substringBefore((totalMemory - freeMemory) / totalMemory * 100, '.')}"/>
  
                                          <div class="progress">
                                            <div class="progress-bar" role="progressbar" aria-valuenow="${freeMem}" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;width: ${freeMem}%;">
                                                  ${freeMem}%
                                            </div>
                                          </div>
  
                                          <div class="progress">
                                            <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="maxMem" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;width: ${maxMem}%;">
                                              ${maxMem}%
                                            </div>
                                          </div>
  
                                          ${freeMemory} MB free <br> <img src="images/green.gif" width="${freeMemory / (totalMemory) * 500}" height="30" /><img src="images/red.gif" width="${(totalMemory - freeMemory) / totalMemory * 500}" height="30" /> ${totalMemory} MB total
                                      </td>
  --%>
                                  </tr>
                                  <tr>
                                      <td>Maximum Memory</td>
                                      <td>${maxMemory} MB</td>
                                  </tr>
                                  <tr>
                                      <td>Available Processors</td>
                                      <td>${availableProcessors}</td>
                                  </tr>
                              </tbody>
  
negative.code:             </div>
          </div>
  
          <div class="row">
          <%-- Thread Dump Section --%>
              <div class="col-md-12">
                  <h3><spring:message code="cas.statistics.section.threaddump.title" /></h3>
                  <div class="well clearfix">
                      <pre id="threadDumpPreview"></pre>
                      <button id="threadDumpViewButton" type="button" class="btn btn-sm btn-default pull-right" value="statistics/threads?pretty=true" data-toggle="modal" data-target="#threadDumpModal" data-remote="false"><spring:message code="cas.statistics.section.threaddump.button" /></button>
                  </div>
              </div>
          </div>
  
          <div class="row">
          <%-- Metrics Section --%>
              <div class="col-sm-12">
                  <h3><spring:message code="cas.statistics.section.metrics.title" /></h3>
                  <a href="statistics/metrics?pretty=true" class="btn btn-default"><spring:message code="cas.statistics.section.metrics.button" /></a>
              </div>
          </div>
      </div>
  
  <div class="modal fade" id="threadDumpModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
          <h4 class="modal-title" id="myModalLabel"><spring:message code="cas.statistics.section.threaddump.modal.title" /></h4>
        </div>
        <div class="modal-body"><pre class="thread-dump-view"></pre></div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal"><spring:message code="cas.statistics.modal.close.button" /></button>
        </div>
      </div>
    </div>
  