mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-22 16:06:30 -05:00
Auto update
This commit is contained in:
parent
c596295d82
commit
8c04cad1f0
17 changed files with 186 additions and 19 deletions
|
|
@ -212,7 +212,7 @@ A primary factor in categorizing storage solutions is their support for <strong
|
|||
<svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>
|
||||
</button>
|
||||
<div class="info-content" hidden>
|
||||
ZFS and Btrfs provide bit-rot protection comparable to SnapRAID. One drawback of ZFS is that its default Fletcher checksum prioritizes speed over reliability. SnapRAID uses 128-bit SpookyHash.
|
||||
ZFS provides bit-rot protection comparable to SnapRAID. One drawback of ZFS is that its default Fletcher checksum prioritizes speed over reliability. SnapRAID uses 128-bit SpookyHash.
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
@ -223,7 +223,7 @@ A primary factor in categorizing storage solutions is their support for <strong
|
|||
<svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>
|
||||
</button>
|
||||
<div class="info-content" hidden>
|
||||
ZFS and Btrfs provide bit-rot protection comparable to SnapRAID. Btrfs uses CRC32C by default. SnapRAID uses 128-bit SpookyHash.
|
||||
Btrfs provides bit-rot protection comparable to SnapRAID. Btrfs uses CRC32C by default. SnapRAID uses 128-bit SpookyHash.
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
@ -303,7 +303,7 @@ A primary factor in categorizing storage solutions is their support for <strong
|
|||
<svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>
|
||||
</button>
|
||||
<div class="info-content" hidden>
|
||||
unRAID 7.2 claims it can add data disks to an existing array, but it effectively rebuilds parity from scratch. During this process, disks already in the array <a href="https://youtu.be/frtauLMO3-c?t=803">are not protected</a>. This puts stress on all drives with no safety net.
|
||||
unRAID 7.2 claims it can add data disks to an existing array, but it effectively rebuilds parity from scratch. During this process, disks already in the array <a href="https://youtu.be/frtauLMO3-c?t=803">are not protected</a>. This puts stress on all drives with no safety net. If any disk is near failure, there’s a high risk it could fail during this operation. With unRAID, the only safe way to add a new data disk to an existing array is to pre-clear it first.
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -264,8 +264,8 @@ Does SnapRAID have a GUI?
|
|||
</h3>
|
||||
<div class="faq-answer">
|
||||
<p>
|
||||
No, SnapRAID is a command-line application.
|
||||
However, there is an external GUI called
|
||||
Yes, SnapRAID Daemon includes a web GUI.
|
||||
There is also an external GUI called
|
||||
<a href="https://elucidate.codeplex.com/">
|
||||
Elucidate
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures">
|
||||
<meta name="keywords" content="snapraid snapshot raid backup disk array redundancy parity">
|
||||
<title>SnapRAID Manual</title>
|
||||
<title>SnapRAID CLI Manual</title>
|
||||
<style>html,body{background-color:#020617;color:#f8fafc;}</style>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
|
|
@ -66,7 +66,16 @@
|
|||
|
||||
|
||||
<div class="container manual-layout">
|
||||
|
||||
<aside class="manual-sidebar">
|
||||
|
||||
<h4>Component</h4>
|
||||
<select id="manual-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual.html">Command Line</option>
|
||||
<option value="manual-daemon.html">Daemon</option>
|
||||
<option value="manual-log.html">Log</option>
|
||||
</select>
|
||||
|
||||
<h4>Languages</h4>
|
||||
<select id="language-selector" style="width: 100%; padding: 5px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 2rem;">
|
||||
<option value="manual">English</option>
|
||||
|
|
@ -92,6 +101,7 @@
|
|||
</ul>
|
||||
</aside>
|
||||
|
||||
|
||||
<main id="manual-container">
|
||||
|
||||
<div class="manual-doc">
|
||||
|
|
|
|||
|
|
@ -184,6 +184,33 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
});
|
||||
}
|
||||
|
||||
// Manual Section Selector functionality
|
||||
const manualSelector = document.getElementById('manual-selector');
|
||||
if (manualSelector) {
|
||||
const currentFile = window.location.pathname.split('/').pop() || 'manual.html';
|
||||
const options = Array.from(manualSelector.options);
|
||||
const matchingOption = options.find(opt => opt.value === currentFile);
|
||||
|
||||
if (matchingOption) {
|
||||
manualSelector.value = currentFile;
|
||||
} else {
|
||||
// Default to first option (CLI) if current file doesn't match specific sections
|
||||
// This handles cases like manual-it.html where we want "CLI" selected
|
||||
if (currentFile.includes('manual') && !currentFile.includes('daemon') && !currentFile.includes('log')) {
|
||||
const cliOption = options.find(opt => opt.value === 'manual.html');
|
||||
if (cliOption) manualSelector.value = 'manual.html';
|
||||
}
|
||||
}
|
||||
|
||||
// Redirect on change
|
||||
manualSelector.addEventListener('change', (e) => {
|
||||
const selectedPage = e.target.value;
|
||||
if (selectedPage) {
|
||||
window.location.href = selectedPage;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// UI Gallery Preview on Click
|
||||
const shots = document.querySelectorAll('.ui-shot');
|
||||
const overlay = document.getElementById('ui-preview-overlay');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue