Logo white

Anubis / Xlib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • xlib
  • web
  • fonts
  • awesome.anubis
  • add core attributes in html alternative for Actioner ...
    27567d6e
    add i and span alternatives in HTML_In_Form and HTML_Off_Form
    add Awesome Font support
    add Menu with direction positioning (top and side)
    add Icon support (png and Awesome font)
    totoro authored
    2017-02-24 16:48:28 +0100  
    Browse Code »
awesome.anubis 410 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/*
 * Created by PyramIDE.
 * User: フランスのトトロ aka (David RENÉ) 
 * Date: 23/02/2017
 * Time: 21:43
 * © Calexium 
 */

read calexium_lib/web/CXM_making_a_web_site.anubis

public type Font_Awesome:
  awesome(
    String code
  )
.

public define HTML_Off_Form
  to_HTML
  (
    Font_Awesome  fa
  )=
  since fa is awesome(code),
  i([class("fa fa-"+code), attr("aria-hidden", "true")],"")
.