mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	fix backup-location lines, by switching it from id to class
This commit is contained in:
		
							parent
							
								
									5c221831d4
								
							
						
					
					
						commit
						49cdbe8c8f
					
				@ -24,7 +24,7 @@
 | 
			
		||||
  <!-- LOCAL BACKUP -->
 | 
			
		||||
  <div class="form-group backup-target-local">
 | 
			
		||||
    <div class="col-sm-10 col-sm-offset-2">
 | 
			
		||||
      <p>Backups are stored on this machine’s own hard disk. You are responsible for periodically using SFTP (FTP over SSH) to copy the backup files from <tt id="backup-location"></tt> to a safe location. These files are encrypted, so they are safe to store anywhere.</p>
 | 
			
		||||
      <p>Backups are stored on this machine’s own hard disk. You are responsible for periodically using SFTP (FTP over SSH) to copy the backup files from <tt class="backup-location"></tt> to a safe location. These files are encrypted, so they are safe to store anywhere.</p>
 | 
			
		||||
      <p>Separately copy the encryption password from <tt class="backup-encpassword-file"></tt> to a safe and secure location. You will need this file to decrypt backup files.</p>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
@ -33,7 +33,7 @@
 | 
			
		||||
    <div class="col-sm-10 col-sm-offset-2">
 | 
			
		||||
 | 
			
		||||
      <p>Backups synced to a remote machine using rsync over SSH, with local
 | 
			
		||||
      copies in <tt id="backup-location"></tt>. These files are encrypted, so
 | 
			
		||||
      copies in <tt class="backup-location"></tt>. These files are encrypted, so
 | 
			
		||||
      they are safe to store anywhere.</p> <p>Separately copy the encryption
 | 
			
		||||
      password from <tt class="backup-encpassword-file"></tt> to a safe and
 | 
			
		||||
      secure location. You will need this file to decrypt backup files.</p>
 | 
			
		||||
@ -205,8 +205,8 @@ function show_custom_backup() {
 | 
			
		||||
        $("#backup-target-user").val(r.target_user);
 | 
			
		||||
        $("#backup-target-pass").val(r.target_pass);
 | 
			
		||||
        $("#min-age").val(r.min_age_in_days);
 | 
			
		||||
        $('#backup-location').text(r.file_target_directory);
 | 
			
		||||
        $('.backup-encpassword-file').text(r.enc_pw_file);
 | 
			
		||||
        $(".backup-location").text(r.file_target_directory);
 | 
			
		||||
        $(".backup-encpassword-file").text(r.enc_pw_file);
 | 
			
		||||
 | 
			
		||||
        if (r.target == "file://" + r.file_target_directory) {
 | 
			
		||||
          $("#backup-target-type").val("local");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user