-
Notifications
You must be signed in to change notification settings - Fork 32
/
popup.html
84 lines (72 loc) · 2.54 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
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:700,300,600,400' rel='stylesheet' type='text/css'>
<link type="text/css" href="css/popup.css" rel="stylesheet">
<script type="text/javascript" src="js/popup.js"></script>
<script type="text/javascript" src="js/spacesRenderer.js"></script>
</head>
<body>
<script type="text/html" id="moveTemplate">
<div class="mainContent">
<div class="contentBody">
<div id="tabInfo">
<img id="activeTabFavicon" class="favicon"></img><span id="activeTabTitle"></span>
</div>
<!-- <span>Move tab to:</span> -->
<form id="spaceSelectForm">
<input id="sessionsInput" list="sessionsList" type="text" autocomplete="off" placeholder="Move tab to.." />
</form>
<div id="spacesList">
<div id="savedSpaces"></div>
<div id="newSpace" class="space new">
<span>Create new space: </span><span class="spaceTitle"></span>
</div>
</div>
<div id="footer">
<span id="moveBtn" class="button okBtn">Move</span>
<span id="cancelBtn" class="button cancelBtn">Cancel</span>
</div>
</div>
</div>
</script>
<script type="text/html" id="switcherTemplate">
<!--<link type="text/css" href="css/style.css" rel="stylesheet">-->
<!--<link type="text/css" href="css/panel.css" rel="stylesheet">-->
<div class="mainContent">
<div class="contentBody">
<form id="spaceSelectForm">
<input id="sessionsInput" list="sessionsList" type="text" autocomplete="off" placeholder="Type a space name" />
</form>
<div id="spacesList">
<div id="savedSpaces"></div>
</div>
</div>
</div>
</script>
<div id="header">
<span>Active space: </span><input type="text" id="activeSpaceTitle"></input>
<span id="spaceEdit" class="fa fa-pencil"></span>
</div>
<div id="popupContainer">
<div class="group optsAll">
<div class="menuOption" href="#" id="allSpacesLink">
<i class="fa fa-th-large"></i>
<span class="optionText">Manage spaces</span>
<span class="hotkey"></span>
</div>
<div class="menuOption" href="#" id="switcherLink">
<i class="fa fa-exchange"></i>
<span class="optionText">Quick switch spaces</span>
<span class="hotkey"></span>
</div>
<div class="menuOption" href="#" id="moverLink">
<i class="fa fa-arrow-circle-right"></i>
<span class="optionText">Move active tab</span>
<span class="hotkey"></span>
</div>
</div>
</div>
</body>
</html>