This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Editable Table</title> | |
<link rel="stylesheet prefetch" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
<style> | |
.table-editable { | |
position: relative; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: #5796d4; | |
overflow-x: hidden; | |
font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif; | |
} | |
/* Assets */ | |
.image-wrap { | |
position:relative; | |
width:100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -uroot -p'dev' -hlocalhost dbname < /blubb.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$debug: false; | |
// Variables | |
$responsive-typo__max-width: 1440px !default; | |
$responsive-typo__small-screen-width: 480px !default; | |
$responsive-typo__base-html-font-size: 87.5% !default; | |
$responsive-typo__step: 10px !default; | |
$responsive-typo__font-size-step: 1% !default; | |
@mixin responsive-typo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function handleFile(file){ | |
console.log(file) | |
} | |
document.querySelector('form').onsubmit = function(evt){ | |
evt.preventDefault(); | |
var fileField = document.querySelector('[name=file]'); | |
// Keine Datei gewählt? Default per XHR holen! | |
if(fileField.files.length === 0){ | |
var req = new XMLHttpRequest(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table { display: table } | |
tr { display: table-row } | |
thead { display: table-header-group } | |
tbody { display: table-row-group } | |
tfoot { display: table-footer-group } | |
col { display: table-column } | |
colgroup { display: table-column-group } | |
td, th { display: table-cell } | |
caption { display: table-caption } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Predefined Settings | |
*/ | |
var model = { | |
daysObj: { | |
0: [0,1,2,3,4,5,6], | |
1: [1,2,3,4,5,6,0], | |
2: [2,3,4,5,6,0,1], | |
3: [3,4,5,6,0,1,2], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="javascript:void(0)">Trigger</a> |