/**
 * Object with data-attributes (HTML5) with a special <markup>
 *
 * @namespace Lungo
 * @class Attributes
 *
 * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
 * @author Guillermo Pascual <pasku@tapquo.com> || @pasku1
 */

Lungo.Attributes = {
    count: {
        selector: '*',
        html: '<span class="tag theme count">{{value}}</span>'
    },
    pull: {
        selector: 'section',
        html: '<div class="{{value}}" data-control="pull" data-icon="down" data-loading="black">\
                    <strong>title</strong>\
                </div>'
    },
    progress: {
                </div>'
    },
    label: {
        selector: '*',
        html: '<abbr>{{value}}</abbr>'
    },
    icon: {
        selector: '*',
        html: '<span class="icon {{value}}"></span>'
    },
    image: {
        selector: '*',
        html: '<img src="{{value}}" class="icon" />'
    },
    title: {
        selector: 'header',
        html: '<span class="title centered">{{value}}</span>'
    },
    loading: {
        selector: '*',
        html: '<div class="loading {{value}}">\
                    <span class="top"></span>\
                    <span class="right"></span>\
                    <span class="bottom"></span>\
                    <span class="left"></span>\
                </div>'
    },
    back: {
        selector: 'header',
        html: '<nav class="left"><a href="#back" data-router="section" class="left"><span class="icon {{value}}"></span></a></nav>'
    }
};
        selector: '*',
        html: '<div class="progress">\
                    <span class="bar"><span class="value" style="width:{{value}};"></span></span>\