Skip to content

feat(webserver): unify button styles in default template - #217

Merged
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:feature/issues17
Jun 20, 2026
Merged

feat(webserver): unify button styles in default template#217
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:feature/issues17

Conversation

@ngosang

@ngosang ngosang commented Jun 20, 2026

Copy link
Copy Markdown
Member

Apply the input-field look of the Download button to all native buttons across the default template, and turn the log page reset links into proper buttons.

  • style.css: extend the input styling rule to button elements so the native buttons on the Kad and Servers pages match the existing input[type=submit] buttons (blue border, white background).
  • amuleweb-main-log.php: replace the (Reset log) and (Reset Serverinfo) text links with inline forms submitting a button (same pattern as the Servers page disconnect button), preserving the confirm() prompt and the target iframe. Each title and its reset button now sit on the same line via a flex row, with the button aligned right and extra vertical spacing before the iframe. The button text is kept short with a title attribute as alternative text.

Apply the input-field look of the Download button to all native
buttons across the default template, and turn the log page reset
links into proper buttons.

- style.css: extend the input styling rule to button elements so the
  native buttons on the Kad and Servers pages match the existing
  input[type=submit] buttons (blue border, white background).
- amuleweb-main-log.php: replace the (Reset log) and (Reset Serverinfo)
  text links with inline forms submitting a button (same pattern as the
  Servers page disconnect button), preserving the confirm() prompt and
  the target iframe. Each title and its reset button now sit on the same
  line via a flex row, with the button aligned right and extra vertical
  spacing before the iframe. The button text is kept short with a title
  attribute as alternative text.
@ngosang
ngosang merged commit 65b0c5e into amule-org:master Jun 20, 2026
10 checks passed
@ngosang
ngosang deleted the feature/issues17 branch June 20, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant