Commit a2b93ee1484124f0eb89e0d39e57f0d880d60efd
- mouchak/static/js/mouchak.js 1 -
- mouchak/static/signal-strength/radio_jamia.json 192 ------------------------------------------------------------------------------------------------++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- Diff rendering mode:
- inline
- side by side
mouchak/static/js/mouchak.js
123 | }, | 123 | }, |
---|---|---|---|
124 | updateNavIcon: function() { | 124 | updateNavIcon: function() { |
125 | var fragment = location.hash.split('/')[1]; | 125 | var fragment = location.hash.split('/')[1]; |
126 | |||
127 | var background = 'url("/static/img/nav-icons/'+fragment+'.svg") no-repeat'; | 126 | var background = 'url("/static/img/nav-icons/'+fragment+'.svg") no-repeat'; |
128 | $('.nav>li.nav-icon').css('background', background); | 127 | $('.nav>li.nav-icon').css('background', background); |
129 | } | 128 | } |
mouchak/static/signal-strength/radio_jamia.json
1 | [ | 1 | [ |
---|---|---|---|
2 | { | 2 | { |
3 | |||
4 | |||
5 | |||
6 | 3 | "name": "N-1", | |
4 | "lat": 28.575803, | ||
5 | "lng": 77.285028, | ||
6 | "strength": 56.38, | ||
7 | "audio_file": "N1" | 7 | "audio_file": "N1" |
8 | }, | 8 | }, |
9 | { | 9 | { |
10 | |||
11 | |||
12 | |||
13 | 10 | "name": "N-2", | |
11 | "lat": 28.595453, | ||
12 | "lng": 77.285169, | ||
13 | "strength": 50.38 | ||
14 | }, | 14 | }, |
15 | { | 15 | { |
16 | |||
17 | |||
18 | |||
19 | 16 | "name": "N-3", | |
17 | "lat": 28.6106611, | ||
18 | "lng": 77.285406, | ||
19 | "strength": 34.38 | ||
20 | }, | 20 | }, |
21 | { | 21 | { |
22 | |||
23 | |||
24 | |||
25 | 22 | "name": "NE-1", | |
23 | "lat": 28.567311, | ||
24 | "lng": 77.302972, | ||
25 | "strength": 75.88, | ||
26 | "audio_file": "NE1" | 26 | "audio_file": "NE1" |
27 | }, | 27 | }, |
28 | { | 28 | { |
29 | |||
30 | |||
31 | |||
32 | 29 | "name": "NE-2", | |
30 | "lat": 28.585025, | ||
31 | "lng": 77.31165, | ||
32 | "strength": 42.38 | ||
33 | }, | 33 | }, |
34 | { | 34 | { |
35 | |||
36 | |||
37 | |||
38 | 35 | "name": "NE-3", | |
36 | "lat": 28.597892, | ||
37 | "lng": 77.329175, | ||
38 | "strength": 43.88 | ||
39 | }, | 39 | }, |
40 | { | 40 | { |
41 | |||
42 | |||
43 | |||
44 | 41 | "name": "E-1", | |
42 | "lat": 28.560506, | ||
43 | "lng": 77.304853, | ||
44 | "strength": null | ||
45 | }, | 45 | }, |
46 | { | 46 | { |
47 | |||
48 | |||
49 | |||
50 | 47 | "name": "E-2", | |
48 | "lat": 28.560619, | ||
49 | "lng": 77.318553, | ||
50 | "strength": 75.88 | ||
51 | }, | 51 | }, |
52 | { | 52 | { |
53 | |||
54 | |||
55 | |||
56 | 53 | "name": "E-3", | |
54 | "lat": 28.56065, | ||
55 | "lng": 77.34595, | ||
56 | "strength": 50.38 | ||
57 | }, | 57 | }, |
58 | { | 58 | { |
59 | |||
60 | |||
61 | |||
62 | 59 | "name": "SE-1", | |
60 | "lat": 28.549008, | ||
61 | "lng": 77.296136, | ||
62 | "strength": 54.88, | ||
63 | "audio_file": "SE1" | 63 | "audio_file": "SE1" |
64 | }, | 64 | }, |
65 | { | 65 | { |
66 | |||
67 | |||
68 | |||
69 | 66 | "name": "SE-2", | |
67 | "lat": 28.53275, | ||
68 | "lng": 77.31405, | ||
69 | "strength": 43.38 | ||
70 | }, | 70 | }, |
71 | { | 71 | { |
72 | |||
73 | |||
74 | |||
75 | 72 | "name": "SE-3", | |
73 | "lat": 28.522986, | ||
74 | "lng": 77.329331, | ||
75 | "strength": 37.88 | ||
76 | }, | 76 | }, |
77 | { | 77 | { |
78 | |||
79 | |||
80 | |||
81 | 78 | "name": "S-1", | |
79 | "lat": 28.541122, | ||
80 | "lng": 77.281719, | ||
81 | "strength": 75.38, | ||
82 | "audio_file": "S1" | 82 | "audio_file": "S1" |
83 | }, | 83 | }, |
84 | { | 84 | { |
85 | |||
86 | |||
87 | |||
88 | 85 | "name": "S-2", | |
86 | "lat": 28.523314, | ||
87 | "lng": 77.284078, | ||
88 | "strength": 30.92 | ||
89 | }, | 89 | }, |
90 | { | 90 | { |
91 | |||
92 | |||
93 | |||
94 | 91 | "name": "S-3", | |
92 | "lat": 28.508456, | ||
93 | "lng": 77.2799, | ||
94 | "strength": 35.88 | ||
95 | }, | 95 | }, |
96 | { | 96 | { |
97 | |||
98 | |||
99 | |||
100 | 97 | "name": "SW-1", | |
98 | "lat": 28.549042, | ||
99 | "lng": 77.271244, | ||
100 | "strength": 82.88, | ||
101 | "audio_file": "SW1" | 101 | "audio_file": "SW1" |
102 | }, | 102 | }, |
103 | { | 103 | { |
104 | |||
105 | |||
106 | |||
107 | 104 | "name": "SW-2", | |
105 | "lat": 28.537097, | ||
106 | "lng": 77.257219, | ||
107 | "strength": 47.88 | ||
108 | }, | 108 | }, |
109 | { | 109 | { |
110 | |||
111 | |||
112 | |||
113 | 110 | "name": "SW-3", | |
111 | "lat": 28.522064, | ||
112 | "lng": 77.239492, | ||
113 | "strength": 41.38 | ||
114 | }, | 114 | }, |
115 | { | 115 | { |
116 | |||
117 | |||
118 | |||
119 | 116 | "name": "W-1", | |
117 | "lat": 28.560067, | ||
118 | "lng": 77.267156, | ||
119 | "strength": 85.38, | ||
120 | "audio_file": "W1" | 120 | "audio_file": "W1" |
121 | }, | 121 | }, |
122 | { | 122 | { |
123 | |||
124 | |||
125 | |||
126 | 123 | "name": "W-2", | |
124 | "lat": 28.560589, | ||
125 | "lng": 77.245944, | ||
126 | "strength": 34.88 | ||
127 | }, | 127 | }, |
128 | { | 128 | { |
129 | |||
130 | |||
131 | |||
132 | 129 | "name": "W-3", | |
130 | "lat": 28.560169, | ||
131 | "lng": 77.226236, | ||
132 | "strength": 29.42 | ||
133 | }, | 133 | }, |
134 | { | 134 | { |
135 | |||
136 | |||
137 | |||
138 | 135 | "name": "NW-1", | |
136 | "lat": 28.571806, | ||
137 | "lng": 77.271539, | ||
138 | "strength": 63.38, | ||
139 | "audio_file": "NW1" | 139 | "audio_file": "NW1" |
140 | }, | 140 | }, |
141 | { | 141 | { |
142 | |||
143 | |||
144 | |||
145 | 142 | "name": "NW-2", | |
143 | "lat": 28.583978, | ||
144 | "lng": 77.254433, | ||
145 | "strength": 36.38 | ||
146 | }, | 146 | }, |
147 | { | 147 | { |
148 | |||
149 | |||
150 | |||
151 | 148 | "name": "NW-3", | |
149 | "lat": 28.597925, | ||
150 | "lng": 77.240764, | ||
151 | "strength": 36.88 | ||
152 | } | 152 | } |
153 | ] | 153 | ] |