service worker resources, php import js scripts in file
This commit is contained in:
parent
1ecbdd19a1
commit
055dbfaaaf
@ -23,7 +23,7 @@ echo "
|
|||||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' type='text/css'>
|
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' type='text/css'>
|
||||||
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'>
|
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'>
|
||||||
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'>
|
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'>
|
||||||
<link rel='stylesheet' href='assets/css/main.min.css?v=201'>
|
<link rel='stylesheet' href='assets/css/main.min.css'>
|
||||||
<script data-ad-client='ca-pub-5143923140938916' async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
|
<script data-ad-client='ca-pub-5143923140938916' async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
echo "
|
echo "
|
||||||
<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js'></script>
|
|
||||||
<script src='https://code.getmdl.io/1.3.0/material.min.js'></script>
|
|
||||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js'></script>
|
|
||||||
<script src='assets/js/loader.min.js?v=1.6'></script>
|
|
||||||
<script src='assets/js/calcscript.js?v=1.8'></script>
|
|
||||||
<script src='assets/js/changeall.js?v=1.8'></script>
|
|
||||||
<script src='assets/js/sparabetyg.js?v=1.10'></script>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
";
|
||||||
|
readfile("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js");
|
||||||
|
readfile("https://code.getmdl.io/1.3.0/material.min.js");
|
||||||
|
readfile("https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js");
|
||||||
|
readfile("assets/js/loader.min.js");
|
||||||
|
readfile("assets/js/calcscript.js");
|
||||||
|
readfile("assets/js/changeall.js");
|
||||||
|
readfile("assets/js/sparabetyg.js");
|
||||||
|
echo "
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('select').material_select();
|
$('select').material_select();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
function updateGrade() {
|
function updateGrade() {
|
||||||
$('select').material_select('destroy');
|
$('select').material_select('destroy');
|
||||||
window.setTimeout(partB,50);
|
window.setTimeout(partB,50);
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
echo "
|
echo "
|
||||||
<!--
|
|
||||||
XXXXXX
|
|
||||||
HEADER
|
|
||||||
XXXXXX
|
|
||||||
-->
|
|
||||||
<div id='hider' style='display:none;height: 100vh;position: fixed;width: 100vw;top: 0;background-color: rgba(85, 85, 85, 0.74);z-index: 4;'></div>
|
<div id='hider' style='display:none;height: 100vh;position: fixed;width: 100vw;top: 0;background-color: rgba(85, 85, 85, 0.74);z-index: 4;'></div>
|
||||||
<div id='popup' style='display:none;'>
|
<div id='popup' style='display:none;'>
|
||||||
<div style='margin:30px;'>
|
<div style='margin:30px;'>
|
||||||
@ -22,13 +17,13 @@ $(document).ready(function() {
|
|||||||
$('#popup').delay(1000).fadeIn();
|
$('#popup').delay(1000).fadeIn();
|
||||||
$('#hider').delay(300).fadeIn();
|
$('#hider').delay(300).fadeIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('body').click(function(e)
|
$('body').click(function(e)
|
||||||
{
|
{
|
||||||
$('#popup').fadeOut();
|
$('#popup').fadeOut();
|
||||||
$('#hider').fadeOut();
|
$('#hider').fadeOut();
|
||||||
localStorage.setItem('popupInfo','sett')
|
localStorage.setItem('popupInfo','sett')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
";
|
";
|
||||||
|
@ -22,13 +22,11 @@ self.addEventListener('install', function(e) {
|
|||||||
'/assets/img/favicon/favicon-32x32.png',
|
'/assets/img/favicon/favicon-32x32.png',
|
||||||
'/assets/img/favicon/favicon-16x16.png',
|
'/assets/img/favicon/favicon-16x16.png',
|
||||||
'/assets/img/favicon/favicon.ico',
|
'/assets/img/favicon/favicon.ico',
|
||||||
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/fonts/roboto/Roboto-Regular.woff2',
|
'/assets/js/softscrollscript.js',
|
||||||
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/fonts/roboto/Roboto-Regular.woff',
|
|
||||||
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css',
|
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css',
|
||||||
'https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2',
|
|
||||||
'https://fonts.googleapis.com/icon?family=Material+Icons',
|
'https://fonts.googleapis.com/icon?family=Material+Icons',
|
||||||
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
|
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
|
||||||
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'
|
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css',
|
||||||
]);
|
]);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user