MPOS/php-mpos

View on GitHub
templates/bootstrap/admin/wallet/status.tpl

Summary

Maintainability
Test Coverage
    <div class="col-lg-8">
        <div class="panel panel-info">
            <div class="panel-heading">
                <i class="fa fa-info fa-fw"></i> Wallet Status
            </div>
            <div class="panel-body no-padding">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>Version</th>
                                <th>Protocol Version</th>
                                <th>Wallet Version</th>
                                <th>Peers</th>
                                <th>Status</th>
                                <th>Blocks</th>
                                <th>Accounts</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                              <td>{$COININFO.version|default:""}</td>
                              <td>{$COININFO.protocolversion|default:""}</td>
                              <td>{$COININFO.walletversion|default:""}</td>
                              <td>{$COININFO.connections|default:""}</td>
                              <td><font color="{if $COININFO.errors}red{else}green{/if}">{$COININFO.errors|default:"OK"}</font></td>
                              <td>{$COININFO.blocks|default:"0"}</td>
                              <td>{$ADDRESSCOUNT}</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>