diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Tidy the option panels
Diffstat (limited to 'source/ui-diff.c')
| -rw-r--r-- | source/ui-diff.c | 14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 7 insertions, 7 deletions
diff --git a/source/ui-diff.c b/source/ui-diff.c index 98bccfe..4ac3673 100644 --- a/source/ui-diff.c +++ b/source/ui-diff.c @@ -568,12 +568,12 @@ void cgit_print_diff_ctrls(void) { int i, selected; - html("<div class='cgit-panel'>"); - html("<b>diff options</b>"); + html("<div class='cgit-panel'>\n"); + html("<strong>diff options</strong>"); html("<form method='get'>"); cgit_add_hidden_formfields(1, 0, ctx.qry.page); html("<table>"); - html("<tr><td colspan='2'/></tr>"); + html("<tr><td colspan='2'></td></tr>"); html("<tr>"); html("<td class='label'>context:</td>"); html("<td class='ctrl'>"); @@ -604,11 +604,11 @@ void cgit_print_diff_ctrls(void) html_intoption(1, "ssdiff", selected); html_intoption(2, "stat only", selected); html("</select></td></tr>"); - html("<tr><td/><td class='ctrl'>"); - html("<noscript><input type='submit' value='reload'/></noscript>"); + html("<tr><td></td><td class='ctrl'>"); + html("<noscript><input type='submit' value='reload'></noscript>"); html("</td></tr></table>"); - html("</form>"); - html("</div>"); + html("</form>\n"); + html("</div>\n"); } void cgit_print_diff(const char *new_rev, const char *old_rev, |
