1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

fix dimmer

This commit is contained in:
Jan Schneider 2018-12-22 17:34:46 +01:00
parent 56778a57ac
commit 13192e5a38

View File

@ -22,11 +22,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/i18next/8.1.0/i18next.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-i18next/1.2.0/jquery-i18next.min.js" ></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.7/semantic.min.css" integrity="sha256-wT6CFc7EKRuf7uyVfi+MQNHUzojuHN2pSw0YWFt2K5E=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.7/semantic.min.js" integrity="sha256-flVaeawsBV96vCHiLmXn03IRJym7+ZfcLVvUWONCas8=" crossorigin="anonymous"></script>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/i18next-13.0.0.min.js"></script>
<script src="js/jquery-i18next-1.2.1.min.js"></script>
<script src="js/semantic-2.4.2.min.js"></script>
<link rel="stylesheet" href="css/semantic-2.4.2.min.css" />
<style>
</style>
@ -693,7 +693,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
function init() {
$('body').dimmer('hide');
$('#content').dimmer('hide');
var form_config = {
on: 'blur',
fields: {
@ -922,7 +922,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
$('#install-addon-file-button').contents().last()[0].textContent = i18next.t('choose_addon_file');
});
$('body').dimmer('show');
$('#content').dimmer('show');
sid = get_url_var('sid');
rest("GET", "/get_session", null,
function(data) {
@ -977,6 +977,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
</div>
<div id="content" style="padding: 0; margin: 0; width: 100%">
<div style="padding-top: 5vw; padding-bottom: 5vw" class="ui container">
<h1 class="ui center aligned dividing header" data-i18n="title"></h1>
@ -1139,6 +1140,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</table>
</div>
</div>
</div>
<div style="height:60vh;" id="modal-log" class="ui modal">
<i class="close icon"></i>