fix tabs
This commit is contained in:
parent
7ca0784789
commit
96276f9f37
@ -5,12 +5,13 @@ function createCourse($dname, $nameId, $points, $disabled) {
|
||||
$disClass = "";
|
||||
}
|
||||
echo "
|
||||
<div style='display:flex;'>
|
||||
<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>
|
||||
</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'>
|
||||
@ -22,5 +23,5 @@ function createCourse($dname, $nameId, $points, $disabled) {
|
||||
<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>";
|
||||
</div>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user