Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-website
Commits
fa33db17
Commit
fa33db17
authored
4 years ago
by
chrissi^
Browse files
Options
Downloads
Patches
Plain Diff
Use custom rst directive for infobox
Signed-off-by:
Chris Fiege
<
chris@tinyhost.de
>
parent
dbf51286
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#1511
passed
4 years ago
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
flamingo/content/jitsi.rst
+6
-9
6 additions, 9 deletions
flamingo/content/jitsi.rst
flamingo/plugins/rst_ffbs_box.py
+20
-0
20 additions, 0 deletions
flamingo/plugins/rst_ffbs_box.py
flamingo/settings.py
+1
-0
1 addition, 0 deletions
flamingo/settings.py
with
27 additions
and
9 deletions
flamingo/content/jitsi.rst
+
6
−
9
View file @
fa33db17
...
...
@@ -12,21 +12,18 @@ Natürlich sind wir weiterhin auf unserer
und auch im
`IRC </irc.html>`__ zu erreichen.
..
raw:: html
..
ffbsbox::
<div style="float:right; clear:right; width:20%; border-top:1px solid; border-bottom:1px solid; margin-left:2em; margin-top:1.5em; margin-bottom:1.5em;">
<p>
<strong>Kurzlinks:</strong><br />
<a href="https://treffen.freifunk-bs.de/FreifunkBS">Videokonferenz im Browser</a><br />
<a href="https://play.google.com/store/apps/details?id=org.jitsi.meet">App für Android</a><br />
<a href="https://apps.apple.com/de/app/jitsi-meet/id1165103905">App für iOS</a><br />
</p>
</div>
| **Kurzlinks**:
| `Videokonferenz im Browser <https://treffen.freifunk-bs.de/FreifunkBS>`__
| `App für Android <https://play.google.com/store/apps/details?id=org.jitsi.meet>`__
| `App für iOS <https://apps.apple.com/de/app/jitsi-meet/id1165103905>`__
Anstelle unserer Treffen vor Ort treffen wir uns nun Mittwochs ab 19:00 Uhr
in einer Online Konferenz.
Hier erhälst du weitere Informationen, wie du unserer Konferenz beitreten kannst.
Jitsi im Browser
----------------
...
...
This diff is collapsed.
Click to expand it.
flamingo/plugins/rst_ffbs_box.py
0 → 100644
+
20
−
0
View file @
fa33db17
from
docutils.parsers.rst
import
directives
from
docutils.nodes
import
raw
from
flamingo.plugins.rst.base
import
NestedDirective
def
ffbsbox
(
context
):
class
Div
(
NestedDirective
):
def
run
(
self
):
html
=
self
.
parse_content
(
context
)
return
[
raw
(
''
,
'
<div style=
"
float:right; clear:right; width:20%; border-top:1px solid; border-bottom:1px solid; margin-left:2em; margin-top:1.5em; margin-bottom:1.5em;
"
>{}</div>
'
.
format
(
html
),
format
=
'
html
'
),
]
return
Div
class
rstFfbsBox
:
def
parser_setup
(
self
,
context
):
directives
.
register_directive
(
'
ffbsbox
'
,
ffbsbox
(
context
))
This diff is collapsed.
Click to expand it.
flamingo/settings.py
+
1
−
0
View file @
fa33db17
...
...
@@ -8,6 +8,7 @@ PLUGINS = [
'
plugins/title.py::Title
'
,
'
plugins/git.py::Git
'
,
'
plugins/raw.py::Raw
'
,
'
plugins/rst_ffbs_box.py::rstFfbsBox
'
,
]
# remove flamingo core HTML plugin.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment