mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Implemented tooltips for ROptions
This commit is contained in:
parent
c00e610ea7
commit
30ada1df63
@ -11089,6 +11089,11 @@ void show_edit_form(LOGBOOK *lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
if (getcfg(lbs->name, str, comment, sizeof(comment)))
|
||||
sprintf(tooltip, " title=\"%s\"", comment);
|
||||
|
||||
sprintf(str, "Tooltip %s %s", attr_list[index], attr_options[index][i]);
|
||||
tooltip[0] = 0;
|
||||
if (getcfg(lbs->name, str, comment, sizeof(comment)))
|
||||
sprintf(tooltip, " title=\"%s\"", comment);
|
||||
|
||||
rsprintf("<span%s style=\"white-space:nowrap;\">\n", tooltip);
|
||||
|
||||
strencode2(str, attr_options[index][i], sizeof(str));
|
||||
@ -11105,7 +11110,7 @@ void show_edit_form(LOGBOOK *lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
("<input type=radio id=\"%s\" name=\"%s\" value=\"%s\" onChange=\"mod();\">\n",
|
||||
str, ua, str);
|
||||
|
||||
rsprintf("<label for=\"%s\">%s</label>\n", str, str);
|
||||
rsprintf("<label for=\"%s\"%s>%s</label>\n", str, tooltip, str);
|
||||
|
||||
rsprintf("</span>\n");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user