-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
executable file
·98 lines (78 loc) · 2.98 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>McKinley Station</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,700" rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="screen" href="fonts/stylesheet.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/framework.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/layout.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css" />
</head>
<body>
<div class="wrapper">
<header>
<div>
<h1 style="color:#666;">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100px"
height="40px" viewBox="0 0 100 40" style="overflow:visible;">
<path style="fill:#C15968;" d="M56,12.3C54.9,17.6,71.7,32,80.7, 40H100V0H70.8C64.3,3, 56.7,8.5, 56,12.3z" />
<path style="fill:#666;" d="M0,19.5C0,19.5,15.1,9,32.2,3.8c20-6.2,40.9-8.8,40.9-8.8S50.3,5.4,49,12
c-1.4,7.3,30.4,32.4,30.4,32.4s-27.3-1.6-48.6-9.1C7.3,27.1,0,19.5,0,19.5z" />
</svg>
McKinley Station
</h1>
</div>
</header>
<!-- App -->
<div id="app" class="app-wrapper">
<!-- Image -->
<div class="image-wrapper">
<canvas id="#canvas" ref="canvas" v-draw-card="card"></canvas>
<!-- Controls -->
<div class="image-controls" id="controls">
<p>
Select Art
<br/>
<input type="file" @change="input($event)" />
</p>
<a href="#" class="button" @click="save($event)">Save Image...</a>
</div>
<!-- /Controls -->
</div>
<!-- /Image -->
<!-- Panel -->
<div class="panel">
<div class="field">
<label>Card Type</label>
<select v-model="card['type']">
<option v-for="v in cardTypes" :value="v"> {{v}} </option>
</select>
</div>
<field-smart v-for="v in panelFields" :key="v" :index="v" :x="false" v-model="card">
</field-smart>
</div>
<!-- /Panel -->
</div>
<!-- /App -->
</div>
<!-- /wrapper -->
<!-- Vue Production -->
<!--<script src="js/vendor/vue.min.js"></script>-->
<!-- Vue Dev -->
<script src="js/vendor/vue.js"></script>
<!-- Settings -->
<script src="js/settings.js"></script>
<script src="js/fields.js"></script>
<script src="js/cardtypes.js"></script>
<!-- Canvas -->
<script src="js/canvas/text.js"></script>
<script src="js/canvas/images.js"></script>
<script src="js/canvas/canvas.js"></script>
<!-- Panel -->
<script src="js/panel/components.js"></script>
<script src="js/panel/app.js"></script>
</body>
</html>