Skip to content

Commit

Permalink
Webchat: fix input maxlength
Browse files Browse the repository at this point in the history
This changes the maxlength of the input message box to 67 characters.
Also changes the GPS beacon text.
  • Loading branch information
hemna committed Sep 26, 2023
1 parent 1e3d0d4 commit 788a72c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aprsd/web/chat/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ <h1>APRSD WebChat {{ version }}</h1>
</div>
<div class="col-sm-3">
<label for="message" class="visually-hidden">Message</label>
<input type="search" class="form-control mb-2 mr-sm-2" name="message" id="message" size="40" maxlength="40" placeholder="Message">
<input type="search" class="form-control mb-2 mr-sm-2" name="message" id="message" size="40" maxlength="67" placeholder="Message">
</div>
<div class="col-auto">
<input type="submit" name="submit" class="btn btn-primary mb-2" id="send_msg" value="Send"/>
<button type="button" class="btn btn-primary mb-2" id="send_beacon" value="Send GPS Beacon">Send GPS Beacon</button>
<button type="button" class="btn btn-primary mb-2" id="send_beacon" value="Send Position">Send Position</button>
<!-- <button type="button" class="btn btn-primary mb-2" id="wipe_local" value="wipe local storage">Wipe LocalStorage</button> -->
</div>
</form>
Expand Down

0 comments on commit 788a72c

Please sign in to comment.