First Upload
This commit is contained in:
29
api/templates/assign_peer.html
Normal file
29
api/templates/assign_peer.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{% extends phone_or_desktop %}
|
||||
{% load my_filters %}
|
||||
{% block title %}RustDesk{% endblock %}
|
||||
{% block legend_name %}{{ "Add Peer" | translate }}{% endblock %}
|
||||
{% block content %}
|
||||
<div style="padding: 20px; background-color: #F2F2F2;">
|
||||
<div class="layui-row layui-col-space15">
|
||||
<div class="layui-col-md15">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-header">{{ "Assign Client to User" }}</div>
|
||||
<div class="layui-card-body">
|
||||
<form action="/api/assign_peer" method="post" enctype="multipart/form-data">
|
||||
{{ form.uid }}<br><br>
|
||||
<label for="{{ form.clientID.id_for_label }}">Rustdesk client ID:</label>
|
||||
{{ form.clientID }}<br><br>
|
||||
<label for="{{ form.alias.id_for_label }}">Alias:</label>
|
||||
{{ form.alias }}<br><br>
|
||||
<label for="{{ form.tags.id_for_label }}">Tags:</label>
|
||||
{{ form.tags }}<br><br>
|
||||
<button type="submit">Assign Client</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
document.getElementById("{{ form.clientID.id_for_label }}").value = "{{rid}}"
|
||||
</script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user