forked from sterlingstokes/gifstasher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
88 lines (81 loc) · 3.16 KB
/
popup.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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>gifstasher</title>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<script data-main="js/main" src="js/require.js"></script>
</head>
<body>
<div class="container">
<header>
<img src="img/icon-small.png" alt="gifstasher">
<nav>
<ul>
<li class="stash-modal-btn" data-toggle="modal" data-target="#gallery-form-modal">
<i class="fa fa-plus"></i>
</li>
<li id="options-btn">
<i class="fa fa-cog"></i>
</li>
</ul>
</nav>
<span class="clearfix"></span>
</header>
<ul id="gallery"></ul>
<div id="no-gifs">
<h4>You have no gifs!</h4>
<button class="btn btn-lg btn-primary stash-modal-btn" data-toggle="modal" data-target="#gallery-form-modal">
<i class="fa fa-plus"></i> Add a gif now!
</button>
<p>
You can add gifs to your stash in a few ways:
</p>
<ul class="well">
<li>
<div>Right-click any gif from any site, and click "Stash this gif"</div>
<img src="img/context-menu.jpg" alt="Right-click to stash from the context menu">
</li>
<li>Click the <i class="fa fa-plus"></i> button in the top right of this window and enter in the url for the gif.</li>
</ul>
</div>
</div>
<div class="modal fade" id="gallery-form-modal" tabindex="-1" role="dialog" aria-labelledby="gallery-form-modal-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<form id="gallery-form">
<div class="modal-header">
<button type="button" class="close cancel-btn" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="gallery-form-modal-label">Stash gif</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label for="gif-url">Gif URL</label>
<input type="text" name="url" class="form-control" id="gif-url" placeholder="Enter gif URL">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default cancel-btn" data-dismiss="modal">Cancel</button>
<button class="btn btn-primary" type="submit">Stash gif</button>
</div>
</form>
</div>
</div>
</div>
<div class="modal fade" id="gallery-view" tabindex="-1" role="dialog" aria-labelledby="galleryLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content"></div>
</div>
</div>
<footer class="container">
<div id="flash-holder">
<div class="alert alert-popup" id="flash-template">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<strong><span class="flash-title"></span></strong> <span class="flash-message"></span>
</div>
<div id="copyright">Made with <i class="fa fa-heart"></i> in Gainesville, FL. © 2015 Cloudbuster Development.</div>
</div>
</footer>
</body>
</html>