Skip to content

Commit

Permalink
added sorting to the tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
bryangerlach committed Mar 31, 2024
1 parent 274f13f commit 3f85505
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/templates/show_work.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
{% block title %}RustDesk WebUI{% endblock %}
{% block legend_name %}{{ "综合屏" | translate }}{% endblock %}
{% block content %}
<script src="https://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script>
<div style="padding: 20px; background-color: #F2F2F2;">
<div class="layui-row layui-col-space15">
{% if not show_all %}
<div class="layui-col-md15">
<div class="layui-card">
<div class="layui-card-header">{{ "设备统计" | translate }} - 【{{ "用户名" | translate }}:{{u.username}}】</div>
<div class="layui-card-body">
<table class="layui-table">
<table class="layui-table sortable">
<thead>
<tr>
<th>{{ "客户端ID" | translate }}</th>
Expand Down Expand Up @@ -78,7 +79,7 @@
<div class="layui-btn" ><a href="/api/down_peers">{{ "导出xlsx" | translate }}</a></div>
</div>
<div class="layui-card-body">
<table class="layui-table">
<table class="layui-table sortable">
<thead>
<tr>
<th>{{ "客户端ID" | translate }}</th>
Expand Down

0 comments on commit 3f85505

Please sign in to comment.