2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 14:58:17 +00:00

fix bogus check on readonly field

This commit is contained in:
2025-01-28 20:41:06 +00:00
parent 798ffc248e
commit e39760590f
2 changed files with 6 additions and 3 deletions

View File

@@ -553,7 +553,7 @@ class ExpoPageForm(forms.Form):
"style": "vertical-align: text-top;"} "style": "vertical-align: text-top;"}
) )
) )
identified_login = forms.BooleanField(widget=forms.CheckboxInput(attrs={"onclick":"return false"})) # make it readonly identified_login = forms.BooleanField(required=False,widget=forms.CheckboxInput(attrs={"onclick":"return false"})) # makes it readonly
who_are_you = forms.CharField( who_are_you = forms.CharField(
widget=forms.Textarea( widget=forms.Textarea(

View File

@@ -5,6 +5,8 @@
background-color:#9ff; background-color:#9ff;
text-align:center; text-align:center;
font-weight:bold; font-weight:bold;
{% if troggle %}font-size:80%; {% endif %}
} }
.toolbarlinkslocal .toolbarlinkslocal
{ {
@@ -12,6 +14,7 @@
background-color:#f9f; background-color:#f9f;
text-align:center; text-align:center;
font-weight:bold; font-weight:bold;
{% if troggle %}font-size:80%; {% endif %}
} }
</style> </style>
{% if settings.DEVSERVER %} {% if settings.DEVSERVER %}
@@ -31,7 +34,7 @@
<a href="{% url "photoupload" %}">Upload Photos</a> | <a href="{% url "photoupload" %}">Upload Photos</a> |
<a href="{% url "gpxupload" %}">Upload GPX</a> | <a href="{% url "gpxupload" %}">Upload GPX</a> |
<br> <br>
<a href="{% url "dataissues" %}">Data Issues</a> | <a href="{% url "dataissues" %}">Data Issues</a> |
<a href="/handbook/computing/todo-data.html">tasks to do </a> | <a href="/handbook/computing/todo-data.html">tasks to do </a> |
@@ -42,6 +45,6 @@
<a href="/survexfilewild/{{current_year}}">Wild Survex({{current_year}})</a> | <a href="/survexfilewild/{{current_year}}">Wild Survex({{current_year}})</a> |
<a href="/wallets/year/{{current_year}}">Wallets({{current_year}})</a> | <a href="/wallets/year/{{current_year}}">Wallets({{current_year}})</a> |
<a href="/expedition/{{current_year}}">Expo({{current_year}})</a> | <a href="/expedition/{{current_year}}">Expo({{current_year}})</a> |
<a href="{% url "controlpanel" %}">Control panel</a> | <a href="{% url "controlpanel" %}">Control panel</a>
</div> </div>