Files
webgui/emhttp/plugins/dynamix/InstallKey.page
bergware 202cb8c222 Move inline styling in page files to dedicated css files
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages:

- It comes much easier to maintain styling, all css files are easy to find and update
- Browser can cache css files, which may improve page loading time
- Separate theme css files exist, no more need to make selection by coding

- This PR is a 1-to-1 move of existing inline styling to css files
- In future more optimization can be made by consolidating css files
2023-10-14 19:02:35 +02:00

31 lines
986 B
Plaintext

Menu="Registration"
Title="Install Key"
Tag="flag"
Cond="($var['regTy']!='Pro')"
---
<?PHP
/* Copyright 2005-2023, Lime Technology
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<script>
function installKey(file) {
file = file.trim();
if (file) openPlugin('install_key '+encodeURIComponent(file), "_(Install Key)_");
}
</script>
<form markdown="1">
<span class="info">_(To install a registration key, paste the key file URL in the box below and click **Install Key**)_.</span>
_(Key file URL)_:
: <input type="text" name="file" id="key_file" maxlength="1024" value="" style="width:33%">
<input type="button" value="_(Install Key)_" onclick="installKey(this.form.file.value.trim())">
</form>