Added language meta tag

This commit is contained in:
Max Nuding 2021-11-26 21:15:31 +01:00
parent 999c77a17d
commit f5a6345e52
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -3,7 +3,7 @@ session_start();
require __DIR__ . '/vendor/autoload.php';
use PhotoPrismUpload\API\PhotoPrism;
$footer = '<footer style="position: fixed;bottom: 0;left: 0;"><a href="/git/phlaym/photoprismupload">Ich bin Open Source</a></footer>';
?>
<html>
<head>
@ -14,6 +14,7 @@ use PhotoPrismUpload\API\PhotoPrism;
<meta name="author" content="Max Nuding">
<meta http-equiv="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv=”content-language” content=”de-de”/>
<style>
::root {
background-color: white;
@ -25,6 +26,12 @@ use PhotoPrismUpload\API\PhotoPrism;
background-color: rgb(54, 54, 54);
color: white;
}
a {
color: rgb(105, 105, 242);
}
a:visited {
color: rgb(152, 95, 215);
}
}
.form-wrapper {
display: grid;
@ -63,7 +70,6 @@ use PhotoPrismUpload\API\PhotoPrism;
#error {
grid-row: 2;
}
label[for="fileProgress"] {
grid-row: 3;
}
@ -78,6 +84,9 @@ use PhotoPrismUpload\API\PhotoPrism;
grid-row: 6;
width: 100%;
}
footer {
margin: 8px;
}
</style>
</head>
<body>
@ -224,7 +233,7 @@ if (!isset($_POST['submit'])) {
});
</script>
<?php
die('</body></html>');
die($footer.'</body></html>');
}
try {
$api->uploadPhotos($_POST['album']);