rename admin.dashboard to panel.dashboard
This commit is contained in:
parent
2bfb08c2bc
commit
a0382b3aa4
|
@ -35,7 +35,7 @@
|
||||||
<!--<td data-title="Region">region1</td>-->
|
<!--<td data-title="Region">region1</td>-->
|
||||||
<td data-title="IP">{{ address.ip }}</td>
|
<td data-title="IP">{{ address.ip }}</td>
|
||||||
{% if address.user_id != None %}
|
{% if address.user_id != None %}
|
||||||
<td data-title="Assignee"><a href="{{ url_for('admin.dashboard', user_pid=address.user_id) }}">{{ address.owner.email }}</a></td>
|
<td data-title="Assignee"><a href="{{ url_for('panel.dashboard', user_pid=address.user_id) }}">{{ address.owner.email }}</a></td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td></td>
|
<td></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -89,7 +89,7 @@ addEventListener("DOMContentLoaded", function() {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td><a href="{{ url_for('admin.dashboard', user_pid=deploy.user_id) }}">{{ deploy.owner.email }}</a></td>
|
<td><a href="{{ url_for('panel.dashboard', user_pid=deploy.user_id) }}">{{ deploy.owner.email }}</a></td>
|
||||||
<td>{{ deploy.machine_id }}</td>
|
<td>{{ deploy.machine_id }}</td>
|
||||||
<td>{{ deploy.machine_alias }}</font></td>
|
<td>{{ deploy.machine_alias }}</font></td>
|
||||||
<td>{{ deploy.machine_cpu }}</td>
|
<td>{{ deploy.machine_cpu }}</td>
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
<td data-title="Last Charged">{{ moment(deploy.date_last_charge).format('lll') }} ({{ moment(deploy.date_last_charge).fromNow() }})</td>
|
<td data-title="Last Charged">{{ moment(deploy.date_last_charge).format('lll') }} ({{ moment(deploy.date_last_charge).fromNow() }})</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td data-title="Days Left">{{ deploy.daysleft }}</td>
|
<td data-title="Days Left">{{ deploy.daysleft }}</td>
|
||||||
<td data-title="Owner"><a href="{{ url_for('admin.dashboard', user_pid=deploy.user_id) }}">{{ deploy.owner.email }}</a></td>
|
<td data-title="Owner"><a href="{{ url_for('panel.dashboard', user_pid=deploy.user_id) }}">{{ deploy.owner.email }}</a></td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td><a href="{{ url_for('admin.dashboard', user_pid=domain.user_id) }}">{{ domain.owner.email }}</a></td>
|
<td><a href="{{ url_for('panel.dashboard', user_pid=domain.user_id) }}">{{ domain.owner.email }}</a></td>
|
||||||
<td><b><a href="http://{{ domain.fqdn }}">{{ domain.fqdn }}</a></b></td>
|
<td><b><a href="http://{{ domain.fqdn }}">{{ domain.fqdn }}</a></b></td>
|
||||||
<td>{{ domain.date_expire }}</td>
|
<td>{{ domain.date_expire }}</td>
|
||||||
<td>{{ domain.daysleft }}</td>
|
<td>{{ domain.daysleft }}</td>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
{% for order in orders %}
|
{% for order in orders %}
|
||||||
<tr>
|
<tr>
|
||||||
<!--<td data-title="Region">region1</td>-->
|
<!--<td data-title="Region">region1</td>-->
|
||||||
<td data-title="User"><a href="{{ url_for('admin.dashboard', user_pid=order.user_id) }}">{{ order.owner.email }}</a></td>
|
<td data-title="User"><a href="{{ url_for('panel.dashboard', user_pid=order.user_id) }}">{{ order.owner.email }}</a></td>
|
||||||
<td data-title="Recipe"><a href="#" title="{{ order.recipe.description }}">{{ order.recipe.templatefile }}</a></td>
|
<td data-title="Recipe"><a href="#" title="{{ order.recipe.description }}">{{ order.recipe.templatefile }}</a></td>
|
||||||
<td data-title="Parameter1">{{ order.parameter1 }}</td>
|
<td data-title="Parameter1">{{ order.parameter1 }}</td>
|
||||||
<td data-title="Parameter2">{{ order.parameter2 }}</td>
|
<td data-title="Parameter2">{{ order.parameter2 }}</td>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<td>{{ server.hdd }}</td>
|
<td>{{ server.hdd }}</td>
|
||||||
<td>{{ server.address }}</td>
|
<td>{{ server.address }}</td>
|
||||||
<td>{{ server.region.name }}</td>
|
<td>{{ server.region.name }}</td>
|
||||||
<td><a href="{{ url_for('admin.dashboard', user_pid=server.owner.pid) }}">{{ server.owner.email }}</a></td>
|
<td><a href="{{ url_for('panel.dashboard', user_pid=server.owner.pid) }}">{{ server.owner.email }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td data-title="Owner"><a href="{{ url_for('admin.dashboard', user_pid=service.user_id) }}">{{ service.owner.email }}</a></td>
|
<td data-title="Owner"><a href="{{ url_for('panel.dashboard', user_pid=service.user_id) }}">{{ service.owner.email }}</a></td>
|
||||||
<td data-title="Category">{{ service.category }}</td>
|
<td data-title="Category">{{ service.category }}</td>
|
||||||
<td data-title="Description">{{ service.description }}</td>
|
<td data-title="Description">{{ service.description }}</td>
|
||||||
<td data-title="Price">{{ service.price }}</td>
|
<td data-title="Price">{{ service.price }}</td>
|
||||||
|
|
Loading…
Reference in a new issue