view cpack/dml/components/icons.pl @ 0:718306e29690 tip

commiting public release
author Daniel Wolff
date Tue, 09 Feb 2016 21:05:06 +0100
parents
children
line wrap: on
line source
:- module( icons, [icon//1]).

:- use_module(library(http/html_write)).
:- use_module(library(http/html_head)).

icon(Name) -->
	{string_concat("fa fa-",Name,Class)},
   html_requires(font_awesome),
   html(i(class(Class),[])).