Commit e642f6cccb182080366d5e75ef73d3dcf15d5c6c
- Diff rendering mode:
- inline
- side by side
alipi/templates/directory.html
(14 / 2)
  | |||
1 | 1 | <!doctype html> | |
2 | 2 | <html> | |
3 | <head> | ||
3 | 4 | <title>Directory of Alipi</title> | |
5 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> | ||
6 | <style> | ||
7 | .renarration-item-wrapper{ | ||
8 | border: 2px solid #DDDDDD; | ||
9 | height: auto; | ||
10 | width: auto; | ||
11 | } | ||
12 | </style> | ||
13 | </head> | ||
4 | 14 | <body> | |
5 | <div> | ||
15 | <div class="container"> | ||
6 | 16 | <p>List of links narrated</p> | |
7 | 17 | {% if name %} | |
8 | 18 | {% for i in name %} | |
9 | 19 | {% if i['about'] != 'undefined' %} | |
20 | <div class="renarration-item-wrapper"> | ||
10 | 21 | <p><a href="{{i['about']}}">{{ i['about'] }}</a> in <a href="http://y.a11y.in/web?foruri={{ mymodule(i['about']) }}&lang={{i['lang']}}&interactive=1">{{i['lang']}}</a></p> | |
11 | 22 | <p style="padding:5px">Narrations contributed at:</p> | |
12 | 23 | {% for x in mylist(myset(i['na'])) %} | |
13 | 24 | <p><a href="{{x}}" style="padding:5px">{{x}}</a></p> | |
14 | 25 | {% endfor %} | |
15 | 26 | {% endif %} | |
27 | </div> | ||
16 | 28 | {% endfor %} | |
17 | 29 | {% else %} | |
18 | <p>Hello world</p> | ||
30 | <p>The directory listing is empty. </p> | ||
19 | 31 | {% endif %} | |
20 | 32 | </div> | |
21 | 33 | </body> |