forked from znick/anytask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'znick_anytask/master'
- Loading branch information
Showing
20 changed files
with
2,213 additions
and
1,057 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[flake8] | ||
count = True | ||
exclude = .git,__pycache__,build,dist,anytask/media,debian,migrations | ||
ignore = | ||
W503 | ||
# W503 is deprecated, see https://www.python.org/dev/peps/pep-0008/#id20 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{% extends "base.html" %} | ||
{% load i18n %} | ||
{% load django_bootstrap_breadcrumbs %} | ||
|
||
{% block title %}Anytask{% endblock %} | ||
|
||
{% block scripts %} | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.0/jquery.matchHeight-min.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
$('.card-centered').matchHeight(); | ||
}); | ||
</script> | ||
{% endblock %} | ||
|
||
{% block navbar %} | ||
<ul class="nav navbar-nav"> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="">{% trans "arhiv" %}</a> | ||
</li> | ||
</ul> | ||
{% endblock navbar %} | ||
|
||
{% block breadcrumbs %} | ||
{{ block.super }} | ||
{% breadcrumb_for "" %} | ||
{% trans "arhiv" %} | ||
{% endbreadcrumb_for %} | ||
{% endblock breadcrumbs %} | ||
|
||
{% block content %} | ||
|
||
{# <div class="jumbotron">#} | ||
{# <h1 class="display-3">Anytask</h1>#} | ||
{# <p class="lead">β-{% trans "версия" %}</p>#} | ||
{# <p>#} | ||
{# {% trans "Платформа для взаимодействия преподавателей и студентов в процессе обучения." %}#} | ||
{##} | ||
{# {% trans "AnyTask — сервис для учета выполнения студентами программы по учебным курсам." %}#} | ||
{# <a href="/about">>></a> #} | ||
{# </p>#} | ||
{# <!-- <p><a class="btn btn-primary btn-large">Learn more »</a></p> -->#} | ||
{# </div>#} | ||
|
||
<div class="row"> | ||
{% for school in schools %} | ||
<div class="col-md-6"> | ||
<div class="card"> | ||
<a class="card-link card-clickable" href="{% url "schools.views.archive_page" school.link %}"> | ||
<div class="card-block card-centered"> | ||
<h4 class="card-title">{{ school.name }}</h4> | ||
{# <p class="card-text">Some text.</p>#} | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.