-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (58 loc) · 2.26 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
<html ng-app="TrashQuotidiano">
<head>
<title>TrashQuotidiano</title>
<meta charset="utf-8">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="css/select.min.css"/>
<link rel="stylesheet" type="text/css" href="css/select2.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- Javascript -->
<script src="js/lib/angular.min.js"></script>
<script src="js/lib/ui-bootstrap.min.js"></script>
<script src="js/lib/angular-sanitize.js"></script>
<script src="js/lib/select.min.js"></script>
<script src="js/script.js"></script>
</head>
<body>
<div class="container">
<h2 class="text-center">TrashQuotidiano</h2>
<img id="current_image" src="img/TrashQuotidiano.png" style="display: none;">
<div ng-controller="MainController">
<div class="row">
<div class="col-xs-12">
<div class="canvas" style="width:100%"></div>
<div class="text-center">
<br>
Pre-titolo:
<input type="text" class="form-control" ng-model='pre_text' ng-change="addText()" placeholder="C'è poco da stare allegri">
Titolo 1:
<input type="text" class="form-control" ng-model='title1_text' ng-change="addText()" placeholder="Calano fatturato e pil">
Titolo 2:
<input type="text" class="form-control" ng-model='title2_text' ng-change="addText()" placeholder="Ma aumentano i meme">
Dimensione del font:
<br>
Pre-titolo:
<input type="number" ng-model="pre_font_size" ng-change="addText()">
Titolo:
<input type="number" ng-model="title_font_size" ng-change="addText()">
</div>
<br>
<div class="row">
<div class="col-xs-6">
<button class="btn btn-large btn-primary" ng-click="create()"><h4>Save Image</h4></button>
</div>
<div class="col-xs-3 col-xs-offset-3">
<footer style="text-align: center">
Coded by <a href="http://github.com/Helias/">Helias</a>, <a href="https://github.com/aegroto/">aegroto</a>
<br>
<a href="http://github.com/Helias/TrashQuotidiano">Source code (GitHub)</a>
</footer>
</div>
</div>
</div>
</div>
</div>
</div> <!-- end container -->
</body>
</html>