From a507894b95d7b82e44097054e42660e85b11f9a4 Mon Sep 17 00:00:00 2001 From: gzbender Date: Tue, 11 Dec 2018 01:42:45 +0500 Subject: [PATCH] LIL-701 --- .../migrations/0012_auto_20181210_1729.py | 23 ++++++++ apps/config/models.py | 2 + project/templates/blocks/footer.html | 58 ++++++++++++------- web/src/js/modules/common.js | 2 +- web/src/sass/_common.sass | 45 +++++--------- 5 files changed, 76 insertions(+), 54 deletions(-) create mode 100644 apps/config/migrations/0012_auto_20181210_1729.py diff --git a/apps/config/migrations/0012_auto_20181210_1729.py b/apps/config/migrations/0012_auto_20181210_1729.py new file mode 100644 index 00000000..b3147779 --- /dev/null +++ b/apps/config/migrations/0012_auto_20181210_1729.py @@ -0,0 +1,23 @@ +# Generated by Django 2.0.7 on 2018-12-10 17:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('config', '0011_config_main_page_video_url'), + ] + + operations = [ + migrations.AddField( + model_name='config', + name='SERVICE_OK_URL', + field=models.URLField(default='#', max_length=126), + ), + migrations.AddField( + model_name='config', + name='SERVICE_VK_URL', + field=models.URLField(default='#', max_length=126), + ), + ] diff --git a/apps/config/models.py b/apps/config/models.py index e1db51bc..d6fed883 100644 --- a/apps/config/models.py +++ b/apps/config/models.py @@ -10,6 +10,8 @@ class Config(models.Model): SERVICE_INSTAGRAM_URL = models.URLField(max_length=126, default='#') SERVICE_TWITTER_URL = models.URLField(max_length=126, default='#') SERVICE_FB_URL = models.URLField(max_length=126, default='#') + SERVICE_VK_URL = models.URLField(max_length=126, default='#') + SERVICE_OK_URL = models.URLField(max_length=126, default='#') SERVICE_YOUTUBE_URL = models.URLField(max_length=126, default='#') SERVICE_TELEGRAM_CHANNEL = models.URLField(max_length=126, default='https://t.me/lilschool') SERVICE_COMMISSION = models.IntegerField(default=10) diff --git a/project/templates/blocks/footer.html b/project/templates/blocks/footer.html index bab29b46..b1d37518 100644 --- a/project/templates/blocks/footer.html +++ b/project/templates/blocks/footer.html @@ -10,40 +10,54 @@