-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·51 lines (45 loc) · 1.94 KB
/
index.html
File metadata and controls
executable file
·51 lines (45 loc) · 1.94 KB
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
<link href='https://fonts.googleapis.com/css?family=Lato:400,900italic,400italic,700italic,100italic,100,300,700,300italic' rel='stylesheet' type='text/css'>
<script data-require="angular.js@1.4.8" data-semver="1.4.8" src="https://code.angularjs.org/1.4.8/angular.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<link rel="stylesheet" href="style.css" />
<script src="alphabet.js"></script>
<script src="script.js"></script>
</head>
<body ng-app="emojiConverter" ng-controller="MainCtrl">
<div class="container">
<div class="row">
<div class="page-header">
<h1>Emoji ASCII Art Converter <small>for Slack or anything really</small></h1>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="form">
<div class="form-group">
<label for="darkInput">Text Color</label>
<input ng-model="darkSquare" id="darkInput" class="form-control">
</div>
<div class="form-group">
<label for="lightInput">Background Color</label>
<input ng-model="lightSquare" id="lightInput" class="form-control">
</div>
<div class="form-group" class="control-label">
<label for="mainStr">Input String</label>
<input ng-model="inputStr" id="mainStr" class="form-control">
</div>
<button ng-click="convert()" class="btn btn-success btn-lg">Convert!</button>
<div>{{error}}</div>
</div>
</div>
<div class="col-md-8" ng-if="output">
<h4>Output string: (click to copy!)</h4>
<pre ng-click="copyToClipboard()">{{output}}</pre>
</div>
</div>
</body>
</html>