|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="cp">
|
|
|
|
<head>
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
<script data-bootload="main.js" data-main="/common/boot.js" src="/bower_components/requirejs/require.js"></script>
|
|
|
|
<link rel="icon" type="image/png"
|
|
|
|
href="/customize/main-favicon.png"
|
|
|
|
data-main-favicon="/customize/main-favicon.png"
|
|
|
|
data-alt-favicon="/customize/alt-favicon.png"
|
|
|
|
id="favicon" />
|
|
|
|
<link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css">
|
|
|
|
<link rel="stylesheet" href="/customize/main.css" />
|
|
|
|
<style>
|
|
|
|
html, body{
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
height: 100%;
|
|
|
|
background: url('/customize/bg3.jpg') no-repeat center center;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
#canvas-area {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.canvas-container {
|
|
|
|
border: 1px solid black;
|
|
|
|
margin: auto;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
#clear, #toggleDraw {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#colors {
|
|
|
|
z-index: 100;
|
|
|
|
background: white;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.selected {
|
|
|
|
margin-left: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
.selected img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#copy {
|
|
|
|
padding-left: 75px;
|
|
|
|
}
|
|
|
|
span.palette-color {
|
|
|
|
height: 4vw;
|
|
|
|
width: 4vw;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 5px;
|
|
|
|
border: 1px solid black;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
#controls {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
border-top: 1px solid black;
|
|
|
|
background: white;
|
|
|
|
height: 100px;
|
|
|
|
line-height: 100px;
|
|
|
|
}
|
|
|
|
#width, #colors {
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#color-picker {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#pickers {
|
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
z-index: -5;
|
|
|
|
}
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="toolbar" class="toolbar-container"></div>
|
|
|
|
|
|
|
|
<div id="canvas-area">
|
|
|
|
<canvas id="canvas" width="600" height="600" ></canvas>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="controls">
|
|
|
|
<button id="clear" data-localization="canvas_clear">Clear</button>
|
|
|
|
<button id="toggleDraw" data-localization="canvas_disable"></button>
|
|
|
|
<input id="width" type="range" value="5" min="1" max="100"></input><label for="width">5</label>
|
|
|
|
<span class="selected"></span>
|
|
|
|
</div>
|
|
|
|
<div id="colors"> </div>
|
|
|
|
|
|
|
|
<div id="loading">
|
|
|
|
<div class="loadingContainer">
|
|
|
|
<img class="cryptofist" src="/customize/cryptofist_small.png" />
|
|
|
|
<div class="spinnerContainer">
|
|
|
|
<span class="fa fa-spinner fa-pulse fa-4x fa-fw"></span>
|
|
|
|
</div>
|
|
|
|
<p data-localization="loading"></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="cursors" style="display: none; background: white; text-align: center;"></div>
|
|
|
|
<div id="pickers"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|