Added sensor code transmitter ID fields (#6780)

* Copied #5442 - Duplicated @c-robertson's work

* Added tx id and sensor code to tooltip

* Added swagger docs for the new fields

* Added missing language keys

* Added new fields to sage plugin display

Co-authored-by: Sulka Haro <sulka@sulka.net>
This commit is contained in:
Caleb
2021-01-26 21:33:10 +02:00
committed by GitHub
co-authored by Sulka Haro
parent 5aa98eeaf6
commit 85aea0fec5
8 changed files with 68 additions and 22 deletions
+12
View File
@@ -375,6 +375,18 @@
</label>
</fieldset>
<fieldset id="sensorInfo">
<legend class="translate">Sensor</legend>
<label id="sensorCodeLabel" for="sensorCode" class="left-column short-label">
<span class="translate">Sensor Code</span>
<input type="text" id="sensorCode" />
</label>
<label id="txIdLabel" for="transmitterId" class="left-column short-label">
<span class="translate">Tx ID</span>
<input type="text" id="transmitterId" />
</label>
</fieldset>
<label id="insulinGivenLabel" for="insulinGiven" class="left-column short-label">
<span class="translate">Insulin Given</span>
<input type="number" step="any" min="0" id="insulinGiven" placeholder="Amount in units" class="titletranslate" pattern="[0-9.,]*">