1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-15 17:50:55 +00:00

Text field for mobile

This commit is contained in:
Philipp Heckel 2021-10-23 23:30:10 -04:00
parent 23cf77e0b7
commit c3b97365ce

View file

@ -14,7 +14,7 @@
<p> <p>
<b>ntfy</b> (pronounce: <i>notify</i>) is a simple <b>HTTP-based pub-sub notification service and tool</b>. <b>ntfy</b> (pronounce: <i>notify</i>) is a simple <b>HTTP-based pub-sub notification service and tool</b>.
It allows you to send <b>desktop notifications via scripts</b>, entirely <b>without signup or cost</b>. It allows you to send <b>desktop notifications via scripts</b>, entirely <b>without signup or cost</b>.
It's entirely free and open source. You can find the source code <a href="https://github.com/binwiederhier/ntfy">on GitHub</a>. It's also <a href="https://github.com/binwiederhier/ntfy">open source</a> if you want to run your own.
</p> </p>
<p id="error"></p> <p id="error"></p>
@ -31,12 +31,12 @@
<h3>Subscribe via web</h3> <h3>Subscribe via web</h3>
<p> <p>
If you subscribe to a topic via this web UI in the field below, messages published to any subscribed topic If you subscribe to a topic via this web UI in the field below, messages published to any subscribed topic
will show up as <b>desktop notification</b>. will show up as <b>desktop notification</b>.
</p> </p>
<form id="subscribeForm"> <form id="subscribeForm">
<p> <p>
<label for="topicField">Topic ID:</label> <label for="topicField">Topic ID:</label>
<input type="text" id="topicField" size="64" placeholder="Letters, numbers, _ and -" pattern="[-_A-Za-z]{1,64}" autofocus /> <input type="text" id="topicField" placeholder="Letters, numbers, _ and -" pattern="[-_A-Za-z]{1,64}" autofocus />
<input type="submit" id="subscribeButton" value="Subscribe topic" /> <input type="submit" id="subscribeButton" value="Subscribe topic" />
</p> </p>
</form> </form>