Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/accountDownloads.htm
<div class="modal-header">
    <h3 class="modal-title">{{ lang.t("\"%s\" Backups", account.virtual && account.nickname ? account.nickname : account.username) }}</h3>
</div>
<div class="modal-body">

    <div class="table-responsive">
        <table class="table table-striped content-table">
            <thead>
            <tr>
                <th class="col-sm-3 col-md-3 col-lg-3 column-title">
                    <button sort-by sort-meta="meta" sort-field="created" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Created')) }}">{{ lang.t("Created") }}</button>
                </th>
                <th class="col-sm-2 col-md-2 col-lg-2 column-title">
                    {{ lang.t("Items") }}
                </th>
                <th class="col-sm-2 col-md-2 col-lg-2 column-title">
                    <button sort-by sort-meta="meta" sort-field="size" onSort="fetch()" title="{{ lang.t('Sort by %s.', lang.t('Size')) }}">{{ lang.t("Size") }}</button>
                </th>
                <th class="col-sm-4 col-md-4 col-lg-4 column-title">
                    {{ lang.t("Notes") }}
                </th>
                <th class="col-sm-1 col-md-1 col-lg-1 column-title"></th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="download in downloads">
                <td data-title="{{ lang.t('Created') }}">
                    {{ lang.d(download.created, 'shorttime') }}
                </td>
                <td data-title="{{ lang.t('Items') }}">
                    {{lang.t("Total %s items", download.items.length)}}
                    <span class="fas fa-question-circle" style="cursor: pointer;" uib-tooltip-template="'itemsList.htm'" tooltip-trigger="'click outsideClick'" tooltip-placement="auto" tooltip-class="backups-tooltip"></span>
                </td>
                <td data-title="{{ lang.t('Size') }}">
                    {{ util.sizeToHumanReadable(download.size) }}
                </td>
                <td data-title="{{ lang.t('Notes') }}" ng-dblclick="download.editing = true;">
                    <div class="editable" ng-hide="download.editing">{{ download.notes ? download.notes : lang.t("Double click to add notes...") }}</div>
                    <input ng-show="download.editing" type="text" style="font-weight: normal;" class="form-control" ng-model="download.notes" ng-keypress="saveNotes(download, $event)" ng-blur="saveNotes(download)" placeholder="{{ lang.t('Enter Notes...') }}" value="" />
                </td>
                <td>
                    <button class="btn btn-xs btn-primary" ng-click="directDownload(download)">{{lang.t("Download")}}</button>
                </td>
            </tr>
            <tr ng-hide="!loading">
                <td colspan="10">
                    <loading-box><span>{{ lang.t("Loading Downloads") }}</span></loading-box>
                </td>
            </tr>
            <tr ng-hide="downloads.length > 0 || loading">
                <td colspan="10"><span>{{ lang.t("No Downloads Found") }}</span></td>
            </tr>
            </tbody>
        </table>
    </div>
    <pagination fetch="fetch" meta="meta" hide-page-size="true"></pagination>
</div>
<div class="modal-footer">
    <button class="btn btn-danger" type="button" ng-click="close()">
        <em class="fas fa-times"></em>
        {{ lang.t("Close") }}
    </button>
</div>
<script type="text/ng-template" id="itemsList.htm">
    <div style="text-align: left; margin: 10px;">
        <ul style="margin: 0 0 0 10px; padding: 0;">
            <li ng-repeat="item in download.items" style="white-space: nowrap;">{{ lang.t("%s created on %s", lang.t(const.BACKUP_ITEMS_TEXT[item.backup_contains], item.name), lang.d(item.created, 'shorttime'))}}</li>
        </ul>

    </div>
</script>