Mercurial > hg > dml-open-cliopatria
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:718306e29690 |
---|---|
1 :- module( icons, [icon//1]). | |
2 | |
3 :- use_module(library(http/html_write)). | |
4 :- use_module(library(http/html_head)). | |
5 | |
6 icon(Name) --> | |
7 {string_concat("fa fa-",Name,Class)}, | |
8 html_requires(font_awesome), | |
9 html(i(class(Class),[])). |