diff --git a/.gitignore b/.gitignore index 3f4f54e..1cdd1df 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ venv # Project specific db.sqlite3 +public/ diff --git a/gestiojeux/settings.dev.py b/gestiojeux/settings.dev.py index 160754e..d0dde1a 100644 --- a/gestiojeux/settings.dev.py +++ b/gestiojeux/settings.dev.py @@ -35,6 +35,7 @@ USE_TZ = True # Directories STATIC_ROOT = os.path.join(PUBLIC_DIR, "static") +MEDIA_ROOT = os.path.join(PUBLIC_DIR, "media") # Email EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" diff --git a/gestiojeux/settings_base.py b/gestiojeux/settings_base.py index 0666cdd..df8e6bf 100644 --- a/gestiojeux/settings_base.py +++ b/gestiojeux/settings_base.py @@ -25,6 +25,8 @@ INSTALLED_APPS = [ "django.contrib.sessions", "django.contrib.messages", "django.contrib.staticfiles", + "mainsite", + "inventory", ] MIDDLEWARE = [ @@ -64,12 +66,13 @@ AUTH_PASSWORD_VALIDATORS = [ { "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator", }, - {"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",}, - {"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",}, - {"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",}, + {"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator"}, + {"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator"}, + {"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator"}, ] # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.0/howto/static-files/ STATIC_URL = "/static/" +MEDIA_URL = "/media/" diff --git a/gestiojeux/urls.py b/gestiojeux/urls.py index 654982a..39f3559 100644 --- a/gestiojeux/urls.py +++ b/gestiojeux/urls.py @@ -14,8 +14,15 @@ Including another URLconf 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin -from django.urls import path +from django.urls import include, path +from django.conf import settings +from django.conf.urls.static import static urlpatterns = [ - path('admin/', admin.site.urls), + path("admin/", admin.site.urls), + path("inventory/", include("inventory.urls")), + path("", include("mainsite.urls")), ] + +if settings.DEBUG: + urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/inventory/__init__.py b/inventory/__init__.py new file mode 100644 index 0000000..a3a84be --- /dev/null +++ b/inventory/__init__.py @@ -0,0 +1 @@ +default_app_config = "inventory.apps.InventoryConfig" diff --git a/inventory/admin.py b/inventory/admin.py new file mode 100644 index 0000000..787b95d --- /dev/null +++ b/inventory/admin.py @@ -0,0 +1,6 @@ +from django.contrib import admin +from .models import Category, Tag, Game + +admin.site.register(Category) +admin.site.register(Tag) +admin.site.register(Game) diff --git a/inventory/apps.py b/inventory/apps.py new file mode 100644 index 0000000..b5453d8 --- /dev/null +++ b/inventory/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class InventoryConfig(AppConfig): + name = "inventory" + verbose_name = "Inventaire" diff --git a/inventory/migrations/0001_initial.py b/inventory/migrations/0001_initial.py new file mode 100644 index 0000000..6812fc4 --- /dev/null +++ b/inventory/migrations/0001_initial.py @@ -0,0 +1,53 @@ +# Generated by Django 3.1.2 on 2020-10-11 15:42 + +import autoslug.fields +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Category', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=256, verbose_name='nom')), + ], + options={ + 'verbose_name': 'catégorie', + }, + ), + migrations.CreateModel( + name='Tag', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=256, verbose_name='nom')), + ], + ), + migrations.CreateModel( + name='Game', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('title', models.CharField(max_length=256, verbose_name='titre')), + ('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='title', unique=True)), + ('player_range', models.CharField(max_length=256, verbose_name='nombre de joueur·se·s')), + ('duration', models.CharField(max_length=256, verbose_name='durée de partie')), + ('editor', models.CharField(blank=True, max_length=256, verbose_name='éditeur')), + ('game_designer', models.CharField(blank=True, max_length=256, verbose_name='game designer')), + ('description', models.TextField(blank=True, verbose_name='description')), + ('image', models.ImageField(blank=True, upload_to='game_images/', verbose_name='image')), + ('category', models.ForeignKey(on_delete=django.db.models.deletion.RESTRICT, to='inventory.category', verbose_name='catégorie')), + ('tags', models.ManyToManyField(blank=True, to='inventory.Tag', verbose_name='tags')), + ], + options={ + 'verbose_name': 'jeu', + 'verbose_name_plural': 'jeux', + }, + ), + ] diff --git a/inventory/migrations/__init__.py b/inventory/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/inventory/models.py b/inventory/models.py new file mode 100644 index 0000000..cc2e024 --- /dev/null +++ b/inventory/models.py @@ -0,0 +1,45 @@ +from django.db import models +from autoslug import AutoSlugField + + +class Category(models.Model): + name = models.CharField(max_length=256, verbose_name="nom") + + class Meta: + verbose_name = "catégorie" + + def __str__(self): + return self.name + + +class Tag(models.Model): + name = models.CharField(max_length=256, verbose_name="nom") + + def __str__(self): + return self.name + + +class Game(models.Model): + title = models.CharField(verbose_name="titre", max_length=256) + slug = AutoSlugField(populate_from="title", unique=True) + player_range = models.CharField( + max_length=256, verbose_name="nombre de joueur·se·s" + ) + duration = models.CharField(max_length=256, verbose_name="durée de partie") + editor = models.CharField(max_length=256, blank=True, verbose_name="éditeur") + game_designer = models.CharField( + max_length=256, blank=True, verbose_name="game designer" + ) + description = models.TextField(blank=True, verbose_name="description") + category = models.ForeignKey( + Category, on_delete=models.RESTRICT, verbose_name="catégorie" + ) + tags = models.ManyToManyField(Tag, blank=True, verbose_name="tags") + image = models.ImageField(upload_to="game_img/", blank=True, verbose_name="image") + + class Meta: + verbose_name = "jeu" + verbose_name_plural = "jeux" + + def __str__(self): + return self.title diff --git a/inventory/templates/inventory/game.html b/inventory/templates/inventory/game.html new file mode 100644 index 0000000..92412a9 --- /dev/null +++ b/inventory/templates/inventory/game.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} + +{% block "title" %} + Inventaire du club Jeux +{% endblock %} + +{% block "content" %} +

{{ game.title }}

+ +
+ {{ game.title }} + +
+

{{ game.category }}

+
+

{{ game.player_range }}

+

{{ game.duration }} +


+

+ {% if game.tags.count %} + {{ game.tags.all|join:", " }} + {% else %} + (Aucun tag) + {% endif %} +

+
+

{{ game.game_designer }} +

{{ game.editor }}

+
+
+ +

{{ object.description }}

+{% endblock %} diff --git a/inventory/templates/inventory/inventory.html b/inventory/templates/inventory/inventory.html new file mode 100644 index 0000000..3962806 --- /dev/null +++ b/inventory/templates/inventory/inventory.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block "title" %} + Inventaire du club Jeux +{% endblock %} + +{% block "content" %} + Il y a {{ game_list|length }} jeux en salle jeux : + +{% endblock %} diff --git a/inventory/tests.py b/inventory/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/inventory/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/inventory/urls.py b/inventory/urls.py new file mode 100644 index 0000000..45fc639 --- /dev/null +++ b/inventory/urls.py @@ -0,0 +1,9 @@ +from django.urls import path +from .views import InventoryView, GameView + +app_name = "inventory" + +urlpatterns = [ + path("", InventoryView.as_view(), name="inventory"), + path("/", GameView.as_view(), name="game"), +] diff --git a/inventory/views.py b/inventory/views.py new file mode 100644 index 0000000..9b86a17 --- /dev/null +++ b/inventory/views.py @@ -0,0 +1,12 @@ +from django.views.generic import ListView, DetailView +from .models import Game + + +class InventoryView(ListView): + model = Game + template_name = "inventory/inventory.html" + + +class GameView(DetailView): + model = Game + template_name = "inventory/game.html" diff --git a/mainsite/__init__.py b/mainsite/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mainsite/admin.py b/mainsite/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/mainsite/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/mainsite/apps.py b/mainsite/apps.py new file mode 100644 index 0000000..8c76684 --- /dev/null +++ b/mainsite/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class MainsiteConfig(AppConfig): + name = 'mainsite' diff --git a/mainsite/migrations/__init__.py b/mainsite/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mainsite/models.py b/mainsite/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/mainsite/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/mainsite/scss/Makefile b/mainsite/scss/Makefile new file mode 100644 index 0000000..1d9c5e0 --- /dev/null +++ b/mainsite/scss/Makefile @@ -0,0 +1,10 @@ +OUTDIR=../static/css +STYLES=style.scss +IMPORTS=params.scss header.scss forms.scss mixins.scss + +SASS=sassc + +all: $(addprefix $(OUTDIR)/,$(STYLES:.scss=.css)) + +$(OUTDIR)/%.css: %.scss $(IMPORTS) + $(SASS) "$<" "$@" diff --git a/mainsite/scss/forms.scss b/mainsite/scss/forms.scss new file mode 100644 index 0000000..4dd10da --- /dev/null +++ b/mainsite/scss/forms.scss @@ -0,0 +1,116 @@ +form { + display: flex; + align-items: stretch; + flex-direction: column; + + .errorlist { + list-style-type: none; + margin: 0; + padding: 0; + font-size: 0.7em; + + li { + @include error_box; + margin-bottom: 10px; + } + } + + p { + margin: 5px 0; + width: 100%; + } +} + +.helptext { + font-size: 0.7em; + color: $help_text_color; +} + +input { + display: block; + width: 100%; + font: inherit; + font-size: 0.9em; + color: black; +} + +input[type="text"], +input[type="email"], +input[type="password"], { + background-color: white; + border: solid 1px $help_text_color; + padding: 5px 10px; + border-radius: 3px; + box-shadow: none; + + &:optional { + border-color: fade-out($help_text_color, .25); + } + &:focus { + border-color: $header_bg_color; + box-shadow: 0 0 1.5px 1px $header_bg_color; + } + &:-moz-ui-invalid { + border-color: $error_box_border_color; + box-shadow: 0 0 1.5px 1px $error_box_border_color; + } +} + +input[type="checkbox"], +input[type="radio"] { + width: auto; + margin: 5px 10px; +} + +input[type="submit"] { + @include button; +} + +select { + -webkit-appearance: none; + appearance: none; + + @include button; + width: 100%; + font-size: 0.9em; + margin: 0; + padding: 5px 25px 5px 10px; + text-align: left; + + &:-moz-focusring { + color: transparent; + text-shadow: 0 0 0 #000; + } + + background-image: url('/static/img/select_arrow.svg'); + background-repeat: no-repeat; + background-position: right .7em top 50%, 0 0; + background-size: .65em auto, 100%; +} + +.formfield { + padding: 5px; + margin: 10px 0; +} +.error_field { + border-radius: 10px; + background-color: rgba($error_box_color, .4); +} + +.checkbox_input { + display: flex; + justify-content: space-evenly; + align-items: center; + + .label_line { + order: 1; + flex: 1 1 500px; + } + input { + flex: 0 1 50px; + } +} + +.fieldgroup { + margin: 15px 0; +} diff --git a/mainsite/scss/header.scss b/mainsite/scss/header.scss new file mode 100644 index 0000000..f941c3b --- /dev/null +++ b/mainsite/scss/header.scss @@ -0,0 +1,52 @@ +header { + display: flex; + justify-content: space-between; + align-items: center; + align-content: stretch; + + background-color: $header_bg_color; + color: $header_text_color; + padding: 0 30px; + + h1 { + margin: 0; + a { + display: block; + + padding: 0 20px; + color: $header_text_color; + font-size: $font_size; + text-decoration: none; + } + } + + nav { + display: flex; + justify-content: left; + margin: 0 20px; + flex: 1 1 100px; + } + + nav a, a.login { + display: block; + margin: 0; + padding: 10px 20px; + border-radius: 0; + + color: $header_text_color; + font-size: $nav_font_size; + text-decoration: none; + + &:hover { + background-color: darken($header_bg_color, 10%); + color: $page_link_hover_color; + } + &.current { + background-color: $header_border_color; + } + &:focus { + background-color: darken($header_bg_color, 10%); + box-shadow: none; + } + } +} diff --git a/mainsite/scss/mixins.scss b/mainsite/scss/mixins.scss new file mode 100644 index 0000000..fc719d2 --- /dev/null +++ b/mainsite/scss/mixins.scss @@ -0,0 +1,36 @@ +@mixin box($bg_color: white, $border_color: black) { + border-radius: 10px; + padding: 10px; + border: 1px solid $border_color; + background-color: $bg_color; + color: $page_text_color; +} +@mixin error_box { + @include box($error_box_color, $error_box_border_color); +} +@mixin info_box { + @include box($info_box_color, $info_box_border_color); +} +@mixin success_box { + @include box($success_box_color, $success_box_border_color); +} +@mixin warning_box { + @include box($warning_box_color, $warning_box_border_color); +} + +@mixin button { + display: block; + text-decoration: none; + text-align: center; + font-size: 100%; + + @include box(lighten($header_border_color, 40%), $header_border_color); + + &:hover { + background-color: lighten($header_border_color, 30%); + } + &:focus { + background-color: lighten($header_border_color, 20%); + box-shadow: 0 0 1.5px 1px $header_bg_color; + } +} diff --git a/mainsite/scss/params.scss b/mainsite/scss/params.scss new file mode 100644 index 0000000..a73359c --- /dev/null +++ b/mainsite/scss/params.scss @@ -0,0 +1,40 @@ +$page_bg_color: #f6fbfd; +$page_text_color: #250f2d; +$page_link_color: #2b153f; +$page_link_hover_color: #180c23; +$page_width: 800px; + +$help_text_color: rgba($page_text_color, .65); + +$font_size: 16pt; +$font_family: "Open Sans"; + +$small_screen_font_size: 12pt; + +$header_height: 125px; +$header_logo_maxwidth: 300px; +$header_bg_color: #6bb8c4; +$header_text_color: #f6fbfd; +$header_infos_font_size: 28pt; +$header_infos_font_family: "Kalam"; +$header_border_color: #51808c; +$header_horizontal_padding: 80px; + +$nav_font_size: 18pt; +$nav_height: 55px; + +$footer_bg_color: $header_bg_color; +$footer_font_size: 12pt; + +$indexbar_bg_color_1: rgba($header_bg_color, 0.75); +$indexbar_bg_color_2: rgba($header_bg_color, 0.6); +$indexbar_text_color: darken($page_link_color, 15); + +$info_box_color: #c9c8ff; +$info_box_border_color: darken($info_box_color, 20%); +$error_box_color: #ffcddd; +$error_box_border_color: darken($error_box_color, 20%); +$success_box_color: #a4ffc4; +$success_box_border_color: darken($success_box_color, 40%); +$warning_box_color: #ffd45d; +$warning_box_border_color: darken($warning_box_color, 20%); diff --git a/mainsite/scss/style.scss b/mainsite/scss/style.scss new file mode 100644 index 0000000..218a4b8 --- /dev/null +++ b/mainsite/scss/style.scss @@ -0,0 +1,294 @@ +@charset "utf-8"; +@import "fonts.css"; +@import "mixins"; +@import "params"; +@import "header"; +@import "forms"; + +html { + box-sizing: border-box; +} +*, *:before, *:after { + box-sizing: inherit; +} + +body { + background-color: $page_bg_color; + font-size: $font_size; + font-family: $font_family; + color: $page_text_color; + margin: 0; + + display: flex; + flex-direction: column; + + min-height: 100vh; + width: 100%; + + @media (max-width: 700px) { + font-size: $small_screen_font_size; + } +} + +body > h1 { + margin: 0; + background-color: $header_border_color; + color: $header_text_color; + text-align: center; +} + +main { + display: flex; + justify-content: center; + + flex: 1 0 auto; +} + +#main_content { + width: $page_width; + padding: 20px; + margin-bottom: 50px; + text-align: justify; +} + +footer { + background-color: $footer_bg_color; + font-size: $footer_font_size; + text-align: center; + padding: 10px; +} + +.help_bubble { + @media (min-width: 700px) { + font-size: 0.7em; + position: relative; + bottom: 0.3ex; + left: 0.2ex; + } +} + +a { + text-decoration: underline; + color: $page_link_color; + border-radius: 3px; + + &:hover { + color: $page_link_hover_color; + } +} + +:focus { + outline: none; + box-shadow: 0 0 1.5px 1px $page_link_color; +} +::-moz-focus-inner { + border: none; +} + +em { + font-style: italic; + font-weight: normal; +} + +hr { + border: 1px solid lighten($header_border_color, 40%); + margin: 30px 60px; +} + +.btn_row { + display: flex; + align-items: stretch; + justify-content: space-evenly; + flex-direction: column; +} + +button, .btn_row a { + @include button; + margin: 10px 5px; + + p { + margin: 0; + } +} + +.messages { + list-style-type: none; + margin: 10px 0; + padding: 0; + font-size: 0.8em; + + li { + margin: 8px 0; + } +} + +.error { @include error_box; } +.info { @include info_box; } +.warning { @include warning_box; } +.success { @include success_box; } + +.tooltip { + position: relative; + display: inline-block; + opacity: 0.75; + border-radius: 3px; + + .tooltiptext { + visibility: hidden; + display: block; + background-color: black; + color: rgba(white, 0.80); + text-align: justify; + padding: 10px; + border-radius: 6px; + font-size: 0.8em; + width: 250px; + + @media (max-width: 400px) { + width: 150px; + position: absolute; + left: -75px; + } + + /* Position the tooltip text - see examples below! */ + position: absolute; + left: -75px; + z-index: 1; + + ul { + margin: 0; + padding-left: 15px; + color: inherit; + } + } + + &:hover, &:focus { + opacity: 1; + .tooltiptext { + visibility: visible; + } + } +} + +.antispam { + unicode-bidi: bidi-override; + direction: rtl; +} + +.team_infos { + margin: 25px 0; + padding: 0; + p, ul { + margin: 10px; + } +} + +.invite_link { + display: flex; + + input { + flex: 1 0 200px; + margin: 10px 5px; + } + button { + min-width: 45px; + font-size: 12pt; + } +} + + +table { + border-collapse: collapse; + width: 100%; + border: 2px solid $header_border_color; + + td, th { + border: 1px solid $header_border_color; + padding: 5px; + text-align: left; + } + + th { + border-bottom-width: 2px; + } +} + +iframe { + width: 100%; + height: 400px; + border: 2px solid $header_border_color; +} + +.indexbar { + width: 100%; + display: flex; + justify-content: center; + align-items: stretch; + + a { + text-align: center; + flex: 1 1 0; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: stretch; + + color: $indexbar_text_color; + text-decoration: none; + + border-radius: 0; + + span { + margin: auto 5px; + } + + &:first-child { + border-radius: 1ex 0 0 1ex; + } + &:nth-child(odd) { + background-color: $indexbar_bg_color_1; + } + &:nth-child(even) { + background-color: $indexbar_bg_color_2; + } + &:last-child { + border-radius: 0 1ex 1ex 0; + } + } +} + +#game_infos { + display: flex; + align-items: center; + gap: 20px; + + @media (max-width: 500px) { + flex-direction: column; + } + + img { + max-width: 50%; + border: solid $indexbar_bg_color_1; + border-radius: 10px; + } + + #details { + flex: 1 0 auto; + text-align: left; + max-width: 50%; + + @media (max-width: 500px) { + max-width: 100%; + } + + p { + margin: 1ex; + } + + hr { + margin: 1ex; + } + } +} + diff --git a/mainsite/static/css/font-awesome.min.css b/mainsite/static/css/font-awesome.min.css new file mode 100644 index 0000000..540440c --- /dev/null +++ b/mainsite/static/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/mainsite/static/css/fonts.css b/mainsite/static/css/fonts.css new file mode 100644 index 0000000..a6490d6 --- /dev/null +++ b/mainsite/static/css/fonts.css @@ -0,0 +1,29 @@ +@import url('font-awesome.min.css'); + +/* open-sans-regular - latin */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: url('../fonts/open-sans-v17-latin-regular.eot'); /* IE9 Compat Modes */ + src: local('Open Sans Regular'), local('OpenSans-Regular'), + url('../fonts/open-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/open-sans-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/open-sans-v17-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/open-sans-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/open-sans-v17-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */ +} + +/* philosopher-regular - latin */ +@font-face { + font-family: 'Philosopher'; + font-style: normal; + font-weight: 400; + src: url('../fonts/philosopher-v12-latin-regular.eot'); /* IE9 Compat Modes */ + src: local('Philosopher Regular'), local('Philosopher-Regular'), + url('../fonts/philosopher-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/philosopher-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/philosopher-v12-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/philosopher-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/philosopher-v12-latin-regular.svg#Philosopher') format('svg'); /* Legacy iOS */ +} diff --git a/mainsite/static/css/style.css b/mainsite/static/css/style.css new file mode 100644 index 0000000..e4ff87c --- /dev/null +++ b/mainsite/static/css/style.css @@ -0,0 +1,414 @@ +@import url(fonts.css); +header { + display: flex; + justify-content: space-between; + align-items: center; + align-content: stretch; + background-color: #6bb8c4; + color: #f6fbfd; + padding: 0 30px; } + header h1 { + margin: 0; } + header h1 a { + display: block; + padding: 0 20px; + color: #f6fbfd; + font-size: 16pt; + text-decoration: none; } + header nav { + display: flex; + justify-content: left; + margin: 0 20px; + flex: 1 1 100px; } + header nav a, header a.login { + display: block; + margin: 0; + padding: 10px 20px; + border-radius: 0; + color: #f6fbfd; + font-size: 18pt; + text-decoration: none; } + header nav a:hover, header a.login:hover { + background-color: #48a6b4; + color: #180c23; } + header nav a.current, header a.login.current { + background-color: #51808c; } + header nav a:focus, header a.login:focus { + background-color: #48a6b4; + box-shadow: none; } + +form { + display: flex; + align-items: stretch; + flex-direction: column; } + form .errorlist { + list-style-type: none; + margin: 0; + padding: 0; + font-size: 0.7em; } + form .errorlist li { + border-radius: 10px; + padding: 10px; + border: 1px solid #ff6798; + background-color: #ffcddd; + color: #250f2d; + margin-bottom: 10px; } + form p { + margin: 5px 0; + width: 100%; } + +.helptext { + font-size: 0.7em; + color: rgba(37, 15, 45, 0.65); } + +input { + display: block; + width: 100%; + font: inherit; + font-size: 0.9em; + color: black; } + +input[type="text"], +input[type="email"], +input[type="password"] { + background-color: white; + border: solid 1px rgba(37, 15, 45, 0.65); + padding: 5px 10px; + border-radius: 3px; + box-shadow: none; } + input[type="text"]:optional, + input[type="email"]:optional, + input[type="password"]:optional { + border-color: rgba(37, 15, 45, 0.4); } + input[type="text"]:focus, + input[type="email"]:focus, + input[type="password"]:focus { + border-color: #6bb8c4; + box-shadow: 0 0 1.5px 1px #6bb8c4; } + input[type="text"]:-moz-ui-invalid, + input[type="email"]:-moz-ui-invalid, + input[type="password"]:-moz-ui-invalid { + border-color: #ff6798; + box-shadow: 0 0 1.5px 1px #ff6798; } + +input[type="checkbox"], +input[type="radio"] { + width: auto; + margin: 5px 10px; } + +input[type="submit"] { + display: block; + text-decoration: none; + text-align: center; + font-size: 100%; + border-radius: 10px; + padding: 10px; + border: 1px solid #51808c; + background-color: #c9dbe0; + color: #250f2d; } + input[type="submit"]:hover { + background-color: #a9c6cd; } + input[type="submit"]:focus { + background-color: #89b0ba; + box-shadow: 0 0 1.5px 1px #6bb8c4; } + +select { + -webkit-appearance: none; + appearance: none; + display: block; + text-decoration: none; + text-align: center; + font-size: 100%; + border-radius: 10px; + padding: 10px; + border: 1px solid #51808c; + background-color: #c9dbe0; + color: #250f2d; + width: 100%; + font-size: 0.9em; + margin: 0; + padding: 5px 25px 5px 10px; + text-align: left; + background-image: url("/static/img/select_arrow.svg"); + background-repeat: no-repeat; + background-position: right .7em top 50%, 0 0; + background-size: .65em auto, 100%; } + select:hover { + background-color: #a9c6cd; } + select:focus { + background-color: #89b0ba; + box-shadow: 0 0 1.5px 1px #6bb8c4; } + select:-moz-focusring { + color: transparent; + text-shadow: 0 0 0 #000; } + +.formfield { + padding: 5px; + margin: 10px 0; } + +.error_field { + border-radius: 10px; + background-color: rgba(255, 205, 221, 0.4); } + +.checkbox_input { + display: flex; + justify-content: space-evenly; + align-items: center; } + .checkbox_input .label_line { + order: 1; + flex: 1 1 500px; } + .checkbox_input input { + flex: 0 1 50px; } + +.fieldgroup { + margin: 15px 0; } + +html { + box-sizing: border-box; } + +*, *:before, *:after { + box-sizing: inherit; } + +body { + background-color: #f6fbfd; + font-size: 16pt; + font-family: "Open Sans"; + color: #250f2d; + margin: 0; + display: flex; + flex-direction: column; + min-height: 100vh; + width: 100%; } + @media (max-width: 700px) { + body { + font-size: 12pt; } } + +body > h1 { + margin: 0; + background-color: #51808c; + color: #f6fbfd; + text-align: center; } + +main { + display: flex; + justify-content: center; + flex: 1 0 auto; } + +#main_content { + width: 800px; + padding: 20px; + margin-bottom: 50px; + text-align: justify; } + +footer { + background-color: #6bb8c4; + font-size: 12pt; + text-align: center; + padding: 10px; } + +@media (min-width: 700px) { + .help_bubble { + font-size: 0.7em; + position: relative; + bottom: 0.3ex; + left: 0.2ex; } } + +a { + text-decoration: underline; + color: #2b153f; + border-radius: 3px; } + a:hover { + color: #180c23; } + +:focus { + outline: none; + box-shadow: 0 0 1.5px 1px #2b153f; } + +::-moz-focus-inner { + border: none; } + +em { + font-style: italic; + font-weight: normal; } + +hr { + border: 1px solid #c9dbe0; + margin: 30px 60px; } + +.btn_row { + display: flex; + align-items: stretch; + justify-content: space-evenly; + flex-direction: column; } + +button, .btn_row a { + display: block; + text-decoration: none; + text-align: center; + font-size: 100%; + border-radius: 10px; + padding: 10px; + border: 1px solid #51808c; + background-color: #c9dbe0; + color: #250f2d; + margin: 10px 5px; } + button:hover, .btn_row a:hover { + background-color: #a9c6cd; } + button:focus, .btn_row a:focus { + background-color: #89b0ba; + box-shadow: 0 0 1.5px 1px #6bb8c4; } + button p, .btn_row a p { + margin: 0; } + +.messages { + list-style-type: none; + margin: 10px 0; + padding: 0; + font-size: 0.8em; } + .messages li { + margin: 8px 0; } + +.error { + border-radius: 10px; + padding: 10px; + border: 1px solid #ff6798; + background-color: #ffcddd; + color: #250f2d; } + +.info { + border-radius: 10px; + padding: 10px; + border: 1px solid #6562ff; + background-color: #c9c8ff; + color: #250f2d; } + +.warning { + border-radius: 10px; + padding: 10px; + border: 1px solid #f6b500; + background-color: #ffd45d; + color: #250f2d; } + +.success { + border-radius: 10px; + padding: 10px; + border: 1px solid #00d74c; + background-color: #a4ffc4; + color: #250f2d; } + +.tooltip { + position: relative; + display: inline-block; + opacity: 0.75; + border-radius: 3px; } + .tooltip .tooltiptext { + visibility: hidden; + display: block; + background-color: black; + color: rgba(255, 255, 255, 0.8); + text-align: justify; + padding: 10px; + border-radius: 6px; + font-size: 0.8em; + width: 250px; + /* Position the tooltip text - see examples below! */ + position: absolute; + left: -75px; + z-index: 1; } + @media (max-width: 400px) { + .tooltip .tooltiptext { + width: 150px; + position: absolute; + left: -75px; } } + .tooltip .tooltiptext ul { + margin: 0; + padding-left: 15px; + color: inherit; } + .tooltip:hover, .tooltip:focus { + opacity: 1; } + .tooltip:hover .tooltiptext, .tooltip:focus .tooltiptext { + visibility: visible; } + +.antispam { + unicode-bidi: bidi-override; + direction: rtl; } + +.team_infos { + margin: 25px 0; + padding: 0; } + .team_infos p, .team_infos ul { + margin: 10px; } + +.invite_link { + display: flex; } + .invite_link input { + flex: 1 0 200px; + margin: 10px 5px; } + .invite_link button { + min-width: 45px; + font-size: 12pt; } + +table { + border-collapse: collapse; + width: 100%; + border: 2px solid #51808c; } + table td, table th { + border: 1px solid #51808c; + padding: 5px; + text-align: left; } + table th { + border-bottom-width: 2px; } + +iframe { + width: 100%; + height: 400px; + border: 2px solid #51808c; } + +.indexbar { + width: 100%; + display: flex; + justify-content: center; + align-items: stretch; } + .indexbar a { + text-align: center; + flex: 1 1 0; + display: flex; + flex-direction: column; + justify-content: center; + align-items: stretch; + color: #040206; + text-decoration: none; + border-radius: 0; } + .indexbar a span { + margin: auto 5px; } + .indexbar a:first-child { + border-radius: 1ex 0 0 1ex; } + .indexbar a:nth-child(odd) { + background-color: rgba(107, 184, 196, 0.75); } + .indexbar a:nth-child(even) { + background-color: rgba(107, 184, 196, 0.6); } + .indexbar a:last-child { + border-radius: 0 1ex 1ex 0; } + +#game_infos { + display: flex; + align-items: center; + gap: 20px; } + @media (max-width: 500px) { + #game_infos { + flex-direction: column; } } + #game_infos img { + max-width: 50%; + border: solid rgba(107, 184, 196, 0.75); + border-radius: 10px; } + #game_infos #details { + flex: 1 0 auto; + text-align: left; + max-width: 50%; } + @media (max-width: 500px) { + #game_infos #details { + max-width: 100%; } } + #game_infos #details p { + margin: 1ex; } + #game_infos #details hr { + margin: 1ex; } diff --git a/mainsite/static/fonts/FontAwesome.otf b/mainsite/static/fonts/FontAwesome.otf new file mode 100644 index 0000000..401ec0f Binary files /dev/null and b/mainsite/static/fonts/FontAwesome.otf differ diff --git a/mainsite/static/fonts/fontawesome-webfont.eot b/mainsite/static/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/mainsite/static/fonts/fontawesome-webfont.eot differ diff --git a/mainsite/static/fonts/fontawesome-webfont.svg b/mainsite/static/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/mainsite/static/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mainsite/static/fonts/fontawesome-webfont.ttf b/mainsite/static/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/mainsite/static/fonts/fontawesome-webfont.ttf differ diff --git a/mainsite/static/fonts/fontawesome-webfont.woff b/mainsite/static/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/mainsite/static/fonts/fontawesome-webfont.woff differ diff --git a/mainsite/static/fonts/fontawesome-webfont.woff2 b/mainsite/static/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/mainsite/static/fonts/fontawesome-webfont.woff2 differ diff --git a/mainsite/static/fonts/kalam-v10-latin-regular.eot b/mainsite/static/fonts/kalam-v10-latin-regular.eot new file mode 100644 index 0000000..cd7a091 Binary files /dev/null and b/mainsite/static/fonts/kalam-v10-latin-regular.eot differ diff --git a/mainsite/static/fonts/kalam-v10-latin-regular.svg b/mainsite/static/fonts/kalam-v10-latin-regular.svg new file mode 100644 index 0000000..6ee0e87 --- /dev/null +++ b/mainsite/static/fonts/kalam-v10-latin-regular.svg @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mainsite/static/fonts/kalam-v10-latin-regular.ttf b/mainsite/static/fonts/kalam-v10-latin-regular.ttf new file mode 100644 index 0000000..c86ee99 Binary files /dev/null and b/mainsite/static/fonts/kalam-v10-latin-regular.ttf differ diff --git a/mainsite/static/fonts/kalam-v10-latin-regular.woff b/mainsite/static/fonts/kalam-v10-latin-regular.woff new file mode 100644 index 0000000..d204de1 Binary files /dev/null and b/mainsite/static/fonts/kalam-v10-latin-regular.woff differ diff --git a/mainsite/static/fonts/kalam-v10-latin-regular.woff2 b/mainsite/static/fonts/kalam-v10-latin-regular.woff2 new file mode 100644 index 0000000..77c3861 Binary files /dev/null and b/mainsite/static/fonts/kalam-v10-latin-regular.woff2 differ diff --git a/mainsite/static/fonts/open-sans-v17-latin-regular.eot b/mainsite/static/fonts/open-sans-v17-latin-regular.eot new file mode 100644 index 0000000..8f3becf Binary files /dev/null and b/mainsite/static/fonts/open-sans-v17-latin-regular.eot differ diff --git a/mainsite/static/fonts/open-sans-v17-latin-regular.svg b/mainsite/static/fonts/open-sans-v17-latin-regular.svg new file mode 100644 index 0000000..78eb653 --- /dev/null +++ b/mainsite/static/fonts/open-sans-v17-latin-regular.svg @@ -0,0 +1,336 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mainsite/static/fonts/open-sans-v17-latin-regular.ttf b/mainsite/static/fonts/open-sans-v17-latin-regular.ttf new file mode 100644 index 0000000..fb23764 Binary files /dev/null and b/mainsite/static/fonts/open-sans-v17-latin-regular.ttf differ diff --git a/mainsite/static/fonts/open-sans-v17-latin-regular.woff b/mainsite/static/fonts/open-sans-v17-latin-regular.woff new file mode 100644 index 0000000..39e88ed Binary files /dev/null and b/mainsite/static/fonts/open-sans-v17-latin-regular.woff differ diff --git a/mainsite/static/fonts/open-sans-v17-latin-regular.woff2 b/mainsite/static/fonts/open-sans-v17-latin-regular.woff2 new file mode 100644 index 0000000..e9f58b7 Binary files /dev/null and b/mainsite/static/fonts/open-sans-v17-latin-regular.woff2 differ diff --git a/mainsite/static/fonts/philosopher-v12-latin-italic.woff2 b/mainsite/static/fonts/philosopher-v12-latin-italic.woff2 new file mode 100644 index 0000000..d6ecf2b Binary files /dev/null and b/mainsite/static/fonts/philosopher-v12-latin-italic.woff2 differ diff --git a/mainsite/static/fonts/philosopher-v12-latin-regular.eot b/mainsite/static/fonts/philosopher-v12-latin-regular.eot new file mode 100644 index 0000000..61ebf45 Binary files /dev/null and b/mainsite/static/fonts/philosopher-v12-latin-regular.eot differ diff --git a/mainsite/static/fonts/philosopher-v12-latin-regular.svg b/mainsite/static/fonts/philosopher-v12-latin-regular.svg new file mode 100644 index 0000000..b0d9a24 --- /dev/null +++ b/mainsite/static/fonts/philosopher-v12-latin-regular.svg @@ -0,0 +1,349 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mainsite/static/fonts/philosopher-v12-latin-regular.ttf b/mainsite/static/fonts/philosopher-v12-latin-regular.ttf new file mode 100644 index 0000000..e22a3c3 Binary files /dev/null and b/mainsite/static/fonts/philosopher-v12-latin-regular.ttf differ diff --git a/mainsite/static/fonts/philosopher-v12-latin-regular.woff b/mainsite/static/fonts/philosopher-v12-latin-regular.woff new file mode 100644 index 0000000..23e8888 Binary files /dev/null and b/mainsite/static/fonts/philosopher-v12-latin-regular.woff differ diff --git a/mainsite/static/fonts/philosopher-v12-latin-regular.woff2 b/mainsite/static/fonts/philosopher-v12-latin-regular.woff2 new file mode 100644 index 0000000..d725ead Binary files /dev/null and b/mainsite/static/fonts/philosopher-v12-latin-regular.woff2 differ diff --git a/mainsite/static/img/cof.svg b/mainsite/static/img/cof.svg new file mode 100644 index 0000000..3d9288d --- /dev/null +++ b/mainsite/static/img/cof.svg @@ -0,0 +1,143 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mainsite/static/img/favicon.png b/mainsite/static/img/favicon.png new file mode 100644 index 0000000..4a8cf88 Binary files /dev/null and b/mainsite/static/img/favicon.png differ diff --git a/mainsite/static/img/logo.svg b/mainsite/static/img/logo.svg new file mode 100644 index 0000000..ed879ae --- /dev/null +++ b/mainsite/static/img/logo.svg @@ -0,0 +1,185 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mainsite/static/img/select_arrow.svg b/mainsite/static/img/select_arrow.svg new file mode 100644 index 0000000..4127747 --- /dev/null +++ b/mainsite/static/img/select_arrow.svg @@ -0,0 +1,10 @@ + + + + diff --git a/mainsite/static/js/jquery-3.4.1.min.js b/mainsite/static/js/jquery-3.4.1.min.js new file mode 100644 index 0000000..a1c07fd --- /dev/null +++ b/mainsite/static/js/jquery-3.4.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0Requête invalide +

Votre requête au serveur est invalide et n'a donc pas pu être traitée.

+

Vous pouvez retourner sur la page d'accueil.

+{% endblock %} diff --git a/mainsite/templates/403.html b/mainsite/templates/403.html new file mode 100644 index 0000000..d8ec6b4 --- /dev/null +++ b/mainsite/templates/403.html @@ -0,0 +1,11 @@ +{% extends "base_minimal.html" %} + +{% block "content" %} +

Accès refusé

+

Vous n'avez pas la permission pour consulter cette page.

+{% if not user.is_authenticated %} +

Cet accès vous est probablement refusé car vous n'êtes actuellement pas connecté·e. +Vous pouvez vous rendre à la page de connexion.

+{% endif %} +

Vous pouvez retourner sur la page d'accueil.

+{% endblock %} diff --git a/mainsite/templates/404.html b/mainsite/templates/404.html new file mode 100644 index 0000000..39de595 --- /dev/null +++ b/mainsite/templates/404.html @@ -0,0 +1,7 @@ +{% extends "base_minimal.html" %} + +{% block "content" %} +

Page introuvable

+

La page que vous avez demandée n'existe plus ou n'a jamais existé.

+

Vous pouvez retourner sur la page d'accueil.

+{% endblock %} diff --git a/mainsite/templates/500.html b/mainsite/templates/500.html new file mode 100644 index 0000000..ebbbee5 --- /dev/null +++ b/mainsite/templates/500.html @@ -0,0 +1,8 @@ +{% extends "base_minimal.html" %} + +{% block "content" %} +

Incident technique

+

Un incident technique est survenu pendant l'affichage de cette page.

+

Nous allons essayer de résoudre le problème au plus vite.

+

Vous pouvez retourner sur la page d'accueil.

+{% endblock %} diff --git a/mainsite/templates/base.html b/mainsite/templates/base.html new file mode 100644 index 0000000..1f88740 --- /dev/null +++ b/mainsite/templates/base.html @@ -0,0 +1,30 @@ +{% load static %} + + + + + {% include "partials/head.html" %} + {% block "extra_head" %}{% endblock %} + + + {% include "partials/header.html" %} + +

+ {% block "title" %} + {% endblock %} +

+ +
+
+ {% include "partials/messages.html" %} + + {% block "content" %} + {% endblock %} +
+
+ + {% include "partials/footer.html" %} + {% include "partials/base_js.html" %} + {% block "extra_foot" %}{% endblock %} + + diff --git a/mainsite/templates/mainsite/home.html b/mainsite/templates/mainsite/home.html new file mode 100644 index 0000000..22f4829 --- /dev/null +++ b/mainsite/templates/mainsite/home.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block "title" %} + Bienvenue en salle Jeux +{% endblock %} + +{% block "content" %} + Site d'inventaire et de gestion du club Jeux de l'ENS. +{% endblock %} diff --git a/mainsite/templates/partials/base_js.html b/mainsite/templates/partials/base_js.html new file mode 100644 index 0000000..573149b --- /dev/null +++ b/mainsite/templates/partials/base_js.html @@ -0,0 +1,14 @@ + diff --git a/mainsite/templates/partials/footer.html b/mainsite/templates/partials/footer.html new file mode 100644 index 0000000..205b51e --- /dev/null +++ b/mainsite/templates/partials/footer.html @@ -0,0 +1,3 @@ +
+ Pour tout problème, contactez rf.sne@xuejopser. +
diff --git a/mainsite/templates/partials/head.html b/mainsite/templates/partials/head.html new file mode 100644 index 0000000..605fa31 --- /dev/null +++ b/mainsite/templates/partials/head.html @@ -0,0 +1,8 @@ +{% load static %} + + + + GestioJeux + + + diff --git a/mainsite/templates/partials/header.html b/mainsite/templates/partials/header.html new file mode 100644 index 0000000..8ae606f --- /dev/null +++ b/mainsite/templates/partials/header.html @@ -0,0 +1,16 @@ +
+

+ + GestioJeux + +

+ {% with url_name=request.resolver_match.url_name %} + + + {# #} + {% endwith %} +
diff --git a/mainsite/templates/partials/messages.html b/mainsite/templates/partials/messages.html new file mode 100644 index 0000000..4cafe73 --- /dev/null +++ b/mainsite/templates/partials/messages.html @@ -0,0 +1,9 @@ +{% if messages %} +
    + {% for message in messages %} +
  • + {{ message }} +
  • + {% endfor %} +
+{% endif %} diff --git a/mainsite/tests.py b/mainsite/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/mainsite/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/mainsite/urls.py b/mainsite/urls.py new file mode 100644 index 0000000..aadf41b --- /dev/null +++ b/mainsite/urls.py @@ -0,0 +1,8 @@ +from django.urls import path +from .views import HomepageView + +app_name = "mainsite" + +urlpatterns = [ + path("", HomepageView.as_view(), name="home"), +] diff --git a/mainsite/views.py b/mainsite/views.py new file mode 100644 index 0000000..db61803 --- /dev/null +++ b/mainsite/views.py @@ -0,0 +1,5 @@ +from django.views.generic import TemplateView + + +class HomepageView(TemplateView): + template_name = "mainsite/home.html" diff --git a/requirements.txt b/requirements.txt index 94a0e83..c27e930 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ Django +django-autoslug +Pillow