Some fixes regarding multi-lang and css

This commit is contained in:
Tobias Herre 2021-10-18 17:06:07 +02:00
parent 297b5ee5d0
commit 91961198c4
4 changed files with 13 additions and 5 deletions

View File

@ -47,7 +47,14 @@
<?php include "form.php" ?> <?php include "form.php" ?>
</div> </div>
<div class="is-col is-30"> <div class="is-col is-30">
<?php include "h1.php" ?> <?php
$ct = @file_get_contents( "./locale/$loc1/h1.php");
if ($ct==false)
$ct = file_get_contents( "h1.php");
echo $ct;
?>
<?php <?php
$ct = @file_get_contents( "./locale/$loc1/h2.php"); $ct = @file_get_contents( "./locale/$loc1/h2.php");
if ($ct==false) if ($ct==false)

View File

@ -173,7 +173,7 @@ function getRow(rid,num) {
+ "<td data-label=\"Betrag\">" + "<td data-label=\"Betrag\">"
+ `<input class="tab_input" name="amount[${rid}] type="text" placeholder="0.00"/>` + `<input class="tab_input" name="amount[${rid}] type="text" placeholder="0.00"/>`
+ "</td>" + "</td>"
+ "<td style=\"vertical-align: middle\">" + "<td data-label=\"W&auml;hrung\" style=\"vertical-align: middle\">"
+ cur + cur
// + // +
@ -241,7 +241,8 @@ $K.add('module', 'kaform', {
}); });
$K.init({ $K.init({
observer: true observer: true,
lang: 'en'
}); });

View File

@ -3,7 +3,7 @@ body {
padding: 1em; padding: 1em;
border: 0px solid red; border: 0px solid red;
max-width: 90em; max-width: 90em;
min-width: 78em; min-width: 80em;
} }
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
body { body {

View File

@ -9,7 +9,7 @@ body {
padding:1em; padding:1em;
border:0px solid red; border:0px solid red;
max-width:90em; max-width:90em;
min-width:78em; min-width:80em;
@include for-mobile { @include for-mobile {
min-width: 2em; min-width: 2em;
padding:0.5em; padding:0.5em;