Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<div class="IntermediateInfo">
|
||||
<div class="LayoutIcon">
|
||||
<i class="CDB-IconFont <%- icon %>"></i>
|
||||
</div>
|
||||
<h4 class="CDB-Text CDB-Size-large u-mainTextColor u-secondaryTextColor u-bSpace--m u-tSpace-xl"><%- title %></h4>
|
||||
<p class="CDB-Text CDB-Size-medium u-altTextColor">
|
||||
<%- desc %>
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
var template = require('./no-results.tpl');
|
||||
|
||||
/**
|
||||
* @param {Object} opts
|
||||
* @param {String=} opts.icon
|
||||
* @param {String=} opts.title
|
||||
* @param {String=} opts.desc
|
||||
*/
|
||||
|
||||
module.exports = function (opts) {
|
||||
return template({
|
||||
icon: opts.icon || 'CDB-IconFont-cockroach',
|
||||
title: opts.title || '',
|
||||
desc: opts.desc
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user