Skip to content

Commit

Permalink
feature: Apple touch icons (#24), accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Nov 21, 2021
1 parent 7bdb997 commit 2b9e763
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
Binary file added webui/OliveTinLogo-120px.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added webui/OliveTinLogo-180px.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added webui/OliveTinLogo-57px.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@
<title>OliveTin</title>
<link rel = "stylesheet" type = "text/css" href = "style.css" />
<link rel = "shortcut icon" type = "image/png" href = "OliveTinLogo.png" />

<link rel = "apple-touch-icon" sizes="57x57" href="OliveTinLogo-57px.png" />
<link rel = "apple-touch-icon" sizes="120x120" href="OliveTinLogo-120px.png" />
<link rel = "apple-touch-icon" sizes="180x180" href="OliveTinLogo-180px.png" />
</head>

<body>
<main title = "main content">
<fieldset id = "sectionSwitcher">
<fieldset id = "sectionSwitcher" title = "Sections">
<button id = "showActions">Actions</button>
<button id = "showLogs">Logs</button>
</fieldset>

<section id = "contentLogs" title = "Logs" hidden>
<table>
<table title = "Logs">
<thead>
<tr>
<th>Timestamp</th>
Expand All @@ -31,7 +35,7 @@
</section>

<section id = "contentActions" title = "Actions" hidden >
<fieldset id = "rootGroup">
<fieldset id = "rootGroup" title = "Dashboard of buttons">
</fieldset>
</section>

Expand Down
1 change: 1 addition & 0 deletions webui/js/ActionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ActionButton extends window.HTMLElement {
this.updateFromJson(json)

// DOM Attributes
this.setAttribute("role", "none")
this.btn.title = json.title
this.btn.onclick = () => {
console.log(json.arguments)
Expand Down

0 comments on commit 2b9e763

Please sign in to comment.