1 {% extends
"base.html" %}
7 {% block mainmenu %}{{
"/devices/"|main_menu }}{% endblock %}
8 {% block sectionmenu %}{{
"/devices/"|section_menu }}{% endblock %}
10 {% block title %}{% trans
"Managed Devices" %}{% endblock %}
13 <h1>{% trans
"Managed Devices" %}
</h1>
18 <form class=
"form-inline" action=
"{% url "device-create
" %}" method=
"POST">
23 <th>{% trans
"Name" %}
</th>
24 <th>{% trans
"Type" %}
</th>
25 <th>{% trans
"Device ID" %}
</th>
26 <th class=
"buttons">{% trans
"Configure" %}
</th>
28 {% for group in device_groups %}
30 {% if group.is_synced %}
31 <th class=
"group" colspan=
"4">{% trans
"Synchronized" %}
</th>
33 <th class=
"group" colspan=
"4">{% trans
"Not Synchronized" %}
</th>
37 {% for device in group.devices %}
39 <td><a href=
"{% url "device
" device.uid %}">{{ device|device_icon }}{{ device.name|striptags }}
</a></td>
40 <td>{{ device|device_type }}
</td>
41 <td>{{ device.uid|striptags }}
</td>
43 <a class=
"btn btn-default btn-sm" href=
"{% url "device-edit
" device.uid %}">
44 <i class=
"icon-edit"></i>
45 {% trans
"Configure" %}
53 {% blocktrans %}You don't have any devices yet. Go to the
<a href=
"http://wiki.gpodder.org/wiki/Web_Services/Clients">clients
</a> page to learn how to set up your client applications.{% endblocktrans %}
57 <tr class=
"nohighlight">
58 <td>{{ device_form.name }}
</td>
59 <td>{{ device_form.type }}
</td>
60 <td>{{ device_form.uid }}
</td>
62 <button class=
"btn btn-success btn-sm" type=
"submit">
63 <i class=
"icon-plus"></i>
73 {% if deleted_devices %}
74 <h2>{% trans
"Deleted Devices" %}
</h2>
76 {% for d in deleted_devices %}
78 <td><a href=
"{% url "device
" d.uid %}">{{ d|device_icon }}{{ d.name|striptags }}
</a></td>
79 <td>{{ d|device_type }}
</td>
80 <td>{{ d.uid|striptags }}
</td>
82 <form method=
"post" action=
"{% url "device-undelete
" d.uid %}">
84 <button class=
"btn btn-default btn-sm" type=
"submit">
85 <i class=
"icon-repeat"></i> {% trans
"Reactivate" %}
90 <form method=
"post" action=
"{% url "device-delete-permanently
" d.uid %}">
92 <button class=
"btn btn-danger btn-sm" type=
"submit">
93 <i class=
"icon-trash"></i> {% trans
"Delete Permanently" %}