Browse Source

Some fixes regarding multi-lang and css

master
Tobias Herre 10 months ago
parent
commit
91961198c4
  1. 9
      index.php
  2. 5
      kaform.js
  3. 2
      master.css
  4. 2
      master.scss

9
index.php

@ -47,7 +47,14 @@
<?php include "form.php" ?>
</div>
<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
$ct = @file_get_contents( "./locale/$loc1/h2.php");
if ($ct==false)

5
kaform.js

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

2
master.css

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

2
master.scss

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

Loading…
Cancel
Save