Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
barrierefreieapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Dennis Appel
barrierefreieapp
Commits
974a5c50
Commit
974a5c50
authored
Nov 20, 2018
by
Dennis Appel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Example alt text, merge custom css files
parent
c490a692
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
70 additions
and
51 deletions
+70
-51
Grau_Blau_ai.png
Grau_Blau_ai.png
+0
-0
Grau_Blau_ai_4duPUpa.png
Grau_Blau_ai_4duPUpa.png
+0
-0
Grau_Blau_ai_5dyS0AY.png
Grau_Blau_ai_5dyS0AY.png
+0
-0
Grau_Blau_ai_apcw9qi.png
Grau_Blau_ai_apcw9qi.png
+0
-0
static/scss/_checklist.scss
static/scss/_checklist.scss
+0
-47
static/scss/_custom.scss
static/scss/_custom.scss
+48
-0
static/scss/app.scss
static/scss/app.scss
+1
-2
wiki/migrations/0007_wikiexample_exampleimagealt.py
wiki/migrations/0007_wikiexample_exampleimagealt.py
+18
-0
wiki/models.py
wiki/models.py
+1
-0
wiki/templates/wiki/index.html
wiki/templates/wiki/index.html
+2
-2
No files found.
Grau_Blau_ai.png
deleted
100644 → 0
View file @
c490a692
76.5 KB
Grau_Blau_ai_4duPUpa.png
deleted
100644 → 0
View file @
c490a692
76.5 KB
Grau_Blau_ai_5dyS0AY.png
deleted
100644 → 0
View file @
c490a692
76.5 KB
Grau_Blau_ai_apcw9qi.png
deleted
100644 → 0
View file @
c490a692
76.5 KB
static/scss/_checklist.scss
deleted
100644 → 0
View file @
c490a692
$light-gray
:
#fbfbfb
;
$medium-gray
:
#cacaca
;
$medium-gray-wiki
:
#f7f7f7
;
$dark-gray
:
#8a8a8a
;
$black
:
#0a0a0a
;
$white
:
#fefefe
;
$dark-blue
:
#23405a
;
.text-color-primary
{
color
:
$dark-blue
;
}
.cell-background-lg
{
background-color
:
$light-gray
;
}
.cell-background-mg
{
background-color
:
$medium-gray
;
}
.cell-background-wiki-mg
{
background-color
:
$medium-gray-wiki
;
}
.cell-background-dg
{
background-color
:
$dark-gray
;
}
.cell-background-black
{
background-color
:
$black
;
}
.cell-background-white
{
background-color
:
$white
;
}
.vertical-space
{
margin-top
:
40px
;
}
.vertical-space-small
{
margin-top
:
20px
;
}
.link
{
color
:
$primary-color
;
}
.link
:hover
{
color
:
scale-color
(
$primary-color
,
$lightness
:
-20%
);
}
static/scss/_
navigation
.scss
→
static/scss/_
custom
.scss
View file @
974a5c50
$light-gray
:
#fbfbfb
;
$medium-gray
:
#cacaca
;
$medium-gray-wiki
:
#f7f7f7
;
$dark-gray
:
#8a8a8a
;
$black
:
#0a0a0a
;
$white
:
#fefefe
;
$dark-blue
:
#23405a
;
.text-color-primary
{
color
:
$dark-blue
;
}
.cell-background-lg
{
background-color
:
$light-gray
;
}
.cell-background-mg
{
background-color
:
$medium-gray
;
}
.cell-background-wiki-mg
{
background-color
:
$medium-gray-wiki
;
}
.cell-background-dg
{
background-color
:
$dark-gray
;
}
.cell-background-black
{
background-color
:
$black
;
}
.cell-background-white
{
background-color
:
$white
;
}
.vertical-space
{
margin-top
:
40px
;
}
.vertical-space-small
{
margin-top
:
20px
;
}
.link
{
color
:
$primary-color
;
}
.link
:hover
{
color
:
scale-color
(
$primary-color
,
$lightness
:
-20%
);
}
.menu
.menu-text
{
padding
:
0
;
}
...
...
static/scss/app.scss
View file @
974a5c50
...
...
@@ -51,5 +51,4 @@
@include
motion-ui-transitions
;
@include
motion-ui-animations
;
@import
"checklist"
;
@import
"navigation"
;
@import
"custom"
;
wiki/migrations/0007_wikiexample_exampleimagealt.py
0 → 100644
View file @
974a5c50
# Generated by Django 2.1.3 on 2018-11-20 15:50
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'wiki'
,
'0006_wikiexample_exampletext'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'wikiexample'
,
name
=
'exampleImageAlt'
,
field
=
models
.
CharField
(
default
=
'Bild'
,
max_length
=
400
),
),
]
wiki/models.py
View file @
974a5c50
...
...
@@ -24,6 +24,7 @@ class WikiExample(models.Model):
exampleTitle
=
models
.
CharField
(
max_length
=
200
)
exampleText
=
models
.
TextField
(
default
=
"Beispiel"
)
exampleImage
=
models
.
CharField
(
max_length
=
200
)
exampleImageAlt
=
models
.
CharField
(
max_length
=
400
,
default
=
"Bild"
)
examplePositive
=
models
.
BooleanField
(
default
=
True
)
def
__str__
(
self
):
...
...
wiki/templates/wiki/index.html
View file @
974a5c50
...
...
@@ -47,7 +47,7 @@
<div
class=
"cell vertical-space-small"
>
<div
class=
"callout success example-callout"
>
<h3>
{{example.exampleTitle}}
</h3>
<img
class=
"example-image"
src=
"{% static 'images/examples/' %}{{example.exampleImage}}"
>
<img
class=
"example-image"
src=
"{% static 'images/examples/' %}{{example.exampleImage}}"
alt=
"{{example.exampleImageAlt}}"
>
<p>
{{example.exampleText}}
</p>
</div>
</div>
...
...
@@ -60,7 +60,7 @@
<div
class=
"cell vertical-space-small"
>
<div
class=
"callout alert example-callout"
>
<h3>
{{example.exampleTitle}}
</h3>
<img
class=
"example-image"
src=
"{% static 'images/examples/' %}{{example.exampleImage}}"
>
<img
class=
"example-image"
src=
"{% static 'images/examples/' %}{{example.exampleImage}}"
alt=
"{{example.exampleImageAlt}}"
>
<p>
{{example.exampleText}}
</p>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment