-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpopup.html
More file actions
69 lines (69 loc) · 2.01 KB
/
popup.html
File metadata and controls
69 lines (69 loc) · 2.01 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
/*
* Copyright 2013-2018 Martin Scharm <https://binfalse.de/contact/>
*
* This file is part of the YOURLS-ChromeExtension.
* https://github.com/binfalse/YOURLS-ChromeExtension
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-->
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="popup.css" />
</head>
<body>
<h3><img id='headlineicon' src='yourls-tight.svg' alt='' title='YOURLS icon'> Shorten URL with YOURLS</h3>
<table class="display_table">
<tr>
<td>
Source URL:
</td>
<td><strong id="source_url"></strong>
</td>
</tr>
<tr id="keyword_row">
<td>
Keyword:
</td>
<td>
<input type="text" id="keyword" placeholder="Leave empty to generate" />
<input type="button" id="keyword_submit" value="shorten"/>
</td>
</tr>
<tr>
<td>
Short URL:
</td>
<td>
<input type="text" id="result_url" placeholder="Result" readonly/>
<input type="button" id="result_copy" value="copy"/>
</td>
</tr>
</table>
<div id="message">
<strong id="message_title"></strong>
<div id="message_supp"></div>
</div>
<div id="links">
<button id="settings">Settings</button>
<button id="admin">YOURLS admin interface</button>
</div>
<script src="lib.js"></script>
<script src="popup.js"></script>
</body>
</html>