mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 16:59:27 -05:00
Added theme support in popup windows
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?PHP
|
||||
/* Copyright 2005-2016, Lime Technology
|
||||
/* Copyright 2005-2017, 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,
|
||||
@@ -10,11 +10,15 @@
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$docroot = $docroot ?: $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
require_once "$docroot/webGui/include/Wrappers.php";
|
||||
|
||||
$var = parse_ini_file('state/var.ini');
|
||||
$webgui = parse_plugin_cfg('dynamix',true);
|
||||
$keyfile = base64_encode(file_get_contents($var['regFILE']));
|
||||
?>
|
||||
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-fonts.css">
|
||||
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-white.css">
|
||||
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-<?=$webgui['display']['theme']?>.css">
|
||||
<script src="/webGui/javascript/dynamix.js"></script>
|
||||
<script>
|
||||
function replaceKey(email, guid, keyfile) {
|
||||
@@ -49,7 +53,7 @@ function replaceKey(email, guid, keyfile) {
|
||||
}
|
||||
</script>
|
||||
<body>
|
||||
<div style="margin-top:20px;font-size:12px;line-height:30px;color:#303030;margin-left:40px;">
|
||||
<div style="margin-top:20px;font-size:12px;line-height:30px;margin-left:40px">
|
||||
<div id="status_panel"></div>
|
||||
<form markdown="1" id="input_form">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user