optimize code, move main.css
This commit is contained in:
parent
fa406d6dcb
commit
bd2bc9e2cd
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
echo "
|
echo "
|
||||||
</form>
|
</form>
|
||||||
<a type='button' class='btn btn-primary btn-mini add_row' style='color:#fff;display:block; width:85%; margin:10px auto 0;' onClick='setTimeout(updateGrade(), 5000);'>Lägg till Kurs</a>
|
<a type='button' class='btn btn-primary btn-mini add_row' style='color:#fff;display:block; width:85%; margin:10px auto 0;' onClick='updateGrade();'>Lägg till Kurs</a>
|
||||||
<form onSubmit='return false;' style='display:table; margin:auto;'>
|
<form onSubmit='return false;' style='display:table; margin:auto;'>
|
||||||
<h5>Meritpoäng:</h5>
|
<h5>Meritpoäng:</h5>
|
||||||
<input class='meritpoint' style='width:29px; position:static;' value='0' type='number' step='0.5' min='0' max='2.5'>
|
<input class='meritpoint' style='width:29px; position:static;' value='0' type='number' step='0.5' min='0' max='2.5'>
|
||||||
|
@ -19,11 +19,11 @@ echo "
|
|||||||
<link rel='preconnect' href='https://cdnjs.cloudflare.com' crossorigin>
|
<link rel='preconnect' href='https://cdnjs.cloudflare.com' crossorigin>
|
||||||
<link rel='preconnect' href='https://pagead2.googlesyndication.com' crossorigin>
|
<link rel='preconnect' href='https://pagead2.googlesyndication.com' crossorigin>
|
||||||
<script async src='assets/js/modernizer-webp.js'></script>
|
<script async src='assets/js/modernizer-webp.js'></script>
|
||||||
<link rel='stylesheet' async href='assets/css/main.min.css'>
|
|
||||||
<link rel='preload' async href='assets/img/background85.webp' as='image' type='image/webp'>
|
<link rel='preload' async href='assets/img/background85.webp' as='image' type='image/webp'>
|
||||||
<link disabled class='lateLoader' rel='stylesheet' defer href='https://fonts.googleapis.com/icon?family=Material+Icons'>
|
<link disabled class='lateLoader' rel='stylesheet' defer href='https://fonts.googleapis.com/icon?family=Material+Icons'>
|
||||||
<link rel='stylesheet' defer href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'>
|
<link rel='stylesheet' defer href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'>
|
||||||
<script data-ad-client='ca-pub-5143923140938916' defer src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
|
<script data-ad-client='ca-pub-5143923140938916' defer src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
|
||||||
|
<link rel='stylesheet' async href='assets/css/main.min.css'>
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js'></script>
|
<script src='https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js'></script>
|
||||||
|
@ -17,12 +17,12 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
function updateGrade() {
|
function updateGrade() {
|
||||||
$('select').material_select('destroy');
|
$('select').material_select('destroy');
|
||||||
window.setTimeout(partB,50);
|
window.setTimeout(partB,0);
|
||||||
}
|
}
|
||||||
function partB(){
|
function partB(){
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('select').material_select();
|
$('select').material_select();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
";
|
";
|
||||||
|
Reference in New Issue
Block a user