InQuire/templates/lectures.html

75 lines
2.7 KiB
HTML
Raw Normal View History

{% extends "index.html" %}
{% block title %}Terminy wykładów{% endblock %}
{% block content %}
<div class="container header__container">
<div class="row">
<div class="col s12">
<div class="card color--primary white-text">
<span class="card-title">Nazwa wykładu</span>
</div>
</div>
</div>
</div>
<div class="container body__container">
<div class="row">
<div class="col s12">
<div class="card color--primary white-text">
<div class="card-content">
<span class="card-title card-title__body">Pytania studentów</span>
<ul id="questions-list">
<li class="row">
<span class="date">
2019-01-16 12:18:25 +01:00
16.01.2019
</span>
<span class="col s7" style="display:flex; align-items:center; text-align: left">
2019-01-16 12:18:25 +01:00
Peopleware
</span>
2019-01-14 00:27:56 +01:00
<a class="col s5 btn--answer waves-effect waves-light btn-large red">OTWÓRZ</a>
</li>
<li class="row">
<span class="date">
2019-01-16 12:18:25 +01:00
9.01.2019
</span>
<span class="col s7" style="display:flex; align-items:center; text-align: left">
2019-01-16 12:18:25 +01:00
Jak zostać komputerowym geniuszem?
</span>
2019-01-14 00:27:56 +01:00
<a class="col s5 btn--answer waves-effect waves-light btn-large red">OTWÓRZ</a>
</li>
<li class="row" style="margin-bottom: 0">
<span class="date">
2019-01-16 12:18:25 +01:00
19.01.2019
</span>
<span class="col s7" style="display:flex; align-items:center; text-align: left">
2019-01-16 12:18:25 +01:00
Jak zaplanować projekt informatyczny?
</span>
2019-01-14 00:27:56 +01:00
<a class="col s5 btn--answer waves-effect waves-light btn-large red">OTWÓRZ</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block script %}
<script>
/////////// DO OGARNIĘCIA /////////////
$('.btn--answer').on('click', () => {
window.location.href = "/student"
/*
$.ajax({
url: '/account',
type: 'POST',
succes: function(response) {
conosle.log(response)
}
});
*/
})
</script>
{% endblock %}