Merge lp:~mhall119/loco-team-portal/mainpage-map into lp:loco-team-portal
- mainpage-map
- Merge into 0.2
Proposed by
Michael Hall
Status: | Merged |
---|---|
Merged at revision: | 240 |
Proposed branch: | lp:~mhall119/loco-team-portal/mainpage-map |
Merge into: | lp:loco-team-portal |
Diff against target: |
433 lines (+196/-38) 5 files modified
EXTERNALS (+2/-0) loco_directory/locale/loco-directory.pot (+41/-37) loco_directory/media/css/continents.css (+124/-0) loco_directory/templates/index.html (+28/-0) loco_directory/templates/teams/team_list.html (+1/-1) |
To merge this branch: | bzr merge lp:~mhall119/loco-team-portal/mainpage-map |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+32883@code.launchpad.net |
Commit message
Description of the change
Adds a clickable continent map to the mainpage that will take you to that continent's section of the teams list.
To post a comment you must log in.
Revision history for this message
Michael Hall (mhall119) wrote : | # |
Revision history for this message
Daniel Holbach (dholbach) wrote : | # |
Can you add a note to EXTERNALS or somewhere else where we got the picture from? Once that's done, I'm happy to get it in
review:
Approve
Revision history for this message
Michael Hall (mhall119) wrote : | # |
I'll have to ask Daker where he got it from.
Revision history for this message
Michael Hall (mhall119) wrote : | # |
Added attribution to EXTERNALS in rev 242
- 242. By Michael Hall
-
Added attribution for map image and css to EXTERNALS
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'EXTERNALS' | |||
2 | --- EXTERNALS 2010-02-17 15:32:25 +0000 | |||
3 | +++ EXTERNALS 2010-08-17 18:02:39 +0000 | |||
4 | @@ -3,3 +3,5 @@ | |||
5 | 3 | - the date picker is provided by the JQuery UI project. See http://jqueryui.com/ for more information about JQuery UI. (Use at least 1.7.2.) | 3 | - the date picker is provided by the JQuery UI project. See http://jqueryui.com/ for more information about JQuery UI. (Use at least 1.7.2.) |
6 | 4 | 4 | ||
7 | 5 | - the time picker is provided by Maxime Haineault. See http://haineault.com/media/jquery/ui-timepickr/page/ for more information about the JQuery UI Timepicker. | 5 | - the time picker is provided by Maxime Haineault. See http://haineault.com/media/jquery/ui-timepickr/page/ for more information about the JQuery UI Timepicker. |
8 | 6 | |||
9 | 7 | - the map image and corresponding CSS is provided by from http://www.noobcube.com/tutorials/html-css/css-image-maps-a-beginners-guide-/ under the GNU Free Documentation License. | ||
10 | 6 | 8 | ||
11 | === modified file 'loco_directory/locale/loco-directory.pot' | |||
12 | --- loco_directory/locale/loco-directory.pot 2010-08-17 14:37:40 +0000 | |||
13 | +++ loco_directory/locale/loco-directory.pot 2010-08-17 18:02:39 +0000 | |||
14 | @@ -8,11 +8,10 @@ | |||
15 | 8 | msgstr "" | 8 | msgstr "" |
16 | 9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
17 | 10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
19 | 11 | "POT-Creation-Date: 2010-08-17 14:36+0000\n" | 11 | "POT-Creation-Date: 2010-08-17 15:10+0000\n" |
20 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
21 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
22 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
23 | 15 | "Language: \n" | ||
24 | 16 | "MIME-Version: 1.0\n" | 15 | "MIME-Version: 1.0\n" |
25 | 17 | "Content-Type: text/plain; charset=UTF-8\n" | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
26 | 18 | "Content-Transfer-Encoding: 8bit\n" | 17 | "Content-Transfer-Encoding: 8bit\n" |
27 | @@ -136,71 +135,71 @@ | |||
28 | 136 | msgid "Additional Guests" | 135 | msgid "Additional Guests" |
29 | 137 | msgstr "" | 136 | msgstr "" |
30 | 138 | 137 | ||
32 | 139 | #: events/views.py:139 | 138 | #: events/views.py:146 |
33 | 140 | msgid "Team Event removed." | 139 | msgid "Team Event removed." |
34 | 141 | msgstr "" | 140 | msgstr "" |
35 | 142 | 141 | ||
37 | 143 | #: events/views.py:146 | 142 | #: events/views.py:153 |
38 | 144 | msgid "" | 143 | msgid "" |
39 | 145 | "You can not remove this team event. You are not admin/owner of the Launchpad " | 144 | "You can not remove this team event. You are not admin/owner of the Launchpad " |
40 | 146 | "team or on the LoCo Council." | 145 | "team or on the LoCo Council." |
41 | 147 | msgstr "" | 146 | msgstr "" |
42 | 148 | 147 | ||
44 | 149 | #: events/views.py:153 | 148 | #: events/views.py:160 |
45 | 150 | msgid "" | 149 | msgid "" |
46 | 151 | "You can not add a new team event. You are not member of any of the LoCo " | 150 | "You can not add a new team event. You are not member of any of the LoCo " |
47 | 152 | "Teams." | 151 | "Teams." |
48 | 153 | msgstr "" | 152 | msgstr "" |
49 | 154 | 153 | ||
51 | 155 | #: events/views.py:205 events/views.py:243 | 154 | #: events/views.py:212 events/views.py:250 |
52 | 156 | msgid "New event created." | 155 | msgid "New event created." |
53 | 157 | msgstr "" | 156 | msgstr "" |
54 | 158 | 157 | ||
56 | 159 | #: events/views.py:221 events/views.py:256 | 158 | #: events/views.py:228 events/views.py:263 |
57 | 160 | msgid "" | 159 | msgid "" |
58 | 161 | "You can not add a new event for this team. You are not member of the team or " | 160 | "You can not add a new event for this team. You are not member of the team or " |
59 | 162 | "on the LoCo Council." | 161 | "on the LoCo Council." |
60 | 163 | msgstr "" | 162 | msgstr "" |
61 | 164 | 163 | ||
63 | 165 | #: events/views.py:279 | 164 | #: events/views.py:286 |
64 | 166 | msgid "Team Event updated." | 165 | msgid "Team Event updated." |
65 | 167 | msgstr "" | 166 | msgstr "" |
66 | 168 | 167 | ||
68 | 169 | #: events/views.py:290 | 168 | #: events/views.py:297 |
69 | 170 | msgid "" | 169 | msgid "" |
70 | 171 | "You can not update this team event. You are not member of the team or on the " | 170 | "You can not update this team event. You are not member of the team or on the " |
71 | 172 | "LoCo Council." | 171 | "LoCo Council." |
72 | 173 | msgstr "" | 172 | msgstr "" |
73 | 174 | 173 | ||
75 | 175 | #: events/views.py:308 | 174 | #: events/views.py:315 |
76 | 176 | msgid "Your registration has been saved." | 175 | msgid "Your registration has been saved." |
77 | 177 | msgstr "" | 176 | msgstr "" |
78 | 178 | 177 | ||
80 | 179 | #: events/views.py:339 | 178 | #: events/views.py:346 |
81 | 180 | msgid "Comment saved." | 179 | msgid "Comment saved." |
82 | 181 | msgstr "" | 180 | msgstr "" |
83 | 182 | 181 | ||
85 | 183 | #: events/views.py:407 | 182 | #: events/views.py:414 |
86 | 184 | msgid "Global Event removed." | 183 | msgid "Global Event removed." |
87 | 185 | msgstr "" | 184 | msgstr "" |
88 | 186 | 185 | ||
90 | 187 | #: events/views.py:413 | 186 | #: events/views.py:420 |
91 | 188 | msgid "You can not remove this global event. You are not on the LoCo Council." | 187 | msgid "You can not remove this global event. You are not on the LoCo Council." |
92 | 189 | msgstr "" | 188 | msgstr "" |
93 | 190 | 189 | ||
95 | 191 | #: events/views.py:427 | 190 | #: events/views.py:434 |
96 | 192 | msgid "New Global Event created." | 191 | msgid "New Global Event created." |
97 | 193 | msgstr "" | 192 | msgstr "" |
98 | 194 | 193 | ||
100 | 195 | #: events/views.py:438 | 194 | #: events/views.py:445 |
101 | 196 | msgid "You can not add a new global event. You are not on the LoCo Council." | 195 | msgid "You can not add a new global event. You are not on the LoCo Council." |
102 | 197 | msgstr "" | 196 | msgstr "" |
103 | 198 | 197 | ||
105 | 199 | #: events/views.py:454 | 198 | #: events/views.py:461 |
106 | 200 | msgid "Global Event updated." | 199 | msgid "Global Event updated." |
107 | 201 | msgstr "" | 200 | msgstr "" |
108 | 202 | 201 | ||
110 | 203 | #: events/views.py:465 | 202 | #: events/views.py:472 |
111 | 204 | msgid "You can not update this global event. You are not on the LoCo Council." | 203 | msgid "You can not update this global event. You are not on the LoCo Council." |
112 | 205 | msgstr "" | 204 | msgstr "" |
113 | 206 | 205 | ||
114 | @@ -307,7 +306,7 @@ | |||
115 | 307 | msgstr "" | 306 | msgstr "" |
116 | 308 | 307 | ||
117 | 309 | #: templates/404.html:4 templates/500.html:4 templates/about.html:4 | 308 | #: templates/404.html:4 templates/500.html:4 templates/about.html:4 |
119 | 310 | #: templates/base.html:4 templates/index.html:13 templates/loco_council.html:4 | 309 | #: templates/base.html:4 templates/index.html:14 templates/loco_council.html:4 |
120 | 311 | msgid "Ubuntu LoCo Team Directory" | 310 | msgid "Ubuntu LoCo Team Directory" |
121 | 312 | msgstr "" | 311 | msgstr "" |
122 | 313 | 312 | ||
123 | @@ -458,7 +457,7 @@ | |||
124 | 458 | msgid "Show All Teams" | 457 | msgid "Show All Teams" |
125 | 459 | msgstr "" | 458 | msgstr "" |
126 | 460 | 459 | ||
128 | 461 | #: templates/base.html:13 templates/index.html:15 | 460 | #: templates/base.html:13 templates/index.html:16 |
129 | 462 | #: templates/events/team_event_list.inc.html:8 | 461 | #: templates/events/team_event_list.inc.html:8 |
130 | 463 | msgid "Teams" | 462 | msgid "Teams" |
131 | 464 | msgstr "" | 463 | msgstr "" |
132 | @@ -467,7 +466,7 @@ | |||
133 | 467 | msgid "Show All Events" | 466 | msgid "Show All Events" |
134 | 468 | msgstr "" | 467 | msgstr "" |
135 | 469 | 468 | ||
137 | 470 | #: templates/base.html:14 templates/index.html:24 | 469 | #: templates/base.html:14 templates/index.html:52 |
138 | 471 | msgid "Events" | 470 | msgid "Events" |
139 | 472 | msgstr "" | 471 | msgstr "" |
140 | 473 | 472 | ||
141 | @@ -503,61 +502,65 @@ | |||
142 | 503 | msgid "LoCo Directory" | 502 | msgid "LoCo Directory" |
143 | 504 | msgstr "" | 503 | msgstr "" |
144 | 505 | 504 | ||
146 | 506 | #: templates/index.html:15 | 505 | #: templates/index.html:16 |
147 | 507 | msgid "Show all Teams" | 506 | msgid "Show all Teams" |
148 | 508 | msgstr "" | 507 | msgstr "" |
149 | 509 | 508 | ||
151 | 510 | #: templates/index.html:17 | 509 | #: templates/index.html:18 |
152 | 511 | msgid "" | 510 | msgid "" |
153 | 512 | "List of all Ubuntu LoCo Teams, with full information such as contact, web " | 511 | "List of all Ubuntu LoCo Teams, with full information such as contact, web " |
154 | 513 | "pages, mailing list, and more." | 512 | "pages, mailing list, and more." |
155 | 514 | msgstr "" | 513 | msgstr "" |
156 | 515 | 514 | ||
158 | 516 | #: templates/index.html:18 | 515 | #: templates/index.html:19 |
159 | 517 | msgid "" | 516 | msgid "" |
160 | 518 | "If there are no teams in your country/region/area, you will be able to add a " | 517 | "If there are no teams in your country/region/area, you will be able to add a " |
161 | 519 | "team in the near future." | 518 | "team in the near future." |
162 | 520 | msgstr "" | 519 | msgstr "" |
163 | 521 | 520 | ||
165 | 522 | #: templates/index.html:24 | 521 | #: templates/index.html:20 |
166 | 522 | msgid "Select your continent below to find an Ubuntu LoCo Team near you." | ||
167 | 523 | msgstr "" | ||
168 | 524 | |||
169 | 525 | #: templates/index.html:52 | ||
170 | 523 | msgid "Show all Events" | 526 | msgid "Show all Events" |
171 | 524 | msgstr "" | 527 | msgstr "" |
172 | 525 | 528 | ||
174 | 526 | #: templates/index.html:25 | 529 | #: templates/index.html:53 |
175 | 527 | msgid "" | 530 | msgid "" |
176 | 528 | "List of all Ubuntu LoCo Events, with full information such as location, " | 531 | "List of all Ubuntu LoCo Events, with full information such as location, " |
177 | 529 | "attendees, teams, and more." | 532 | "attendees, teams, and more." |
178 | 530 | msgstr "" | 533 | msgstr "" |
179 | 531 | 534 | ||
181 | 532 | #: templates/index.html:26 | 535 | #: templates/index.html:54 |
182 | 533 | msgid "Upcoming Global Events" | 536 | msgid "Upcoming Global Events" |
183 | 534 | msgstr "" | 537 | msgstr "" |
184 | 535 | 538 | ||
186 | 536 | #: templates/index.html:29 templates/events/event_list.html:29 | 539 | #: templates/index.html:57 templates/events/event_list.html:29 |
187 | 537 | msgid "Global Events as ical" | 540 | msgid "Global Events as ical" |
188 | 538 | msgstr "" | 541 | msgstr "" |
189 | 539 | 542 | ||
191 | 540 | #: templates/index.html:31 templates/events/event_list.html:31 | 543 | #: templates/index.html:59 templates/events/event_list.html:31 |
192 | 541 | msgid "Select a global event below to see more information about it:" | 544 | msgid "Select a global event below to see more information about it:" |
193 | 542 | msgstr "" | 545 | msgstr "" |
194 | 543 | 546 | ||
196 | 544 | #: templates/index.html:36 templates/events/event_list.html:36 | 547 | #: templates/index.html:64 templates/events/event_list.html:36 |
197 | 545 | msgid "There are currently no LoCo Global Events" | 548 | msgid "There are currently no LoCo Global Events" |
198 | 546 | msgstr "" | 549 | msgstr "" |
199 | 547 | 550 | ||
201 | 548 | #: templates/index.html:41 | 551 | #: templates/index.html:69 |
202 | 549 | msgid "Upcoming Team Events" | 552 | msgid "Upcoming Team Events" |
203 | 550 | msgstr "" | 553 | msgstr "" |
204 | 551 | 554 | ||
206 | 552 | #: templates/index.html:43 templates/events/event_list.html:46 | 555 | #: templates/index.html:71 templates/events/event_list.html:46 |
207 | 553 | msgid "Team Events as ical" | 556 | msgid "Team Events as ical" |
208 | 554 | msgstr "" | 557 | msgstr "" |
209 | 555 | 558 | ||
211 | 556 | #: templates/index.html:45 templates/events/event_list.html:52 | 559 | #: templates/index.html:73 templates/events/event_list.html:52 |
212 | 557 | msgid "There are currently no LoCo Team Events" | 560 | msgid "There are currently no LoCo Team Events" |
213 | 558 | msgstr "" | 561 | msgstr "" |
214 | 559 | 562 | ||
216 | 560 | #: templates/index.html:50 templates/events/global_event_detail.inc.html:11 | 563 | #: templates/index.html:78 templates/events/global_event_detail.inc.html:11 |
217 | 561 | msgid "Microblogging" | 564 | msgid "Microblogging" |
218 | 562 | msgstr "" | 565 | msgstr "" |
219 | 563 | 566 | ||
220 | @@ -855,6 +858,11 @@ | |||
221 | 855 | msgid "Copy Event" | 858 | msgid "Copy Event" |
222 | 856 | msgstr "" | 859 | msgstr "" |
223 | 857 | 860 | ||
224 | 861 | #: templates/events/team_event_detail.html:17 | ||
225 | 862 | #: templates/teams/team_detail.html:110 | ||
226 | 863 | msgid "iCal Feed" | ||
227 | 864 | msgstr "" | ||
228 | 865 | |||
229 | 858 | #: templates/events/team_event_detail.inc.html:14 | 866 | #: templates/events/team_event_detail.inc.html:14 |
230 | 859 | msgid "Details" | 867 | msgid "Details" |
231 | 860 | msgstr "" | 868 | msgstr "" |
232 | @@ -1085,10 +1093,6 @@ | |||
233 | 1085 | msgid "RSS Feed" | 1093 | msgid "RSS Feed" |
234 | 1086 | msgstr "" | 1094 | msgstr "" |
235 | 1087 | 1095 | ||
236 | 1088 | #: templates/teams/team_detail.html:110 | ||
237 | 1089 | msgid "iCal Feed" | ||
238 | 1090 | msgstr "" | ||
239 | 1091 | |||
240 | 1092 | #: templates/teams/team_detail.html:117 | 1096 | #: templates/teams/team_detail.html:117 |
241 | 1093 | #, python-format | 1097 | #, python-format |
242 | 1094 | msgid "%(start_date)s in %(city)s" | 1098 | msgid "%(start_date)s in %(city)s" |
243 | 1095 | 1099 | ||
244 | === added file 'loco_directory/media/css/continents.css' | |||
245 | --- loco_directory/media/css/continents.css 1970-01-01 00:00:00 +0000 | |||
246 | +++ loco_directory/media/css/continents.css 2010-08-17 18:02:39 +0000 | |||
247 | @@ -0,0 +1,124 @@ | |||
248 | 1 | /* Continents */ | ||
249 | 2 | ul#continents { | ||
250 | 3 | list-style: none; | ||
251 | 4 | background: url(../images/map.png) no-repeat 0 0; | ||
252 | 5 | position: relative; | ||
253 | 6 | width: 580px; | ||
254 | 7 | height: 268px; | ||
255 | 8 | margin: 0 auto; | ||
256 | 9 | padding: 0; | ||
257 | 10 | } | ||
258 | 11 | |||
259 | 12 | ul#continents li { | ||
260 | 13 | position: absolute; | ||
261 | 14 | } | ||
262 | 15 | |||
263 | 16 | ul#continents li a{ | ||
264 | 17 | display: block; | ||
265 | 18 | height: 100%; | ||
266 | 19 | text-decoration: none; | ||
267 | 20 | } | ||
268 | 21 | |||
269 | 22 | #northamerica { | ||
270 | 23 | width: 227px; | ||
271 | 24 | height: 142px; | ||
272 | 25 | top: 2px; | ||
273 | 26 | left: 0px; | ||
274 | 27 | } | ||
275 | 28 | |||
276 | 29 | #southamerica { | ||
277 | 30 | width: 108px; | ||
278 | 31 | height: 130px; | ||
279 | 32 | top: 131px; | ||
280 | 33 | left: 76px; | ||
281 | 34 | } | ||
282 | 35 | |||
283 | 36 | #africa { | ||
284 | 37 | width: 120px; | ||
285 | 38 | height: 140px; | ||
286 | 39 | top: 83px; | ||
287 | 40 | left: 209px; | ||
288 | 41 | } | ||
289 | 42 | |||
290 | 43 | #europe { | ||
291 | 44 | width: 120px; | ||
292 | 45 | height: 84px; | ||
293 | 46 | top: 1px; | ||
294 | 47 | left: 211px; | ||
295 | 48 | } | ||
296 | 49 | |||
297 | 50 | #asia { | ||
298 | 51 | width: 215px; | ||
299 | 52 | height: 175px; | ||
300 | 53 | top: 1px; | ||
301 | 54 | left: 283px; | ||
302 | 55 | } | ||
303 | 56 | |||
304 | 57 | #australia { | ||
305 | 58 | width: 114px; | ||
306 | 59 | height: 95px; | ||
307 | 60 | top: 152px; | ||
308 | 61 | left: 432px; | ||
309 | 62 | } | ||
310 | 63 | |||
311 | 64 | ul#continents li a:hover { | ||
312 | 65 | background: url(../images/map.png) no-repeat 0 0; | ||
313 | 66 | } | ||
314 | 67 | |||
315 | 68 | ul#continents li#northamerica a:hover { | ||
316 | 69 | background-position: 0 -270px; | ||
317 | 70 | } | ||
318 | 71 | |||
319 | 72 | ul#continents li#southamerica a:hover { | ||
320 | 73 | background-position: -226px -273px; | ||
321 | 74 | } | ||
322 | 75 | |||
323 | 76 | ul#continents li#africa a:hover { | ||
324 | 77 | background-position: -209px -417px; | ||
325 | 78 | } | ||
326 | 79 | |||
327 | 80 | ul#continents li#europe a:hover { | ||
328 | 81 | background-position: -22px -427px; | ||
329 | 82 | } | ||
330 | 83 | |||
331 | 84 | ul#continents li#asia a:hover { | ||
332 | 85 | background-position: -363px -268px; | ||
333 | 86 | } | ||
334 | 87 | |||
335 | 88 | ul#continents li#australia a:hover { | ||
336 | 89 | background-position: -412px -455px; | ||
337 | 90 | } | ||
338 | 91 | |||
339 | 92 | ul#continents li a span { | ||
340 | 93 | display: none; | ||
341 | 94 | text-align:left; | ||
342 | 95 | } | ||
343 | 96 | |||
344 | 97 | ul#continents li a:hover span { | ||
345 | 98 | display: block; | ||
346 | 99 | } | ||
347 | 100 | |||
348 | 101 | ul#continents li a:hover span { | ||
349 | 102 | display: block; | ||
350 | 103 | padding: 5px; | ||
351 | 104 | width: 200px; | ||
352 | 105 | background: #000; | ||
353 | 106 | position: relative; | ||
354 | 107 | top: 68%; | ||
355 | 108 | font-size: 11px; | ||
356 | 109 | opacity: .75; | ||
357 | 110 | filter:alpha(opacity=75); | ||
358 | 111 | color: #FFF; | ||
359 | 112 | border-radius: 4px; | ||
360 | 113 | -moz-border-radius: 4px; | ||
361 | 114 | -webkit-border-radius: 4px; | ||
362 | 115 | } | ||
363 | 116 | |||
364 | 117 | ul#continents li a:hover span strong { | ||
365 | 118 | display: block; | ||
366 | 119 | margin-bottom: 2px; | ||
367 | 120 | font-size: 12px; | ||
368 | 121 | color:white; | ||
369 | 122 | text-decoration: underline; | ||
370 | 123 | } | ||
371 | 124 | |||
372 | 0 | 125 | ||
373 | === added file 'loco_directory/media/images/map.png' | |||
374 | 1 | Binary files loco_directory/media/images/map.png 1970-01-01 00:00:00 +0000 and loco_directory/media/images/map.png 2010-08-17 18:02:39 +0000 differ | 126 | Binary files loco_directory/media/images/map.png 1970-01-01 00:00:00 +0000 and loco_directory/media/images/map.png 2010-08-17 18:02:39 +0000 differ |
375 | === modified file 'loco_directory/templates/index.html' | |||
376 | --- loco_directory/templates/index.html 2010-08-17 00:33:22 +0000 | |||
377 | +++ loco_directory/templates/index.html 2010-08-17 18:02:39 +0000 | |||
378 | @@ -6,6 +6,7 @@ | |||
379 | 6 | {% block extrahead %} | 6 | {% block extrahead %} |
380 | 7 | {{block.super}} | 7 | {{block.super}} |
381 | 8 | <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}/css/twidenash.css" /> | 8 | <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}/css/twidenash.css" /> |
382 | 9 | <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}/css/continents.css" /> | ||
383 | 9 | {% endblock %} | 10 | {% endblock %} |
384 | 10 | 11 | ||
385 | 11 | {% block content %} | 12 | {% block content %} |
386 | @@ -16,7 +17,34 @@ | |||
387 | 16 | <p> | 17 | <p> |
388 | 17 | {% trans "List of all Ubuntu LoCo Teams, with full information such as contact, web pages, mailing list, and more." %} | 18 | {% trans "List of all Ubuntu LoCo Teams, with full information such as contact, web pages, mailing list, and more." %} |
389 | 18 | {% trans "If there are no teams in your country/region/area, you will be able to add a team in the near future." %} | 19 | {% trans "If there are no teams in your country/region/area, you will be able to add a team in the near future." %} |
390 | 20 | {% trans "Select your continent below to find an Ubuntu LoCo Team near you." %} | ||
391 | 19 | </p> | 21 | </p> |
392 | 22 | <ul id="continents"> | ||
393 | 23 | <li id="northamerica"> | ||
394 | 24 | <a href="{% url team-list %}#North%20America"> | ||
395 | 25 | </a> | ||
396 | 26 | </li> | ||
397 | 27 | <li id="southamerica"> | ||
398 | 28 | <a href="{% url team-list %}#South%20America"> | ||
399 | 29 | </a> | ||
400 | 30 | </li> | ||
401 | 31 | <li id="asia"> | ||
402 | 32 | <a href="{% url team-list %}#Asia"> | ||
403 | 33 | </a> | ||
404 | 34 | </li> | ||
405 | 35 | <li id="australia"> | ||
406 | 36 | <a href="{% url team-list %}#Australia"> | ||
407 | 37 | </a> | ||
408 | 38 | </li> | ||
409 | 39 | <li id="africa"> | ||
410 | 40 | <a href="{% url team-list %}#Africa"> | ||
411 | 41 | </a> | ||
412 | 42 | </li> | ||
413 | 43 | <li id="europe"> | ||
414 | 44 | <a href="{% url team-list %}#Europe"> | ||
415 | 45 | </a> | ||
416 | 46 | </li> | ||
417 | 47 | </ul> | ||
418 | 20 | </article> | 48 | </article> |
419 | 21 | <hr class="divide" /> | 49 | <hr class="divide" /> |
420 | 22 | 50 | ||
421 | 23 | 51 | ||
422 | === modified file 'loco_directory/templates/teams/team_list.html' | |||
423 | --- loco_directory/templates/teams/team_list.html 2010-07-30 20:55:49 +0000 | |||
424 | +++ loco_directory/templates/teams/team_list.html 2010-08-17 18:02:39 +0000 | |||
425 | @@ -21,7 +21,7 @@ | |||
426 | 21 | <article id="main-content" class="main-content"> | 21 | <article id="main-content" class="main-content"> |
427 | 22 | {% if team_list %} | 22 | {% if team_list %} |
428 | 23 | {% for continent in continents %}{% if continent.related_teams %} | 23 | {% for continent in continents %}{% if continent.related_teams %} |
430 | 24 | <h2>{{continent.name}}</h2> | 24 | <h2><a name="{{continent.name}}">{{continent.name}}</a></h2> |
431 | 25 | <ul> | 25 | <ul> |
432 | 26 | {{colcycle.reset}} | 26 | {{colcycle.reset}} |
433 | 27 | {% for team in continent.related_teams %} | 27 | {% for team in continent.related_teams %} |
You can see what it looks like here: http:// img842. imageshack. us/f/ldmap. png/
On hover it turns the continent gray and shows it's name.