This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
119 lines (111 loc) · 5.05 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
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" charset="utf-8" href="css/design.css"/>
<script type="text/javascript" charset="utf-8" src="js/lib/tmpl.js"></script>
<script type="text/javascript" charset="utf-8" src="js/lib/FPkeyhook.js"></script>
<script type="text/javascript" charset="utf-8" src="js/popup.js"></script>
<title>Frodio Player</title>
<script type="text/html" id="last_station">
<div class="item last" <%=events%>>
<%= chrome.i18n.getMessage('random') %>
<span id="random_station"><%= chrome.i18n.getMessage('random_text', count+"") %></span>
</div>
</script>
<script type="text/html" id="station">
<div class="item" <%=events%>>
<a class="link" href="http://<%=link%>.frodio.com/" target="_blank" title="<%= chrome.i18n.getMessage('goto_station') %>"></a>
<a class="like <%=active%>" id="fav_station_<%=link%>" title="<%= chrome.i18n.getMessage(active ? 'unlike_station' : 'like_station') %>"></a>
<%=title%>
<span id="station_<%=link%>"><%=track%></span>
</div>
</script>
<script type="text/html" id="table_station">
<div class="item table <%=class%>" <%=events%> title="<%=title%><%= track ? '\n'+track : '' %>" id="t_station_<%=link%>">
<img src="<%=img%>" width="62" height="25" <%=error%> />
</div>
</script>
<script type="text/html" id="options">
<div id="player_options">
<a id="to_fav" class="<%=active%>" <%=like_events%> title="<%= chrome.i18n.getMessage(active ? 'unlike' : 'like') %>">
</a>
<a id="share_t" href="<%=share_t%>" target="_blank" title="<%= chrome.i18n.getMessage('share', 'twitter') %>">
</a>
<a id="share_f" href="<%=share_f%>" target="_blank" title="<%= chrome.i18n.getMessage('share', 'facebook') %>">
</a>
<a id="share_g" href="<%=share_g%>" target="_blank" title="<%= chrome.i18n.getMessage('share', 'google buzz') %>">
</a>
<a id="share_v" href="<%=share_v%>" target="_blank" title="<%= chrome.i18n.getMessage('share', 'вконтакте') %>">
</a>
</div>
</script>
<script type="text/html" id="player_inner">
<div id="player_station">
<a href="http://<%=link%>.frodio.com/" target="_blank" title="<%=title%>"><%=title%></a>
</div>
<div id="player_info">
<div id="player_links">
<a <%=track_link%> target="_blank" id="player_pic" title="<%= track_link ? chrome.i18n.getMessage('goto_track') : '' %>" >
<img src="<%=track_pic%>" width="35" height="35" alt="" <%=events%> />
</a>
<%=options%>
</div>
<div id="player_track" title="<%= track_link ? track : '' %>"><%=track%></div>
<div id="player_artist" title="<%= track_link ? artist : '' %>"><%=artist%></div>
</div>
</script>
<script type="text/html" id="body_inner">
<div id="player">
<div id="player_tools">
<div id="player_button_border" class="border">
<a id="player_button" class="<%=played%>"></a>
</div>
<div id="player_volume" class="border">
<input type="range" min="0.0" max="1.01" value="<%=volume%>" step="0.01" id="player_volume_range" list="values"/>
<datalist id="values">
<option value="0">
<option value="0.25">
<option value="0.5">
<option value="0.75">
<option value="1">
</datalist>
</div>
</div>
<div id="player_content"></div>
</div>
<div id="stations_container">
<div id="stations">
<div id="stations_inner" class="stations"> </div>
</div>
<div id="scroll"><div id="scroll_inner"></div></div>
</div>
<div id="menu">
<div id="sort" class="menu">
<div id="sort_4" class="<%=active_6%>" title="<%= chrome.i18n.getMessage('sort_by_fav') %>"></div>
<div id="sort_3" class="<%=active_3%>" title="<%= chrome.i18n.getMessage('sort_by_order') %>"></div>
<div id="sort_2" class="<%=active_2%>" title="<%= chrome.i18n.getMessage('sort_by_abc') %>"></div>
<div id="sort_1" class="<%=active_1%>" title="<%= chrome.i18n.getMessage('sort_by_popular') %>"></div>
</div>
<div id="view" class="menu">
<div id="view_1" class="<%=active_5%>" title="<%= chrome.i18n.getMessage('view_like_table') %>"></div>
<div id="view_0" class="<%=active_4%>" title="<%= chrome.i18n.getMessage('view_like_list') %>"></div>
</div>
</div>
</script>
<script type="text/html" id="body">
<header>
<a href="http://frodio.com/" target="_blank" title="<%= chrome.i18n.getMessage('goto_site', 'Frodio.com') %>">
Frodio - Social Radio System
</a>
<!--<a href="" target="_blank">#</a>-->
</header>
<div id="content">
<%=body_inner%>
</div>
</script>
</head>
<body onload="popupOnLoad()">
Requires JavaScript and Flash Player
</body>
</html>