Added language meta tag

main
Max Nuding 2021-11-26 21:15:31 +01:00
parent 999c77a17d
commit f5a6345e52
Signed by: phlaym
GPG Key ID: A06651BAB6777237
1 changed files with 12 additions and 3 deletions

View File

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