Add interdisciplinary instrument
This commit is contained in:
parent
1a8e28c114
commit
dc66293684
|
|
@ -57,7 +57,9 @@
|
||||||
|
|
||||||
const instruments = {
|
const instruments = {
|
||||||
base_communication: 'Sprache & Kommunikation',
|
base_communication: 'Sprache & Kommunikation',
|
||||||
base_society: 'Gesellschaft'
|
base_society: 'Gesellschaft',
|
||||||
|
base_interdisciplinary: 'Überfachliches Instrument',
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
@ -291,6 +293,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--base_interdisciplinary {
|
||||||
|
@include content-box($color-accent-4-list);
|
||||||
|
|
||||||
|
.content-block__instrument-label {
|
||||||
|
color: $color-accent-4-dark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/deep/ p {
|
/deep/ p {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ $color-accent-5: #DBE6EC;
|
||||||
|
|
||||||
$color-accent-1-list: $color-accent-1 $color-accent-1-light $color-accent-1-dark;
|
$color-accent-1-list: $color-accent-1 $color-accent-1-light $color-accent-1-dark;
|
||||||
$color-accent-2-list: $color-accent-2 $color-accent-2-light $color-accent-2-dark;
|
$color-accent-2-list: $color-accent-2 $color-accent-2-light $color-accent-2-dark;
|
||||||
|
$color-accent-4-list: $color-accent-4 $color-accent-4-light $color-accent-4-dark;
|
||||||
|
|
||||||
/* brand */
|
/* brand */
|
||||||
$color-brand-dark: #138E72;
|
$color-brand-dark: #138E72;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 2.1.15 on 2020-04-08 08:34
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('basicknowledge', '0004_auto_20191128_1601'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='basicknowledge',
|
||||||
|
name='type',
|
||||||
|
field=models.CharField(choices=[('language_communication', 'Sprache & Kommunikation'), ('society', 'Gesellschaft'), ('interdisciplinary', 'Überfachliches Instrument')], max_length=100),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -26,10 +26,12 @@ class BasicKnowledge(StrictHierarchyPage):
|
||||||
|
|
||||||
LANGUAGE_COMMUNICATION = 'language_communication'
|
LANGUAGE_COMMUNICATION = 'language_communication'
|
||||||
SOCIETY = 'society'
|
SOCIETY = 'society'
|
||||||
|
INTERDISCIPLINARY = 'interdisciplinary'
|
||||||
|
|
||||||
TYPE_CHOICES = (
|
TYPE_CHOICES = (
|
||||||
(LANGUAGE_COMMUNICATION, 'Sprache & Kommunikation'),
|
(LANGUAGE_COMMUNICATION, 'Sprache & Kommunikation'),
|
||||||
(SOCIETY, 'Gesellschaft'),
|
(SOCIETY, 'Gesellschaft'),
|
||||||
|
(INTERDISCIPLINARY, 'Überfachliches Instrument'),
|
||||||
)
|
)
|
||||||
|
|
||||||
type = models.CharField(
|
type = models.CharField(
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 2.1.15 on 2020-04-08 08:41
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('books', '0018_remove_module_solutions_enabled_by'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='contentblock',
|
||||||
|
name='type',
|
||||||
|
field=models.CharField(choices=[('normal', 'Normal'), ('base_communication', 'Instrument Sprache & Kommunikation'), ('task', 'Auftrag'), ('base_society', 'Instrument Gesellschaft'), ('base_interdisciplinary', 'Überfachliches Instrument')], default='normal', max_length=100),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -27,12 +27,14 @@ class ContentBlock(StrictHierarchyPage):
|
||||||
BASE_COMMUNICATION = 'base_communication'
|
BASE_COMMUNICATION = 'base_communication'
|
||||||
TASK = 'task'
|
TASK = 'task'
|
||||||
BASE_SOCIETY = 'base_society'
|
BASE_SOCIETY = 'base_society'
|
||||||
|
BASE_INTERDISCIPLINARY = 'base_interdisciplinary'
|
||||||
|
|
||||||
TYPE_CHOICES = (
|
TYPE_CHOICES = (
|
||||||
(NORMAL, 'Normal'),
|
(NORMAL, 'Normal'),
|
||||||
(BASE_COMMUNICATION, 'Instrument Sprache & Kommunikation'),
|
(BASE_COMMUNICATION, 'Instrument Sprache & Kommunikation'),
|
||||||
(TASK, 'Auftrag'),
|
(TASK, 'Auftrag'),
|
||||||
(BASE_SOCIETY, 'Instrument Gesellschaft'),
|
(BASE_SOCIETY, 'Instrument Gesellschaft'),
|
||||||
|
(BASE_INTERDISCIPLINARY, 'Überfachliches Instrument'),
|
||||||
)
|
)
|
||||||
|
|
||||||
# blocks without owner are visible by default, need to be hidden for each class
|
# blocks without owner are visible by default, need to be hidden for each class
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue