Skip to content

Commit 916c309

Browse files
committed
Minor fixes of FontAwesome-samples
1 parent 5e75079 commit 916c309

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

MS3/Examples/DC/IconAdvanced.mipage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161

6262
p←Add _.p
6363
i←'.fa-3x'p.Add _.Icon
64-
'.fa-lg' 'style=font-weight:bold;'i.Add _.span'☹' ⍝ Smiley face - specified in unusual way
65-
'style="color: rgba(255,0,0,0.8);" data-fa-transform="left-2.5 down-1"'i.Add _.Icon'fas-ban fa-2x'
64+
'.far .fa-lg' i.Add _.span'' ⍝ Smiley face - specified in unusual way
65+
'style="color: rgba(255,0,0,0.8);" data-fa-transform="left-2.6"'i.Add _.Icon'fas-ban fa-2x'
6666

6767
'style=margin-left:2em;'p.Add _.span'No frowning here!'
6868

MS3/Examples/DC/IconAdvanced_FontAwesome_List.mipage

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@
66
∇ Compose;p;matches;tab;Columns;css;fa;dt;yml
77
:Access Public
88
Use'faIcons5svg'
9-
Add _.p ScriptFollows
9+
Add _.p MarkdownFollows
10+
⍝ ### Welcome
1011
⍝ This page offers a tool to easily browse FontAwesome-Icons even when you're offline and have no access to the
11-
⍝ excellent Search-Tool on FontAwesome's <a href="http://fontawesome.com/icons/">site</a>.
12+
⍝ excellent Search-Tool on FontAwesome's [site](http://fontawesome.com/icons/).
1213
⍝ Please note that the search also operates on the aliases that are (by default) not shown in the table.
1314
⍝ The visibility of columns can be toggled with the appropriate button in the table (which makes this
14-
⍝ page also a useful example for DataTable-features.
15+
⍝ page also a useful example for DataTable-features).
16+
17+
⍝ ### Usage
18+
⍝ Simply add an `Icon`-element using the value of the "code"-column as in this example: `Add _.Icon '{Code}'`
1519

1620

1721
fa←#.Boot.ms.Config.Virtual{(⍺.alias⍳⊂⍵)⊃⍺.path,⊂''}'FontAwesome5' ⍝ get path
@@ -78,6 +82,6 @@
7882
}¨mat[;2]
7983
8084

81-
JSONTranslateName←7162⌶ ⍝ translate aplified Json-name (of object) back into its original form
85+
JSONTranslateName←7162⌶ ⍝ translate "aplified" Json-name (of object) back into its original form
8286

8387
:EndClass

0 commit comments

Comments
 (0)