This commit is contained in:
parent
2321d7d552
commit
ea943e89b0
2 changed files with 22 additions and 0 deletions
|
@ -33,12 +33,23 @@ svg.geavision__row {
|
||||||
|
|
||||||
.info-form__row {
|
.info-form__row {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding: 2px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-form__field {
|
.info-form__field {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding: 0 1em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-form__field * {
|
.info-form__field * {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.info-form__field label {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-form__field input {
|
||||||
|
font-size: 1.1em;
|
||||||
|
}
|
|
@ -29,5 +29,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<h4>Submitting info via REST</h4>
|
||||||
|
<p>You can also submit your info via a PUT to https://buba.ccchh.net/user-entry, with a JSON body like this:</p>
|
||||||
|
<pre>
|
||||||
|
{
|
||||||
|
"title": "My great info",
|
||||||
|
"rows": [
|
||||||
|
["line 1 info", "123"],
|
||||||
|
["line 2 info", "23:42"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue