mirror of https://github.com/aredn/aredn.git
Add/fix missing icon tooltips (#1347)
This commit is contained in:
parent
b09062739d
commit
c3a55b112e
|
@ -67,7 +67,7 @@
|
|||
const v2 = match(v[1], reType);
|
||||
if (v2) {
|
||||
v[1] = v2[1];
|
||||
type += ` <div class="icon ${v2[2]}"></div>`;
|
||||
type += ` <div class="icon ${v2[2]}" title="${v2[2]}"></div>`;
|
||||
}
|
||||
switch (v[4]) {
|
||||
case "80":
|
||||
|
@ -88,7 +88,7 @@
|
|||
const k2 = match(k[1], reType);
|
||||
if (k2) {
|
||||
k[1] = k2[1];
|
||||
type = ` <div class="icon ${k2[2]}"></div>`;
|
||||
type = ` <div class="icon ${k2[2]}" title="${v2[2]}"></div>`;
|
||||
}
|
||||
push(services, `<div class="service">${k[1]}${type}</div>`);
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
Password <input type="password"><button>OK</button>
|
||||
</dialog>
|
||||
<div id="login-icon" class="popup-menu">
|
||||
<label>
|
||||
<label title="Login as admin">
|
||||
<input type="checkbox">
|
||||
<div class="icon login"></div>
|
||||
</label>
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
*/
|
||||
%}
|
||||
<div id="tools" class="popup-menu">
|
||||
<label>
|
||||
<label title="Node tools">
|
||||
<input type="checkbox">
|
||||
<div title="Node tools" class="icon tools"></div>
|
||||
<div class="icon tools"></div>
|
||||
</label>
|
||||
<div class="menu">
|
||||
{% if (hardware.getRadioCount() > 0) { %}
|
||||
|
|
|
@ -57,7 +57,7 @@ function serv(ip, hostname)
|
|||
const nametype = name.match(/^(.*)\[(.*)\]$/);
|
||||
if (nametype) {
|
||||
name = nametype[1];
|
||||
type = `<div class="icon ${nametype[2]}"></div>`;
|
||||
type = `<div class="icon ${nametype[2]}" title="${nametype[2]}"></div>`;
|
||||
}
|
||||
const r = url.match(/^(.+:\/\/)([^:]+):(\d+)(.*)$/);
|
||||
switch (r[3]) {
|
||||
|
|
Loading…
Reference in New Issue