diff options
| author | cbdev <cb@cbcdn.com> | 2021-10-29 20:22:18 +0200 | 
|---|---|---|
| committer | cbdev <cb@cbcdn.com> | 2021-10-29 20:22:18 +0200 | 
| commit | b87909c9dd7aabe7b8f8bd63138876dff5cd2200 (patch) | |
| tree | 55479eea6f24c824f1aef4e3d312cad7023e5ceb /interface | |
| parent | dad7fcafa4d4b2ab3fd59edb01c57a12155f0375 (diff) | |
| download | cargohold-b87909c9dd7aabe7b8f8bd63138876dff5cd2200.tar.gz cargohold-b87909c9dd7aabe7b8f8bd63138876dff5cd2200.tar.bz2 cargohold-b87909c9dd7aabe7b8f8bd63138876dff5cd2200.zip | |
Implement gallery view, add noscript notice, implement rudimentary overwrite protection
Diffstat (limited to 'interface')
| -rw-r--r-- | interface/listing.htm | 14 | 
1 files changed, 12 insertions, 2 deletions
| diff --git a/interface/listing.htm b/interface/listing.htm index 220df68..f2b1a14 100644 --- a/interface/listing.htm +++ b/interface/listing.htm @@ -15,12 +15,20 @@  		<div id="container">  			<div class="tab-wrap">  				<input type="radio" id="tab-view" name="tabs" class="tab" checked> -				<label for="tab-view">View</label> +				<label for="tab-view" id="tab-view-label">View</label>  				<input type="radio" id="tab-upload" name="tabs" class="tab"> -				<label for="tab-upload">Upload</label> +				<label for="tab-upload" id="tab-upload-label">Upload</label>  				<div class="tab-content"> +					<noscript> +						<div id="noscript-warning"> +							Sadly, cargohold does currently not work with JavaScript disabled. +							This feature may be added in the future. If you enable JavaScript, +							this is where you would see a list of files you can access using the +							current link. +						</div> +					</noscript>  					<div id="dirlisting">  					</div>  				</div> @@ -37,10 +45,12 @@  					</div>  					<div id="queue">  					</div> +					<!--  					<div id="storage">  						Storage space left: 2GB / 2GB <br/>  						<progress value="70" max="100">70 %</progress>  					</div> +					-->  				</div>  			</div>  		</div> | 
