mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix - Logo should say "Lighting" not "Lightning" (#1510)
* Fix #1505 - Logo should say "Lighting" not "Lightning" * Address LGTM findings * Specify an image theme using html, as fragmented approach
This commit is contained in:
parent
2008e2c3d7
commit
9f6704118e
@ -1,5 +1,8 @@
|
|||||||
![Hyperion](doc/logo_dark.png#gh-dark-mode-only)
|
<picture>
|
||||||
![Hyperion](doc/logo_light.png#gh-light-mode-only)
|
<source media="(prefers-color-scheme: dark)" srcset="doc/logo_dark.png">
|
||||||
|
<source media="(prefers-color-scheme: light)" srcset="doc/logo_light.png">
|
||||||
|
<img alt="Hyperion" src="doc/logo_light.png">
|
||||||
|
</picture>
|
||||||
|
|
||||||
[![Latest-Release](https://img.shields.io/github/v/release/hyperion-project/hyperion.ng?include_prereleases&label=Latest%20Release&logo=github&logoColor=white&color=0f83e7)](https://github.com/hyperion-project/hyperion.ng/releases)
|
[![Latest-Release](https://img.shields.io/github/v/release/hyperion-project/hyperion.ng?include_prereleases&label=Latest%20Release&logo=github&logoColor=white&color=0f83e7)](https://github.com/hyperion-project/hyperion.ng/releases)
|
||||||
[![GitHub Actions](https://github.com/hyperion-project/hyperion.ng/workflows/Hyperion%20CI%20Build/badge.svg?branch=master)](https://github.com/hyperion-project/hyperion.ng/actions)
|
[![GitHub Actions](https://github.com/hyperion-project/hyperion.ng/workflows/Hyperion%20CI%20Build/badge.svg?branch=master)](https://github.com/hyperion-project/hyperion.ng/actions)
|
||||||
|
@ -183,7 +183,7 @@ $(document).ready(function () {
|
|||||||
// Disable or enable Delete Effect Button
|
// Disable or enable Delete Effect Button
|
||||||
$('#effectsdellist').off().on('change', function () {
|
$('#effectsdellist').off().on('change', function () {
|
||||||
var value = $(this).val();
|
var value = $(this).val();
|
||||||
value == null ? $('#btn_edit, #btn_delete').prop('disabled', true) : "";
|
value == null ? $('#btn_edit').prop('disabled', true) : $('#btn_edit').prop('disabled', false);
|
||||||
value.startsWith("int_") ? $('#btn_delete').prop('disabled', true) : $('#btn_delete').prop('disabled', false);
|
value.startsWith("int_") ? $('#btn_delete').prop('disabled', true) : $('#btn_delete').prop('disabled', false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -384,7 +384,7 @@
|
|||||||
|
|
||||||
// Check if the restore to Latin number flag is set:
|
// Check if the restore to Latin number flag is set:
|
||||||
if ( integer ) {
|
if ( integer ) {
|
||||||
if ( parseFloat( num, 10 ) === num ) {
|
if ( parseFloat( num, 10 ) === num ) { //lgtm [js/superfluous-trailing-arguments]
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -405,7 +405,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return integer ? parseFloat( convertedNumber, 10 ) : convertedNumber;
|
return integer ? parseFloat( convertedNumber, 10 ) : convertedNumber; //lgtm [js/superfluous-trailing-arguments]
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -889,7 +889,11 @@ function createTableRow(list, head, align) {
|
|||||||
if (align)
|
if (align)
|
||||||
el.style.verticalAlign = "middle";
|
el.style.verticalAlign = "middle";
|
||||||
|
|
||||||
el.innerHTML = list[i];
|
var purifyConfig = {
|
||||||
|
ADD_TAGS: ['button'],
|
||||||
|
ADD_ATTR: ['onclick']
|
||||||
|
};
|
||||||
|
el.innerHTML = DOMPurify.sanitize(list[i], purifyConfig);
|
||||||
row.appendChild(el);
|
row.appendChild(el);
|
||||||
}
|
}
|
||||||
return row;
|
return row;
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 29 KiB |
Loading…
Reference in New Issue
Block a user