-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
147 lines (139 loc) · 8.9 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MyCustomTees</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Customise Plain T-shirts to your taste">
<meta name="author" content="Emmanuel Okwuzi">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="js/fabric.js"></script>
<script type="text/javascript" src="js/tshirtEditor.js"></script>
<script type="text/javascript" src="js/jquery.miniColors.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<link type="text/css" rel="stylesheet" href="css/jquery.miniColors.css" />
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
</head>
<body class="preview" data-spy="scroll" data-target=".subnav" data-offset="80">
<!-- HEADER -->
<div class="navbar navbar-fixed-top" style="background-color: #cb5a23e3;">
<div class="navbar-inner" style="background: #cb5a23e3; border: none;" >
<div class="container" style="background-color: #cb5a23e3; ">
<a class="brand" href="#">Custom Tees</a>
</div>
</div>
</div>
<div class="container">
<section id="typography">
<div class="page-header">
<h1 style="color: #cb5a23e3;">Customize T-Shirt</h1>
</div>
<div class="row" style="display: flex; justify-content: space-between;">
<div class="span3" style="width: 255px;">
<!-- EDITOR -->
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">T-Shirt Options</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab1">
<div class="well">
<ul class="nav">
<li class="color-preview" title="White" style="background-color:#ffffff;"></li>
<li class="color-preview" title="Dark Heather" style="background-color:#616161;"></li>
<li class="color-preview" title="Gray" style="background-color:#f0f0f0;"></li>
<li class="color-preview" title="Charcoal" style="background-color:#5b5b5b;"></li>
<li class="color-preview" title="Black" style="background-color:#222222;"></li>
<li class="color-preview" title="Heather Orange" style="background-color:#fc8d74;"></li>
<li class="color-preview" title="Heather Dark Chocolate" style="background-color:#432d26;"></li>
<li class="color-preview" title="Salmon" style="background-color:#eead91;"></li>
<li class="color-preview" title="Chesnut" style="background-color:#806355;"></li>
<li class="color-preview" title="Dark Chocolate" style="background-color:#382d21;"></li>
<li class="color-preview" title="Citrus Yellow" style="background-color:#faef93;"></li>
<li class="color-preview" title="Avocado" style="background-color:#aeba5e;"></li>
<li class="color-preview" title="Kiwi" style="background-color:#8aa140;"></li>
<li class="color-preview" title="Irish Green" style="background-color:#1f6522;"></li>
<li class="color-preview" title="Scrub Green" style="background-color:#13afa2;"></li>
<li class="color-preview" title="Teal Ice" style="background-color:#b8d5d7;"></li>
<li class="color-preview" title="Heather Sapphire" style="background-color:#15aeda;"></li>
<li class="color-preview" title="Sky" style="background-color:#a5def8;"></li>
<li class="color-preview" title="Antique Sapphire" style="background-color:#0f77c0;"></li>
<li class="color-preview" title="Heather Navy" style="background-color:#3469b7;"></li>
<li class="color-preview" title="Cherry Red" style="background-color:#c50404;"></li>
</ul>
<div class="input-append">
<!-- TEXT INPUT -->
<input class="span2" id="text-string" type="text" placeholder="My Custom Tee..."><button id="add-text" class="btn" title="Add text"><i class="icon-share-alt"></i></button>
<hr>
<!-- IMAGE UPLOAD -->
<input type="file" id="imgLoader" style="width: 90%;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="span6">
<div align="center" style="min-height: 32px;">
<div class="clearfix" style="display: flex; flex-direction: column;">
<div class="btn-group inline pull-left" id="texteditor" style="display:none">
<button id="font-family" class="btn dropdown-toggle" data-toggle="dropdown" title="Font Style"><i class="icon-font" style="width:19px;height:19px;"></i></button>
<ul class="dropdown-menu" role="menu" aria-labelledby="font-family-X">
<li><a tabindex="-1" href="#" onclick="setFont('Arial');" class="Arial">Arial</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Helvetica');" class="Helvetica">Helvetica</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Myriad Pro');" class="MyriadPro">Myriad Pro</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Delicious');" class="Delicious">Delicious</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Verdana');" class="Verdana">Verdana</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Georgia');" class="Georgia">Georgia</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Courier');" class="Courier">Courier</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Comic Sans MS');" class="ComicSansMS">Comic Sans MS</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Impact');" class="Impact">Impact</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Monaco');" class="Monaco">Monaco</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Optima');" class="Optima">Optima</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Hoefler Text');" class="Hoefler Text">Hoefler Text</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Plaster');" class="Plaster">Plaster</a></li>
<li><a tabindex="-1" href="#" onclick="setFont('Engagement');" class="Engagement">Engagement</a></li>
</ul>
<button id="text-bold" class="btn" data-original-title="Bold"><img src="img/font_bold.png" height="" width=""></button>
<button id="text-italic" class="btn" data-original-title="Italic"><img src="img/font_italic.png" height="" width=""></button>
<button id="text-strike" class="btn" title="Strike"><img src="img/font_strikethrough.png" height="" width=""></button>
<button id="text-underline" class="btn" title="Underline"><img src="img/font_underline.png"></button>
<a class="btn" href="#" rel="tooltip" data-placement="top" data-original-title="Font Color"><input type="hidden" id="text-fontcolor" class="color-picker" size="7" value="#000000"></a>
<a class="btn" href="#" rel="tooltip" data-placement="top" data-original-title="Font Border Color"><input type="hidden" id="text-strokecolor" class="color-picker" size="7" value="#000000"></a>
</div>
<div class="pull-right" id="imageeditor" style="display:none">
<div class="btn-group">
<button class="btn" id="bring-to-front" title="Bring to Front"><i class="icon-fast-backward rotate" style="height:19px;"></i></button>
<button class="btn" id="send-to-back" title="Send to Back"><i class="icon-fast-forward rotate" style="height:19px;"></i></button>
<button id="flip" type="button" class="btn" title="Show Back View"><i class="icon-retweet" style="height:19px;"></i></button>
<button id="remove-selected" class="btn" title="Delete selected item"><i class="icon-trash" style="height:19px;"></i></button>
</div>
</div>
</div>
</div>
<!-- CANVAS -->
<div id="shirtDiv" class="shirt-wrapper" >
<img id="tshirtFacing" src="img/crew_front.png"></img>
<div id="drawingArea">
<canvas id="tcanvas" width=200 height="400" class="hover" style="-webkit-user-select: none; user-select: none;"></canvas>
</div>
</div>
</div>
</div>
</section>
<h1 class="large">Oops sorry, only available for larger devices for now.</h1>
</div>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35639689-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>