make create course file and update samhäll accordingly
This commit is contained in:
parent
24692013a3
commit
fc6a8f16d9
662
html/Samhäll.php
662
html/Samhäll.php
@ -48,645 +48,51 @@ XXXXXXXXXXXXXXX
|
|||||||
ÄMNES VAL LISTA
|
ÄMNES VAL LISTA
|
||||||
XXXXXXXXXXXXXXX
|
XXXXXXXXXXXXXXX
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include "include/extraKurs.php";
|
include "include/extraKurs.php";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form class="courses kurser">
|
<form class="courses kurser">
|
||||||
|
|
||||||
|
|
||||||
<!--Engelska 5-->
|
<?php
|
||||||
<div style="display:flex;">
|
include "include/createCourse.php"
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
createCourse("Engelska 5","eng5",100 , "disabled");
|
||||||
<span>Engelska 5</span>
|
createCourse("Engelska 6","eng6",100 , "");
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
createCourse("Historia 1b","his1b",100 , "disabled");
|
||||||
</span></li>
|
createCourse("Idrott och hälsa 1","idr1",100 , "disabled");
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
createCourse("Matematik 1b","mat1b",100 , "disabled");
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Engelska5">
|
createCourse("Matematik 2b","mat2b",100 , "");
|
||||||
<select class="grade">
|
createCourse("Naturkunskap 1b","nat1b",100 , "");
|
||||||
<option value="0">F</option>
|
createCourse("Religionskunskap 1","rel1",50 , "disabled");
|
||||||
<option selected value="10">E</option>
|
createCourse("Samhällskunskap 1b","sam1b",100 , "disabled");
|
||||||
<option value="12.5">D</option>
|
createCourse("Svenska 1","sve1",100 , "disabled");
|
||||||
<option value="15">C</option>
|
createCourse("Svenska 2","sve2",100 , "");
|
||||||
<option value="17.5">B</option>
|
createCourse("Svenska 3","sve3",100 , "");
|
||||||
<option value="20">A</option>
|
createCourse("Filosofi","fil1",50 , "");
|
||||||
</select>
|
createCourse("Moderna språk","mods",200 , "");
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
createCourse("Psykologi 1","psy1",50 , "");
|
||||||
</div>
|
createCourse("Inriktning 1","inr1",100 , "");
|
||||||
|
createCourse("Inriktning 2","inr2",100 , "");
|
||||||
|
createCourse("Inriktning 3","inr3",100 , "");
|
||||||
|
createCourse("Inriktning 4","inr4",100 , "");
|
||||||
|
createCourse("Inriktning 5","inr5",50 , "");
|
||||||
|
createCourse("Inriktning 6","inr6",100 , "");
|
||||||
|
createCourse("Programfördjupning 1","prof1",100 , "");
|
||||||
<!--Engelska 6-->
|
createCourse("Programfördjupning 2","prof2",100 , "");
|
||||||
<div style="display:flex;">
|
createCourse("Individuellt val 1","indv1",100 , "");
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
createCourse("Individuellt val 2","indv2",100 , "");
|
||||||
<span class="mdl-list__item-primary-content">
|
?>
|
||||||
<span>Engelska 6</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Engelska6">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Historia 1b-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Historia 1b</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Historia1b">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Idrott och hälsa 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Idrott och hälsa 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Idrott1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Matematik 1b-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Matematik 1b</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Matematik1b">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Matematik 2b-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Matematik 2b</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Matematik2b">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Naturkunskap 1b-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Naturkunskap 1b</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Naturkunskap1b">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Religionskunskap 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Religionskunskap 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="50">50 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="50">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Religionskunskap1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Samhällskunskap 1b-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Samhällskunskap 1b</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Samhällskunskap1b">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Svenska 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Svenska 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Svenska1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a disabled class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Svenska 2-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Svenska 2</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Svenska2">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Svenska 3-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Svenska 3</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Svenska3">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Filosofi 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="fil1">Filosofi 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="50">50 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="50">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Filosofi1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Moderna språk-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="mods">Moderna språk</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="200">200 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="200">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="ModernaSpråk">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Psykologi 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="psy1">Psykologi 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="50">50 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="50">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Psykologi1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Inriktning 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="inr1">Inriktning 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Inriktning1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Inriktning 2-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="inr2">Inriktning 2</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Inriktning2">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Inriktning 3-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="inr3">Inriktning 3</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Inriktning3">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Inriktning 4-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="inr4">Inriktning 4</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Inriktning4">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Inriktning 5-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="inr5">Inriktning 5</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="50">50 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="50">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Inriktning5">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Inriktning 6-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="inr6">Inriktning 6</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Inriktning6">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Programfördjupning 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="prof1">Programfördjupning 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Programfördjupning1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Programfördjupning 2-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span id="prof2">Programfördjupning 2</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="Programfördjupning2">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Individuellt val 1-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Individuellt val 1</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="IndividuelltVal1">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Individuellt val 2-->
|
|
||||||
<div style="display:flex;">
|
|
||||||
<li class="mdl-list__item mdl-list__item--two-line" style="overflow:visible;padding: 16px 24px 16px 16px;width:175px">
|
|
||||||
<span class="mdl-list__item-primary-content">
|
|
||||||
<span>Individuellt val 2</span>
|
|
||||||
<span class="points mdl-list__item-sub-title" value="100">100 Poäng</span>
|
|
||||||
</span></li>
|
|
||||||
<input class="points" style="display:none;" type="text" value="100">
|
|
||||||
<input class="subjectName" style="display:none;" type="text" value="IndividuelltVal2">
|
|
||||||
<select class="grade">
|
|
||||||
<option value="0">F</option>
|
|
||||||
<option selected value="10">E</option>
|
|
||||||
<option value="12.5">D</option>
|
|
||||||
<option value="15">C</option>
|
|
||||||
<option value="17.5">B</option>
|
|
||||||
<option value="20">A</option>
|
|
||||||
</select>
|
|
||||||
<a class="delete_row mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" style="margin:16px 5px">Ta Bort</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</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="setTimeout(updateGrade(), 5000);">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">
|
||||||
</form><br>
|
</form><br>
|
||||||
<span class="score_span" style="margin-left:0px;"></span>
|
<span class="score_span" style="margin-left:0px;"></span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
26
html/include/createCourse.php
Normal file
26
html/include/createCourse.php
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
function createCourse($dname, $nameId, $points, $disabled) {
|
||||||
|
$disClass = "delete_row";
|
||||||
|
if($disabled==='disabled') {
|
||||||
|
$disClass = "";
|
||||||
|
}
|
||||||
|
echo "
|
||||||
|
<div style='display:flex;'>
|
||||||
|
<li class='mdl-list__item mdl-list__item--two-line' style='overflow:visible;padding: 16px 24px 16px 16px;width:175px'>
|
||||||
|
<span class='mdl-list__item-primary-content'>
|
||||||
|
<span id='$nameId'>$dname</span>
|
||||||
|
<span class='points mdl-list__item-sub-title' value=''+points+''>$points Poäng</span>
|
||||||
|
</span></li>
|
||||||
|
<input class='points' style='display:none;' type='text' value='$points'>
|
||||||
|
<input class='subjectName' style='display:none;' type='text' value='$nameId'>
|
||||||
|
<select class='grade'>
|
||||||
|
<option value='0'>F</option>
|
||||||
|
<option selected value='10'>E</option>
|
||||||
|
<option value='12.5'>D</option>
|
||||||
|
<option value='15'>C</option>
|
||||||
|
<option value='17.5'>B</option>
|
||||||
|
<option value='20'>A</option>
|
||||||
|
</select>
|
||||||
|
<a $disabled class='$disClass mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect' style='margin:16px 5px'>Ta Bort</a>
|
||||||
|
</div>";
|
||||||
|
}
|
Reference in New Issue
Block a user