-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathindex.html
206 lines (187 loc) · 9.28 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>WaterMene - Adicionador de Marcas D'água em seu Mene</title>
<!--style files-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link rel="stylesheet" type="text/css" href="assets/css/highlight.min.css">
<link href="https://fonts.googleapis.com/css?family=Muli|Oswald" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<h1 class="navbar-brand mb-0 h1">WaterMene</h1>
<div class="header-actions ml-auto">
<a class="btn btn-xs btn-primary" href="https://romuloctba.github.io/watermene2">
Experimente o Novo WaterMene V2
</a>
<!-- <a class="btn btn-xs btn-secondary btn-insane" href="https://github.com/romuloctba/watermene/wiki/Envie-seu-selo">
Enviar Selo!
</a>
<a class="btn btn-sm btn-secondary btn-insane" href="https://www.facebook.com/groups/sitedosmenes/">
<span><svg class="icon" viewBox="0 0 90 90" style="enable-background:new 0 0 90 90;">
<path id="Facebook__x28_alt_x29_" d="M90,15.001C90,7.119,82.884,0,75,0H15C7.116,0,0,7.119,0,15.001v59.998
C0,82.881,7.116,90,15.001,90H45V56H34V41h11v-5.844C45,25.077,52.568,16,61.875,16H74v15H61.875C60.548,31,59,32.611,59,35.024V41
h15v15H59v34h16c7.884,0,15-7.119,15-15.001V15.001z"/>
</svg></span>
Site dos Menes - O Grupo
</a> -->
</div>
</nav>
<div class="container">
<div class="row justify-content-between">
<!--upload form-->
<div class="col-md-5">
<form action="" id="uploadForm" method="POST" class="section">
<h2>1. Envie seu mene</h2>
<!--input button-->
<div class="input-group" id="targetForm">
<span class="input-group-btn">
<span class="btn btn-primary btn-file">
<svg class="icon" x="0px" y="0px" viewBox="0 0 477.075 477.075" ><path d="M358.387,159.975h-38.9c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h38.9c19.1,0,34.7,15.6,34.7,34.7v193.8 c0,19.1-15.6,34.7-34.7,34.7h-239.8c-19.1,0-34.7-15.6-34.7-34.7v-193.9c0-19.1,15.6-34.7,34.7-34.7h38.9c7.5,0,13.5-6,13.5-13.5 s-6-13.5-13.5-13.5h-38.9c-34,0-61.7,27.7-61.7,61.7v193.8c0,34,27.7,61.7,61.7,61.7h239.9c34,0,61.7-27.7,61.7-61.7v-193.8 C420.087,187.575,392.387,159.975,358.387,159.975z" style="fill: currentColor"></path><path d="M166.987,104.175l58-58v218c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5v-218l58,58c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4 c5.3-5.3,5.3-13.8,0-19.1l-81.1-81.1c-5.3-5.3-13.8-5.3-19.1,0l-81.1,81.1c-5.3,5.3-5.3,13.8,0,19.1 C153.187,109.475,161.687,109.475,166.987,104.175z"></path></svg>
Selecionar imagem <input type="file" id="target">
</span>
</span>
<input type="text" class="form-control img-input" readonly>
</div>
<!--retry button-->
<a id="reloader" class="btn btn-light show-after-upload" href=".">
<svg class="icon" x="0px" y="0px" viewBox="0 0 489.935 489.935"><path d="M278.235,33.267c-116.7,0-211.6,95-211.6,211.7v0.7l-41.9-63.1c-4.1-6.2-12.5-7.9-18.7-3.8c-6.2,4.1-7.9,12.5-3.8,18.7
l60.8,91.5c2.2,3.3,5.7,5.4,9.6,5.9c0.6,0.1,1.1,0.1,1.7,0.1c3.3,0,6.5-1.2,9-3.5l84.5-76.1c5.5-5,6-13.5,1-19.1
c-5-5.5-13.5-6-19.1-1l-56.1,50.7v-1c0-101.9,82.8-184.7,184.6-184.7s184.7,82.8,184.7,184.7s-82.8,184.7-184.6,184.7
c-49.3,0-95.7-19.2-130.5-54.1c-5.3-5.3-13.8-5.3-19.1,0c-5.3,5.3-5.3,13.8,0,19.1c40,40,93.1,62,149.6,62
c116.6,0,211.6-94.9,211.6-211.7S394.935,33.267,278.235,33.267z"/></svg>
Começar denovo
</a>
</form>
<!--instructions-->
<div class="preview-wrapper section">
<header class="d-flex align-items-end">
<h2>2. Preview</h2>
<a id="btn-download" class="btn btn-primary show-after-upload" href="#" download="mene-watermene.png">
Salvar imagem
<svg class="icon" x="0px" y="0px" viewBox="0 0 481 481"><path d="M230.95,394.3c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4l87.7-87.7c5.3-5.3,5.3-13.8,0-19.1c-5.3-5.3-13.8-5.3-19.1,0l-64.7,64.7 V13.5c0-7.5-6-13.5-13.5-13.5s-13.5,6-13.5,13.5v338.6l-64.7-64.7c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1L230.95,394.3z"/><path d="M439.55,354.7c-7.5,0-13.5,6-13.5,13.5V454H54.85v-85.8c0-7.5-6-13.5-13.5-13.5s-13.5,6-13.5,13.5v99.3 c0,7.5,6,13.5,13.5,13.5h398.3c7.5,0,13.5-6,13.5-13.5v-99.3C453.05,360.7,447.05,354.7,439.55,354.7z"/></svg>
</a>
</header>
<div class="" id="preview" class="show-after-upload">
</div>
<footer id="preview-footer" class="show-after-upload">
<div class="alert alert-warning alert-dismissible fade show">
Dica: Se a imagem ficou grandona, <strong>basta mudar a marca d'água uma vez</strong>, que ela se arruma (sim, é um bug).
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
</footer>
</div>
</div>
<!--config seal-->
<div class="col-md-6">
<div class="section">
<h2>3. Selos</h2>
<!--seals-->
<div class="radio" id="seals-div"></div>
</div>
<div class="section">
<h2>4. Posição e Alpha</h2>
<div class="position row">
<div class="normal-position">
<div class="radio upper-left">
<label>
<input type="radio" name="position" value="upperLeft" disabled>
<span class="position-radio-label">Superior Esquerdo</span>
</label>
</div>
<div class="radio upper-right">
<label>
<input type="radio" name="position" value="upperRight" disabled>
<span class="position-radio-label">Superior Direito</span>
</label>
</div>
<div class="radio center">
<label>
<input type="radio" name="position" value="center" disabled>
<span class="position-radio-label">Centro</span>
</label>
</div>
<div class="radio lower-left">
<label>
<input type="radio" name="position" value="lowerLeft" disabled>
<span class="position-radio-label">Inferior Esquerdo</span>
</label>
</div>
<div class="radio lower-right">
<label>
<input type="radio" name="position" value="lowerRight" checked disabled>
<span class="position-radio-label">Inferior Direito</span>
</label>
</div>
</div>
<div class="or">
<span>Ou</span>
</div>
<div class="custom-position">
<div class="radio">
<label class="btn btn-sm btn-light">
<input type="radio" name="position" value="custom" disabled>
<span>Customizar</span>
</label>
</div>
<div class="custom-position-sliders" id="range" style="display:none;">
<div class="range" >
<label><span class="axe">Horizontal:</span> <span class="position-span"><span id="horizontal-span">50</span>%</span> <input type="range" min="0" max="100" value="50" name="horizontal"></label>
</div>
<div class="range" >
<label><span class="axe">Vertical:</span> <span class="position-span"><span id="vertical-span">50</span>%</span> <input type="range" min="0" max="100" value="50" name="vertical"></label>
</div>
</div>
</div>
</div>
<div class="range" >
<label>
<!-- <span class="position-span"><span id="vertical-span">Transparente</span> -->
<span class="position-span"><span id="horizontal-span">Alpha:</span></span>
<input type="range" min="0" max="1" step="0.1" value="0.8" name="alpha">
<!-- <span class="position-span"><span id="vertical-span">Opaco</span> -->
</label>
</div>
</div>
</div>
</div>
</div>
<!--footer-->
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-md-9">
<p class="footer-text">
Criado com <a href="http://brianium.github.io/watermarkjs">WatermarkJS</a>.
</p>
<p class="small">Obs: Este é um projeto de código aberto. Você pode conferir o código, contribuir, copiar, e etc em <a href="https://github.com/romuloctba/watermene">https://github.com/romuloctba/watermene</a></em></p>
</div>
<div class="col-md-3">
<p class="small">
Atenção: Nem todos os watermenes são <em>compliance</em> com a regras do grupo. Contacte o SAC/Moderação em caso de dúvida.
</p>
</div>
</div>
</div>
</footer>
<!--script files-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-97700692-1', 'auto');
ga('send', 'pageview');
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="assets/js/custom.js"></script>
<script src="assets/js/watermark.min.js"></script>
<script src="assets/js/upload.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
</body>
</html>