From 276020181c4e3e5eda6e95db02df06db9ad8d870 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Fri, 27 Sep 2024 10:54:27 -0500 Subject: [PATCH] style --- rdgenerator/forms.py | 3 +- rdgenerator/templates/generator.html | 223 ++++++++++++++++++++------- 2 files changed, 169 insertions(+), 57 deletions(-) diff --git a/rdgenerator/forms.py b/rdgenerator/forms.py index ad6bd1e..1c40c9f 100644 --- a/rdgenerator/forms.py +++ b/rdgenerator/forms.py @@ -2,7 +2,8 @@ from django import forms class GenerateForm(forms.Form): #Platform - platform = forms.ChoiceField(choices=[('windows','Windows'),('linux','Linux (currently unavailable)'),('android','Android (currently unavailable)')], initial='windows') + platform = forms.ChoiceField(choices=[('windows','Windows'),('linux','Linux (currently unavailable)'),('android','Android (testing now available)')], initial='windows') + delayFix = forms.BooleanField(initial=True, required=False) #General exename = forms.CharField(label="Name for EXE file", required=True) diff --git a/rdgenerator/templates/generator.html b/rdgenerator/templates/generator.html index fa81ba2..935cbd5 100644 --- a/rdgenerator/templates/generator.html +++ b/rdgenerator/templates/generator.html @@ -1,37 +1,134 @@ - + - Server Configuration Form + + + RustDesk Custom Client Builder + + -
-

Select Platform

- - {{ form.platform }}

+

RustDesk Custom Client Builder

+ +
+

Select Platform

+
+ + + +
+ + {{ form.delayFix }}

+
+ +
-

General

+

General

{{ form.exename }}

@@ -45,7 +142,7 @@
-

Custom Server

+

Custom Server

{{ form.serverIP }}

@@ -55,9 +152,10 @@ {{ form.urlLink }}

- +
+
-

Security

+

Security

{{ form.runasadmin }}

@@ -74,7 +172,7 @@
-

Visual

+

Visual

{{ form.iconfile }}

@@ -86,35 +184,15 @@ {{ form.theme }} {{ form.themeDorO }} *Default sets the theme but allows the client to change it, Override sets the theme permanently.

- - +
+
-

Permissions

+

Permissions

The following Permissions can be set as default (the user can change the settins) or override (the settings cannot be changed).
{{ form.permissionsDorO }} {{ form.permissionsType }}

+
{{ form.enableKeyboard }} {{ form.enableClipboard }}
{{ form.enableFileTransfer }} @@ -124,19 +202,52 @@ {{ form.enableRecording }} {{ form.enableBlockingInput }}
{{ form.enableRemoteModi }}

+
-

Other

+

Other

{{ form.removeWallpaper }}


{{ form.defaultManual }}


{{ form.overrideManual }}

+
+
- Generate a custom client exe file +
+
+ \ No newline at end of file