2024-03-08 19:11:50 -06:00
|
|
|
from django import forms
|
|
|
|
from json import loads
|
|
|
|
|
|
|
|
|
|
|
|
class ServerAddressForm(forms.Form):
|
|
|
|
server_address_form = forms.URLField(
|
2024-03-09 23:20:35 -06:00
|
|
|
max_length=1312, initial="http://localhost:8000/", empty_value="http://localhost:8000/", label="")
|
2024-04-17 01:04:36 -05:00
|
|
|
server_address_form.widget.attrs["class"] = "w-full rounded-xl border-none shadow-inner shadow-[#242424] bg-charcoal-translucent-light"
|
2024-03-09 23:20:35 -06:00
|
|
|
|
|
|
|
|
|
|
|
class BackendFilepathForm(forms.Form):
|
|
|
|
backend_filepath_form = forms.CharField()
|
2024-03-12 22:30:39 -05:00
|
|
|
backend_filepath_form.widget.attrs["class"] = "w-full rounded-xl border-none shadow-inner shadow-[#242424] bg-white bg-opacity-10"
|