2018-12-19 01:54:56 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!--<html lang="en">-->
|
|
|
|
<html lang="pl-PL">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2019-01-16 20:00:52 +01:00
|
|
|
<title>Python Flask App</title>
|
2018-12-19 01:54:56 +01:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
2019-01-16 20:00:52 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="signup.css">
|
|
|
|
<!-- <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> -->
|
2018-12-19 01:54:56 +01:00
|
|
|
|
|
|
|
<link href="http://getbootstrap.com/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
|
|
|
|
<link href="../static/css/signup.css" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="../static/css/calendar.css">
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2019-01-16 20:00:52 +01:00
|
|
|
<body>
|
2018-12-19 01:54:56 +01:00
|
|
|
|
|
|
|
<div class="container">
|
2019-01-16 20:00:52 +01:00
|
|
|
<div class="header">
|
|
|
|
<nav>
|
|
|
|
<ul class="nav nav-pills pull-left">
|
|
|
|
<!--<form><input type="button" value="Back" onClick="history.go(-1);return true;"></form>-->
|
|
|
|
<!--<li role="presentation" class="active"><input type="button" value="Back" onClick="history.go(-1);return true;">
|
|
|
|
</li>-->
|
|
|
|
<!--<li role="presentation" class="active"><form action="http://google.com"><input type="button" value="Wstecz" onClick="history.go(-1);return true;"></form></li>-->
|
|
|
|
<li role="presentation" class="active"><a href="userHome">Wróć do strony domowej</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav nav-pills pull-right">
|
|
|
|
<li role="presentation" class="active"><a href="/logout">Wyloguj</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<h3 class="text-muted"><center>Python Flask</center></h3>
|
2018-12-19 01:54:56 +01:00
|
|
|
</div>
|
2019-01-16 20:00:52 +01:00
|
|
|
|
|
|
|
<div class="jumbotron" style="height: 550px;">
|
|
|
|
<h1>Wszystkie materiały uczelni</h1>
|
2018-12-19 01:54:56 +01:00
|
|
|
<div class="col-xs-6">
|
|
|
|
<h2>Materiały do pobrania:</h2>
|
|
|
|
<!-- <form action="downloadResource" method="get" enctype="multipart/form-data"> -->
|
|
|
|
|
|
|
|
{% for key, value in items.items() %}
|
|
|
|
{% if key == "children" %}
|
|
|
|
{% for val in value %}
|
|
|
|
{% for k, v in val.items() %}
|
|
|
|
<h3><ul><a href="{{ v }}">{{ v[v.index('\\')+1:] }}</a></ul></h3>
|
|
|
|
<!-- <ul>{{ value }}</ul> -->
|
|
|
|
<!-- <h2>Value: {{value}}</h2> -->
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2019-01-16 20:00:52 +01:00
|
|
|
|
|
|
|
<!-- {% for item in items %} -->
|
|
|
|
<!-- item.children -->
|
|
|
|
<!-- <ul><a href="{{ item.children }}">{{ item.children }}</a></ul> -->
|
|
|
|
<!-- {% endfor %} -->
|
|
|
|
|
|
|
|
<!-- {% for file in files %} -->
|
|
|
|
<!-- file</br> -->
|
|
|
|
<!-- <ol><a href="{{ resource }}" download>Plik</a></ol> -->
|
|
|
|
<!-- {% endfor %} -->
|
|
|
|
<!-- </form> -->
|
2018-12-19 01:54:56 +01:00
|
|
|
</div>
|
2019-01-16 20:00:52 +01:00
|
|
|
<div class="col-xs-6">
|
|
|
|
Materiał tygodnia:
|
|
|
|
<a href="https://eduwiki.wmi.amu.edu.pl/jassem">Polecamy</a>
|
|
|
|
<h3>Wrzuć materiał</h3>
|
|
|
|
<form action="resources" method="post" enctype="multipart/form-data">
|
|
|
|
<input type="file" name="fileToUpload" id="fileToUpload">
|
|
|
|
<input type="submit" value="Przekaż plik" name="submit">
|
|
|
|
</form>
|
2018-12-19 01:54:56 +01:00
|
|
|
</div>
|
2019-01-16 20:00:52 +01:00
|
|
|
|
|
|
|
|
2018-12-19 01:54:56 +01:00
|
|
|
</div>
|
|
|
|
|
2019-01-16 20:00:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
<p>© UAM 2018</p>
|
|
|
|
</footer>
|
2018-12-19 01:54:56 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|