|
@ -8,28 +8,21 @@ |
|
|
<meta http-equiv="pragma" content="no-cache" /> |
|
|
<meta http-equiv="pragma" content="no-cache" /> |
|
|
<meta name="viewport" content="width=device-width, user-scalable=no"> |
|
|
<meta name="viewport" content="width=device-width, user-scalable=no"> |
|
|
<link href="/web/style.css" rel="stylesheet" type="text/css"> |
|
|
<link href="/web/style.css" rel="stylesheet" type="text/css"> |
|
|
<title>meshed up</title> |
|
|
<title>meshenger</title> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<div id="header"> |
|
|
<div id="message-page"> |
|
|
<h2>Meshenger</h2> |
|
|
<button id="message-back">Back</button> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<form id="message-form" action="" accept-charset="utf-8"> |
|
|
<form id="message-form" action="" accept-charset="utf-8"> |
|
|
<textarea id="name" rows="1" placeholder="Your Name"></textarea> |
|
|
<textarea id="name" rows="1" placeholder="Your Name"></textarea> |
|
|
<textarea id="message" rows="2" placeholder="Your Message"></textarea> |
|
|
<textarea id="message" rows="2" placeholder="Your Message"></textarea> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- removed photo button from here, otherwise triggers sending (empty) messages... TO FIX--> |
|
|
<!-- removed photo button from here, otherwise triggers sending (empty) messages... TO FIX--> |
|
|
|
|
|
|
|
|
<input type="submit" class="send-button" value="Send"> |
|
|
<input type="submit" class="send-button" value="Send"> |
|
|
</form> |
|
|
</form> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<button id="pop" class="photo-buttons" onclick="document.getElementById('photoEdit').style.display='block';">Add Photo</button> |
|
|
<div id="photo-page" class="photoBox"> |
|
|
|
|
|
<button id="photo-back">Back</button> |
|
|
|
|
|
|
|
|
<div id="photoEdit" class="photoBox"> |
|
|
|
|
|
<input id="fileInput" accept="image/*" capture="camera" type="file"> |
|
|
<input id="fileInput" accept="image/*" capture="camera" type="file"> |
|
|
<br> |
|
|
<br> |
|
|
<p> |
|
|
<p> |
|
@ -39,13 +32,10 @@ |
|
|
|
|
|
|
|
|
<!--Squashed source<br>--> |
|
|
<!--Squashed source<br>--> |
|
|
<img id="sourceImage" src="" alt="capture" height="400" width="400"> |
|
|
<img id="sourceImage" src="" alt="capture" height="400" width="400"> |
|
|
|
|
|
|
|
|
<!--Offset done<br>--> |
|
|
<!--Offset done<br>--> |
|
|
<canvas id="canvas1" width="400" height="400"></canvas> |
|
|
<canvas id="canvas1" width="400" height="400"></canvas> |
|
|
|
|
|
|
|
|
<!--Dithered<br>--> |
|
|
<!--Dithered<br>--> |
|
|
<canvas id="canvas2" width="400" height="400"></canvas> |
|
|
<canvas id="canvas2" width="400" height="400"></canvas> |
|
|
|
|
|
|
|
|
<!--Rotated<br>--> |
|
|
<!--Rotated<br>--> |
|
|
<canvas id="canvas3" width="400" height="400"></canvas> |
|
|
<canvas id="canvas3" width="400" height="400"></canvas> |
|
|
<br> |
|
|
<br> |
|
@ -53,19 +43,24 @@ |
|
|
<button id="rotLeft">Rotate left</button> |
|
|
<button id="rotLeft">Rotate left</button> |
|
|
<button id="rotRight">Rotate right</button> |
|
|
<button id="rotRight">Rotate right</button> |
|
|
|
|
|
|
|
|
<button id="submitPhoto" class="photo-buttons" onclick="submitImage();document.getElementById('photoEdit').style.display='none';">submit</button> |
|
|
<button id="submit-photo" class="photo-buttons">submit</button> |
|
|
|
|
|
<button id="cancel-photo" class="photo-buttons">cancel</button> |
|
|
|
|
|
|
|
|
<button id="submitPhoto" class="photo-buttons" onclick="document.getElementById('photoEdit').style.display='none';">cancel</button> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div id="overview-page"> |
|
|
<div class="messages"> |
|
|
<div class="messages"> |
|
|
<ul id="inbox"></ul> |
|
|
<ul id="inbox"></ul> |
|
|
|
|
|
|
|
|
<ul id="outbox"></ul> |
|
|
<ul id="outbox"></ul> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
|
|
|
<button id="new-photo">Picture</button> |
|
|
|
|
|
<button id="new-message">Message</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<script src="/web/main.js"></script> |
|
|
<script src="/web/main.js"></script> |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |
|
|