Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
page/page.h@84:4ed751de613e, 2019-04-06 (annotated)
- Committer:
- andrewboyson
- Date:
- Sat Apr 06 11:32:45 2019 +0000
- Revision:
- 84:4ed751de613e
- Parent:
- 77:4689596a2f3f
- Child:
- 86:f3c9beec4ee7
Added option for a suffix to an input
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 0:f8998d10763e | 1 | #include <stdint.h> |
| andrewboyson | 77:4689596a2f3f | 2 | #include <stdbool.h> |
| andrewboyson | 0:f8998d10763e | 3 | |
| andrewboyson | 46:1822fdbe6c0c | 4 | #define FAULT_PAGE 0 |
| andrewboyson | 46:1822fdbe6c0c | 5 | #define CLOCK_PAGE 1 |
| andrewboyson | 46:1822fdbe6c0c | 6 | #define NET_PAGE 2 |
| andrewboyson | 46:1822fdbe6c0c | 7 | #define LOG_PAGE 3 |
| andrewboyson | 46:1822fdbe6c0c | 8 | #define TRACE_PAGE 4 |
| andrewboyson | 46:1822fdbe6c0c | 9 | #define FIRMWARE_PAGE 5 |
| andrewboyson | 30:6a08abbe6301 | 10 | |
| andrewboyson | 30:6a08abbe6301 | 11 | extern const char* PageSite; |
| andrewboyson | 30:6a08abbe6301 | 12 | extern void PageAddNav(int page); |
| andrewboyson | 30:6a08abbe6301 | 13 | |
| andrewboyson | 2:14de8c14afd9 | 14 | extern void PageAddHeader (const char* site, const char* title, const char* style, const char* script); |
| andrewboyson | 0:f8998d10763e | 15 | extern void PageAddNavItem (int highlight, char* href, char* title); |
| andrewboyson | 12:237a0f75b4d0 | 16 | extern void PageAddH1 (const char* site, const char* pageName); |
| andrewboyson | 12:237a0f75b4d0 | 17 | extern void PageAddH2 (const char* text); |
| andrewboyson | 12:237a0f75b4d0 | 18 | extern void PageAddEnd (void); |
| andrewboyson | 0:f8998d10763e | 19 | |
| andrewboyson | 77:4689596a2f3f | 20 | extern void PageAddLabelledText (char* label, char* text); |
| andrewboyson | 77:4689596a2f3f | 21 | extern void PageAddLabelledPrefixSuffix(char* label, char* prefix, char* text, char* suffix); |
| andrewboyson | 77:4689596a2f3f | 22 | extern void PageAddLabelledMac (char* label, char* mac); |
| andrewboyson | 77:4689596a2f3f | 23 | extern void PageAddLabelledIp4 (char* label, uint32_t ip); |
| andrewboyson | 77:4689596a2f3f | 24 | extern void PageAddLabelledIp6 (char* label, char* ip); |
| andrewboyson | 77:4689596a2f3f | 25 | extern void PageAddLabelledOnOff (char* label, bool value); |
| andrewboyson | 77:4689596a2f3f | 26 | extern void PageAddLabelledInt (char* label, int value); |
| andrewboyson | 0:f8998d10763e | 27 | |
| andrewboyson | 77:4689596a2f3f | 28 | extern void PageAddInputText (char* label, float inputwidth, char* value, char* action, char* name); |
| andrewboyson | 77:4689596a2f3f | 29 | extern void PageAddInputInt (char* label, float inputwidth, int value, char* action, char* name); |
| andrewboyson | 77:4689596a2f3f | 30 | extern void PageAddInputButton (char* label, char* value, char* action, char* name); |
| andrewboyson | 0:f8998d10763e | 31 | |
| andrewboyson | 77:4689596a2f3f | 32 | extern void PageAddAjaxLed (char* label, char* id); |
| andrewboyson | 77:4689596a2f3f | 33 | extern void PageAddAjaxLabelled (char* label, char* id); |
| andrewboyson | 77:4689596a2f3f | 34 | extern void PageAddAjaxLabelledSuffix (char* label, char* id, char* suffix); |
| andrewboyson | 77:4689596a2f3f | 35 | extern void PageAddAjaxInputToggle (char* label, char* id, char* name); |
| andrewboyson | 84:4ed751de613e | 36 | extern void PageAddAjaxInput (char* label, float inputwidth, char* id, char* name); |
| andrewboyson | 84:4ed751de613e | 37 | extern void PageAddAjaxInputSuffix (char* label, float inputwidth, char* id, char* name, char* suffix); |