Improve link colors, add lifecycle notice
parent
acd2f031f9
commit
4bd1273a9d
|
@ -1,4 +1,5 @@
|
|||
node_modules
|
||||
web/assets
|
||||
upl
|
||||
|
||||
.env
|
||||
|
|
2
Makefile
2
Makefile
|
@ -16,7 +16,7 @@ upl: *.go web/*.tmpl
|
|||
$(GO) build -ldflags="-s -w" -tags "$(TAGS)" -v -o upl
|
||||
|
||||
.PHONY: test
|
||||
test: data
|
||||
test:
|
||||
$(GO) test -cover -bench=. -v ./...
|
||||
|
||||
|
||||
|
|
|
@ -33,6 +33,11 @@
|
|||
<label for="options-save-bucket">Remember</label>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mt-1 text-gray-500">
|
||||
Consider setting up a <a class="text-blue-600 hover:text-blue-800" target="_blank" href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpu-abort-incomplete-mpu-lifecycle-config.html">lifecycle policy</a> to abort incomplete multipart uploads.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<label for="options-endpoint">Endpoint</label>
|
||||
<div class="mt-1">
|
||||
|
@ -108,7 +113,7 @@
|
|||
value="">
|
||||
</div>
|
||||
<p class="mt-1 text-sm text-gray-500">
|
||||
Specify a <a class="text-blue-700" target="_blank" href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl">canned ACL</a>. Otherwise, object access permissions will follow bucket defaults.
|
||||
Specify a <a class="text-blue-600 hover:text-blue-800" target="_blank" href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl">canned ACL</a>. Otherwise, object access permissions will follow bucket defaults.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
@ -59,6 +59,8 @@ createAreas.forEach(createArea => {
|
|||
title: `
|
||||
Endpoint: ${data.get('Endpoint')}
|
||||
Region: ${data.get('Region')}
|
||||
Access key: ${data.get('AccessKey')}
|
||||
Canned ACL: ${data.get('ACL')}}
|
||||
Prefix: ${data.get('Prefix')}
|
||||
Expires: ${data.get('ExpiresNumber')}${data.get('ExpiresUnits')}
|
||||
`.trim(),
|
||||
|
|
|
@ -44,7 +44,7 @@ class Log {
|
|||
const urlOpen = document.createElement('a');
|
||||
urlOpen.target = '_blank';
|
||||
urlOpen.href = item.location;
|
||||
urlOpen.classList.add('rounded-r-md', 'px-2', 'text-blue-700', 'border', 'border-l-0', 'border-gray-400', 'inline-flex', 'items-center');
|
||||
urlOpen.classList.add('rounded-r-md', 'px-2', 'text-blue-600', 'hover:text-blue-800', 'border', 'border-l-0', 'border-gray-400', 'inline-flex', 'items-center');
|
||||
urlOpen.innerText = 'Open';
|
||||
base.appendChild(urlOpen);
|
||||
|
||||
|
|
Loading…
Reference in New Issue