Added language meta tag
This commit is contained in:
parent
999c77a17d
commit
f5a6345e52
15
index.php
15
index.php
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user