aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-27 02:28:11 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-27 02:28:11 +0000
commit1a676ab8f9376a21155cb16f829698da7bba85e7 (patch)
treef03acbe0e928fa77bdeb3fda5131081f5dfdd58d /root
parentsvg logo + animation (diff)
downloadmmm-1a676ab8f9376a21155cb16f829698da7bba85e7.tar.gz
mmm-1a676ab8f9376a21155cb16f829698da7bba85e7.zip
fix markdown+span on client
Diffstat (limited to 'root')
-rw-r--r--root/games/hidden: text$lua -> bool.lua1
-rw-r--r--root/games/lorem_ipsum/description: text$markdown+span1
-rw-r--r--root/games/lorem_ipsum/description: text$plain1
-rw-r--r--root/games/text$moonscript -> fn -> mmm$dom.moon55
4 files changed, 30 insertions, 28 deletions
diff --git a/root/games/hidden: text$lua -> bool.lua b/root/games/hidden: text$lua -> bool.lua
deleted file mode 100644
index b30e187..0000000
--- a/root/games/hidden: text$lua -> bool.lua
+++ /dev/null
@@ -1 +0,0 @@
-return true
diff --git a/root/games/lorem_ipsum/description: text$markdown+span b/root/games/lorem_ipsum/description: text$markdown+span
new file mode 100644
index 0000000..9291ee6
--- /dev/null
+++ b/root/games/lorem_ipsum/description: text$markdown+span
@@ -0,0 +1 @@
+a labyrinth game concering medialisation and multiple viewpoints. developed with the [ForChange research alliance](http://www.forchange.de/ergebnisse/resilienzspiele/).
diff --git a/root/games/lorem_ipsum/description: text$plain b/root/games/lorem_ipsum/description: text$plain
deleted file mode 100644
index eba007e..0000000
--- a/root/games/lorem_ipsum/description: text$plain
+++ /dev/null
@@ -1 +0,0 @@
-a board game concering medialisation and media competence.
diff --git a/root/games/text$moonscript -> fn -> mmm$dom.moon b/root/games/text$moonscript -> fn -> mmm$dom.moon
index cb62e1c..449b910 100644
--- a/root/games/text$moonscript -> fn -> mmm$dom.moon
+++ b/root/games/text$moonscript -> fn -> mmm$dom.moon
@@ -4,30 +4,33 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom'
=>
div {
h3 link_to @
- ul with for child in *@children
- link_if_content = (opts) ->
- a with opts
- if true or child\find 'mmm/dom'
- .style = { 'text-decoration': 'none' }
- .href = child.path
- .onclick
-
- li link_if_content {
- h4 {
- style: { 'margin-bottom': 0 }
- (child\get 'title: mmm/dom') or child\gett 'name: alpha'
- }
- div {
- style: {
- display: 'flex'
- 'justify-content': 'space-around'
- }
- img src: child\gett 'icon: URL -> image/.*'
- p (child\gett 'description: mmm/dom'), style: { 'flex': '1 0 0', margin: '1em' }
- }
- }
-
- .style = {
- 'list-style': 'none'
- }
+ ul for child in *@children
+ desc = child\gett 'description: mmm/dom'
+ li (link_to child), ': ', desc
+-- ul with for child in *@children
+-- link_if_content = (opts) ->
+-- a with opts
+-- if true or child\find 'mmm/dom'
+-- .style = { 'text-decoration': 'none' }
+-- .href = child.path
+-- .onclick
+--
+-- li link_if_content {
+-- h4 {
+-- style: { 'margin-bottom': 0 }
+-- (child\get 'title: mmm/dom') or child\gett 'name: alpha'
+-- }
+-- div {
+-- -- style: {
+-- -- display: 'flex'
+-- -- 'justify-content': 'space-around'
+-- -- }
+-- -- img src: child\gett 'icon: URL -> image/.*'
+-- p (child\gett 'description: mmm/dom'), style: { 'flex': '1 0 0', margin: '1em' }
+-- }
+-- }
+--
+-- .style = {
+-- 'list-style': 'none'
+-- }
}