Current File : //usr/local/jetapps/var/www/jetbackup5/docroot/app/views/myAccount.htm
<div ng-controller="myAccount" class="controller-box">
    <h1>{{ lang.t("My Account") }}</h1>

    <div class='alert alert-warning' style="margin-top: 20px;" ng-show="encryptionKey">
        <div class='alert-message'>
            <strong class="alert-title" style="font-size: 20px;">{{lang.t("Your Backups Private Encryption Key")}}</strong>
            <div class="alert-body">
                <code>{{encryptionKey}}</code>
                <p>{{lang.t("PLEASE COPY THE KEY AND SAVE IT IN A SAFE PLACE. This key is required to restore data from backups, WITHOUT this key, encrypted data will be lost")}}</p>
            </div>
        </div>
    </div>
    
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_content">
                    <br>
                    <form data-parsley-validate="" class="form-horizontal form-label-left" novalidate>
                        <div class="form-group">
                            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="email">{{ lang.t("Email Address") }}</label>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <input id="email" class="form-control col-md-7 col-xs-12" type="text" ng-model="saveData.email" value="saveData.email" />
                                <p class="help-block">{{ lang.t("The client Email address for notifications. Leave empty to disable notifications") }}</p>
                            </div>
                        </div>
                        <!--div class="form-group" ng-show="perm.isRoot">
                            <label class="control-label col-md-3 col-sm-3 col-xs-12" >{{ lang.t("Reset Encryption Key") }}</label>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <button type="button" ng-show="details.secret_key"  ng-click="resetEncryptionKey()" class="btn btn-primary" tooltip="GDPR Mode must first be enabled in order to reset an encryption key.">{{lang.t("Reset Now")}}</button>
                                <div ng-hide="details.secret_key">{{lang.t("No Encryption Key Found")}}</div>
                                <p class="help-block">{{ lang.t("PLEASE NOTE! Once you reset the account encryption key, ALL BACKUPS becomes inaccessible and will be deleted.") }}</p>
                            </div>
                        </div-->
                        <div ng-hide="details.login_only">
                            <div class="form-group" ng-show="info.encryption_selection == 1">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12">{{ lang.t("Backup Type") }}</label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <div>
                                        <div class="pretty p-default p-round p-smooth">
                                            <input type="radio" ng-model="saveData.backup_type" id="backup_type_0" ng-checked="saveData.backup_type == 0" value="0" />
                                            <div class="state p-primary"><label for="backup_type_0">{{ lang.t("Any Backups") }}</label></div>
                                        </div>
                                        <p class="help-block">{{lang.t("Your account will be backed up normally.")}}</p>
                                    </div>
                                    <div>
                                        <div class="pretty p-default p-round p-smooth">
                                            <input type="radio" ng-model="saveData.backup_type" id="backup_type_1" ng-checked="saveData.backup_type == 1" value="1" />
                                            <div class="state p-primary"><label for="backup_type_1">{{ lang.t("Only Encrypted Backups") }}</label></div>
                                        </div>
                                        <p class="help-block">{{lang.t("Your account will be backed up only on encrypted backup jobs, and will be excluded from any other backup jobs.")}}</p>
                                    </div>
                                    <div>
                                        <div class="pretty p-default p-round p-smooth">
                                            <input type="radio" ng-model="saveData.backup_type" id="backup_type_2" ng-checked="saveData.backup_type == 2" value="2" />
                                            <div class="state p-primary"><label for="backup_type_2">{{ lang.t("No Backups") }}</label></div>
                                        </div>
                                        <p class="help-block">{{lang.t("Your account will not be backed up at all.")}}</p>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group" ng-show="info.encryption_selection == 1 && saveData.backup_type == 1">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12">{{ lang.t("Encryption Key") }}</label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <div>
                                        <div class="pretty p-default p-round p-smooth">
                                            <input type="radio" ng-model="saveData.encryption_key_type" id="encryption_key_type_0" ng-checked="saveData.encryption_key_type == 0" value="0" />
                                            <div class="state p-primary"><label for="encryption_key_type_0">{{ lang.t("Local Encryption Key") }}</label></div>
                                        </div>
                                        <p class="help-block">
                                            {{lang.t("This should be used if you trust your hosting provider with your encryption key. Your hosting provider will be able to access your backups and perform actions for you (restore from backups).")}}
                                        </p>
                                    </div>
                                    <div>
                                        <div class="pretty p-default p-round p-smooth">
                                            <input type="radio" ng-model="saveData.encryption_key_type" id="encryption_key_type_1" ng-checked="saveData.encryption_key_type == 1" value="1" />
                                            <div class="state p-primary"><label for="encryption_key_type_1">{{ lang.t("Remote Encryption Key Type") }}</label></div>
                                        </div>
                                        <p class="help-block">
                                            {{lang.t("This should be used if you *DON'T* trust your hosting provider with your encryption key. Your hosting provider will *NOT* be able to access your backups or perform any action for you (restore from backups) without having the key.")}}<br />
                                            {{lang.t("CAUTION: If your encryption key is LOST, you will not be able to restore the account backups to your account.")}}
                                        </p>
                                    </div>
                                </div>
                            </div>

                            <div class="form-group" ng-show="info.forgotten_ttl > 0">
                                <label class="control-label col-md-3 col-sm-3 col-xs-12">{{ lang.t("Privacy Options") }}</label>
                                <div class="col-md-6 col-sm-6 col-xs-12">
                                    <div>
                                        <div class="pretty p-default p-curve p-smooth">
                                            <input type="checkbox" ng-checked="saveData.privacy == 1" id="privacy" ng-click="saveData.privacy = (saveData.privacy ? 0 : 1)" />
                                            <div class="state p-primary"><label for="privacy">{{ lang.t("The Right To Be Forgotten") }}</label></div>
                                        </div>
                                        <p class="help-block">
                                            {{lang.t("If this option is enabled when your account is closed/terminated all data (including backups) related to your account will be permanently deleted within %s days (This time value is set by your hosting provider).", info.forgotten_ttl)}}<br />
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="ln_solid"></div>
                        <div class="form-group">
                            <div class="col-md-4 col-sm-4 col-xs-12 col-md-offset-3">
                                <div class="input-group" style="margin-top: 5px;" ng-show="requireEncryptionKey()" ng-disabled="saveing">
                                    <span class="input-group-addon ng-binding">{{lang.t("Encryption Key")}}</span>
                                    <input type="text" value="" class="form-control ng-valid ng-dirty ng-touched ng-empty" ng-model="currentEncryptionKey" placeholder="{{lang.t('Paste your private backup encryption key to continue')}}" title="{{lang.t('Past your private backup encryption key to continue')}}">
                                    <span class="input-group-btn">
                                        <button type="button" class="btn btn-primary" ng-click="saveChanges()">{{ lang.t("Save") }}</button>
                                    </span>
                                </div>
                                <button ng-hide="requireEncryptionKey()" type="button" class="btn btn-primary" ng-click="saveChanges()" ng-disabled="saveing">{{ lang.t("Save") }}</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>