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@30:6a08abbe6301, 2019-01-17 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Jan 17 13:07:53 2019 +0000
- Revision:
- 30:6a08abbe6301
- Parent:
- page.h@12:237a0f75b4d0
- Child:
- 31:b5ca802195a7
Tidied up the base and derived portions
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 0:f8998d10763e | 1 | #include <time.h> |
| andrewboyson | 0:f8998d10763e | 2 | #include <stdint.h> |
| andrewboyson | 0:f8998d10763e | 3 | |
| andrewboyson | 30:6a08abbe6301 | 4 | #define FAULT_PAGE 0 |
| andrewboyson | 30:6a08abbe6301 | 5 | #define CLOCK_PAGE 1 |
| andrewboyson | 30:6a08abbe6301 | 6 | #define NET_PAGE 2 |
| andrewboyson | 30:6a08abbe6301 | 7 | #define LOG_PAGE 3 |
| andrewboyson | 30:6a08abbe6301 | 8 | #define TRACE_PAGE 4 |
| andrewboyson | 30:6a08abbe6301 | 9 | |
| andrewboyson | 30:6a08abbe6301 | 10 | extern const char* PageSite; |
| andrewboyson | 30:6a08abbe6301 | 11 | extern void PageAddNav(int page); |
| andrewboyson | 30:6a08abbe6301 | 12 | |
| andrewboyson | 2:14de8c14afd9 | 13 | extern void PageAddHeader (const char* site, const char* title, const char* style, const char* script); |
| andrewboyson | 0:f8998d10763e | 14 | extern void PageAddNavItem (int highlight, char* href, char* title); |
| andrewboyson | 12:237a0f75b4d0 | 15 | extern void PageAddH1 (const char* site, const char* pageName); |
| andrewboyson | 12:237a0f75b4d0 | 16 | extern void PageAddH2 (const char* text); |
| andrewboyson | 12:237a0f75b4d0 | 17 | extern void PageAddEnd (void); |
| andrewboyson | 0:f8998d10763e | 18 | |
| andrewboyson | 0:f8998d10763e | 19 | extern void PageAddLabelledValue(char* label, float labelwidth, char* value); |
| andrewboyson | 0:f8998d10763e | 20 | extern void PageAddLabelledMac (char* label, float labelwidth, char* mac); |
| andrewboyson | 0:f8998d10763e | 21 | extern void PageAddLabelledIp4 (char* label, float labelwidth, uint32_t ip); |
| andrewboyson | 0:f8998d10763e | 22 | extern void PageAddLabelledIp6 (char* label, float labelwidth, char* ip); |
| andrewboyson | 0:f8998d10763e | 23 | extern void PageAddLabelledName (char* label, float labelwidth, char* name, char* suffix); |
| andrewboyson | 0:f8998d10763e | 24 | extern void PageAddLabelledOnOff(char* label, float labelwidth, int value); |
| andrewboyson | 0:f8998d10763e | 25 | extern void PageAddLabelledInt (char* label, float labelwidth, int value); |
| andrewboyson | 0:f8998d10763e | 26 | extern void PageAddTm (struct tm* ptm); |
| andrewboyson | 0:f8998d10763e | 27 | |
| andrewboyson | 0:f8998d10763e | 28 | extern void PageAddTextInput (char* action, float width, char* label, float labelwidth, char* name, float inputwidth, char* value); |
| andrewboyson | 0:f8998d10763e | 29 | extern void PageAddIntInput (char* action, float width, char* label, float labelwidth, char* name, float inputwidth, int value); |
| andrewboyson | 0:f8998d10763e | 30 | extern void PageAddHexInput (char* action, float width, char* label, float labelwidth, char* name, float inputwidth, char value0, char value1); |
| andrewboyson | 0:f8998d10763e | 31 | extern void PageAddCheckInput (char* action, char* label, char* name, char* button); |
| andrewboyson | 0:f8998d10763e | 32 | |
| andrewboyson | 0:f8998d10763e | 33 | extern void PageAddAjaxToggle (float labelwidth, char* label, char* id, char* request); |
| andrewboyson | 0:f8998d10763e | 34 | extern void PageAddAjaxHex (float labelwidth, char* label, float inputwidth, char* id, char* request); |