Browse Source

Some fixes regarding multi-lang and css

master
Tobias Herre 3 years ago
parent
commit
91961198c4
4 changed files with 13 additions and 5 deletions
  1. +8
    -1
      index.php
  2. +3
    -2
      kaform.js
  3. +1
    -1
      master.css
  4. +1
    -1
      master.scss

+ 8
- 1
index.php 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)

+ 3
- 2
kaform.js 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'
}); });

+ 1
- 1
master.css 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 {

+ 1
- 1
master.scss 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;

Loading…
Cancel
Save