Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/accountBackupsDownloadSummary.htm |
<div class="row">
<div ng-class="{ 'col-md-6': askForEncryptionKey() || gotItems([const.BACKUP_TYPE_ACCOUNT_HOMEDIR]), 'col-md-12': !askForEncryptionKey() && !gotItems([const.BACKUP_TYPE_ACCOUNT_HOMEDIR]) }">
<h2>{{lang.t("Items To Download")}}</h2>
<div class="row">
<div class="col-md-4" ng-repeat="(contains, items) in list_checked">
<div style="padding: 10px; margin-bottom: 15px; border: 1px solid #ddd;">
<h5 style="margin-bottom: 0; font-size: 14px; font-weight: bold;">{{const.BACKUP_TYPE_ACCOUNT_NAMES[contains]}}</h5>
{{lang.t("%s items", 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>
<div><a href="" ng-click="removeItems(contains)" style="color: #cc0000"><span class="fas fa-times"></span> {{lang.t("Remove items")}}</a></div>
</div>
</div>
</div>
</div>
<div class="col-md-6" ng-show="askForEncryptionKey() || gotItems([const.BACKUP_TYPE_ACCOUNT_HOMEDIR])">
<div ng-show="askForEncryptionKey()">
<h2>{{lang.t("Backups Private Encryption Key")}}</h2>
<input type="text" class="form-control" ng-model="encryption.key" placeholder="{{lang.t('Paste your backups private encryption key in order to restore the selected items')}}" value="" />
</div>
<div ng-show="gotItems([const.BACKUP_TYPE_ACCOUNT_HOMEDIR])">
<h2>{{ lang.t("Directories and Files to exclude") }}</h2>
<div class="row">
<div class="col-md-10 col-sm-10 col-xs-12">
<div class="input-group">
<input id="exclude" class="form-control" ng-model="exclude.row" type="text" value="" />
<div class="input-group-btn">
<button type="button" class="btn btn-primary" ng-click="addExcludeRow()">{{ lang.t("Add Path") }}</button>
<button type="button" class="btn btn-primary" ng-click="addMultiExcludeRow()">{{ lang.t("Insert Multiple") }}</button>
</div>
</div>
<p class="help-block">{{ lang.t("Exclude files and directories from download") }}</p>
<div class="include-btns">
<button type="button" ng-click="options.exclude.splice($index, 1)" class="btn btn-primary btn-xs" ng-repeat="exclude in options.exclude track by $index">
<em aria-hidden="true" class="fas fa-times"></em>
{{ exclude }}
</button>
</div>
</div>
</div>
</div>
</div>
</div>