93 lines
3.7 KiB
HTML
93 lines
3.7 KiB
HTML
![]() |
<!DOCTYPE html>
|
||
|
<!--<html lang="en">-->
|
||
|
<html lang="pl-PL">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Python Flask App</title>
|
||
|
|
||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||
|
<link rel="stylesheet" type="text/css" href="signup.css">
|
||
|
<!-- <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> -->
|
||
|
|
||
|
<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>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<div class="container">
|
||
|
<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="userHomeENG">ENG</a> -->
|
||
|
<!-- </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>
|
||
|
</div>
|
||
|
|
||
|
<div class="jumbotron" style="height: 550px;">
|
||
|
<h1>Wszystkie materiały uczelni</h1>
|
||
|
<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 %}
|
||
|
|
||
|
<!-- {% 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> -->
|
||
|
</div>
|
||
|
<div class="col-xs-6">
|
||
|
<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>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<footer class="footer">
|
||
|
<p>© UAM 2018</p>
|
||
|
</footer>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|