14 lines
598 B
Python
14 lines
598 B
Python
from django import forms
|
|
from json import loads
|
|
|
|
|
|
class ServerAddressForm(forms.Form):
|
|
server_address_form = forms.URLField(
|
|
max_length=1312, initial="http://localhost:8000/", empty_value="http://localhost:8000/", label="")
|
|
server_address_form.widget.attrs["class"] = "w-full rounded-xl border-none shadow-inner shadow-[#242424] bg-charcoal-translucent-light"
|
|
|
|
|
|
class BackendFilepathForm(forms.Form):
|
|
backend_filepath_form = forms.CharField()
|
|
backend_filepath_form.widget.attrs["class"] = "w-full rounded-xl border-none shadow-inner shadow-[#242424] bg-white bg-opacity-10"
|