component.widget-stats

widget-stats-1

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-primary widget-stats-1">
	<span class="glyphicons cart_in"><i></i><span class="txt">Sales</span></span>
	<div class="clearfix"></div>
	<span class="count">20</span>
</a>
<!-- // Stats Widget END -->

Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

widget-stats-2

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-1 widget-stats-inverse">
	<span class="glyphicons shield"><i></i><span class="txt">Alerts</span></span>
	<div class="clearfix"></div>
	<span class="count">125</span>
</a>
<!-- // Stats Widget END -->

Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

widget-stats-3

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-info widget-stats-2">
	<span class="count">2</span>
	<span class="txt">Orders</span>
</a>
<!-- // Stats Widget END -->

Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

widget-stats-4

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-2">
	<span class="count">30</span>
	<span class="txt">Bookings</span>
</a>
<!-- // Stats Widget END -->

Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

widget-stats-5

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-gray widget-stats-2 widget-stats-easy-pie txt-single">
	<div data-percent="85" class="easy-pie primary"><span class="value">85</span>%</div>
	<span class="txt">Workload</span>
	<div class="clearfix"></div>
</a>
<!-- // Stats Widget END -->


Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";
@import "http://localhost/shared/components/modules/admin/charts/easy-pie/assets/lib/css/jquery.easy-pie-chart.css";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

Scripts

BODY You should include the following scripts at the end of the HTML document, right before the closing </body> tag.

<script src="assets/components/modules/admin/charts/easy-pie/assets/lib/js/jquery.easy-pie-chart.js?v=v1.0.2&sv=v0.0.1"></script>
<script src="assets/components/modules/admin/charts/easy-pie/assets/custom/easy-pie.init.js?v=v1.0.2&sv=v0.0.1"></script>

widget-stats-6

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-2 widget-stats-easy-pie txt-single">
	<div data-percent="90" class="easy-pie success"><span class="value">90</span>%</div>
	<span class="txt">Completed</span>
	<div class="clearfix"></div>
</a>
<!-- // Stats Widget END -->


Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";
@import "http://localhost/shared/components/modules/admin/charts/easy-pie/assets/lib/css/jquery.easy-pie-chart.css";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

Scripts

BODY You should include the following scripts at the end of the HTML document, right before the closing </body> tag.

<script src="assets/components/modules/admin/charts/easy-pie/assets/lib/js/jquery.easy-pie-chart.js?v=v1.0.2&sv=v0.0.1"></script>
<script src="assets/components/modules/admin/charts/easy-pie/assets/custom/easy-pie.init.js?v=v1.0.2&sv=v0.0.1"></script>

widget-stats-2-1

<!-- Stats Widget -->
<a href="" class="widget-stats widget-stats-gray widget-stats-2">
	<span class="count">14</span>
	<span class="txt">New Members</span>
</a>
<!-- // Stats Widget END -->

Code

@import "assets/components/modules/admin/widgets/widget-stats/assets/less/widget-stats.less";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.