working on stretchable tiles
This commit is contained in:
@@ -6,8 +6,13 @@ html{
|
||||
height: 100%;
|
||||
}
|
||||
body{
|
||||
min-height: 100%;
|
||||
background: #c6dbd2;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
#plan{
|
||||
background: #c6dbd2;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tile{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const ADD = 'add';
|
||||
const MOVE = 'move';
|
||||
const SQUARE = 30;
|
||||
const BODY = 'body';
|
||||
const BODY = '#plan';
|
||||
const DIV = 'DIV';
|
||||
const SVG = 'svg';
|
||||
const PLAN = 'plan';
|
||||
@@ -137,6 +137,7 @@ function savePlan(ev){
|
||||
|
||||
window.onload = function () {
|
||||
var isDragging = false;
|
||||
console.log($(BODY).each(function(){console.log(this)}));
|
||||
$('.menu > div').click(closeMenu);
|
||||
$('.menu .addtile .list svg').click(enableAdding);
|
||||
$('.menu .move .list div').click(enableMove);
|
||||
|
||||
@@ -3,5 +3,6 @@ Added {} : {} hinzugefügt
|
||||
Add tile : Kachel hinzufügen
|
||||
Plan saved as "{}". : Plan als „{}“ gespeichert.
|
||||
Properties : Eigenschaften
|
||||
Properties of {} @ ({},{}) : Eigenschaften von {} @ ({},{})
|
||||
Save plan : Plan speichern
|
||||
Unknown action\: {} : Unbekannte Aktion: {}
|
||||
Reference in New Issue
Block a user