Team Fox

Getting Started

Thank you for buying Pleasure and supporting Teamfox.

Pleasure is an admin dashboard theme build on Bootstrap. You can use it for your administrator pages. It is responsive, functional and colorful. Our promise is that Pleasure will be constantly kept up to date.

If you want to get news about updates or new themes, please sign up your email address at teamfox.co (we wont spam).

It is very simple to use or modify. In root folder, you will find build folder contains source of javascript and less files.

Lets look at folders to be much more familiarized with Pleasure.

File Structure

Here are folders that you will use while working on Pleasure.

Pleasure/
├── app/                            // All HTML files
│   ├── admin1/                     // HTML files for layout 1
│   ├───────── demo/                // Neccessary files for ajax and some php stuff
├── assets/                         // Contains all css, js and images
│   ├───── admin1/                  // Related to only layout 1 files
│   ├──────────── css/              // Compiled css files from build/admin1/less folder
│   ├──────────────── themes/       // Color alternatives
│   ├──────────── img/              // Related to layout 1 images
│   ├──────────── js/               // Compiled js files from build/admin1/js folder
│   ├───── globals/                 // Global assets for all layouts
│   ├───────────── img/             // Images for all layouts
│   ├───────────── plugins/         // Plugins for all layouts
│   ├───────────── scripts/         // Compiled js initiliaziation for plugins
├── bower/                          // Bower files
├── build/                          // All build files
│   ├───── admin1/                  // Build files for layout 1
│   ├──────────── js/               // JS files for layout 1
│   ├──────────── less/             // Less files to produce css files
│   ├───────────────── layouts/     // Less files related to layouts
│   ├───────────────── themes/      // Color alternatives
│   ├───── elements/                // Elements for all layouts
│   ├────────────── less/           // Less folder
│   ├─────────────────── elements/  // Creating elements
│   ├─────────────────── mixins/    // Less Mixins
│   ├─────────────────── pages/     // Pages stylesheets
│   ├───── globals/                 // Global build files
│   ├───────────── js/              // Common js files
│   ├───────────── less/            // Common less files
│   ├───────────── scripts/         // Js initiliaziation for plugins
├── documentation/                  // Documenation files
├── grunt/                          // Grunt files
├── resources/                      // Licensed files

HTML Structure

Beginning of Page
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <title>PLEASURE - Blank Page</title>

  <meta name="description" content="">
  <meta name="author" content="">

  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

  <!-- BEGIN CORE CSS -->
  <link rel="stylesheet" href="../../assets/admin1/css/admin1.css">
  <link rel="stylesheet" href="../../assets/globals/css/elements.css">
  <!-- END CORE CSS -->

  <!-- BEGIN PLUGINS CSS -->
  <link rel="stylesheet" href="../../assets/globals/css/plugins.css">
  <!-- END PLUGINS CSS -->

  <!-- BEGIN SHORTCUT AND TOUCH ICONS -->
  <link rel="shortcut icon" href="../../assets/globals/img/icons/favicon.ico">
  <link rel="apple-touch-icon" href="../../assets/globals/img/icons/apple-touch-icon.png">
  <!-- END SHORTCUT AND TOUCH ICONS -->
  <script src="../../assets/globals/plugins/modernizr/modernizr.min.js"></script>

</head>
<body>
Navigation Sidebar
<div class="nav-bar-container">

  <!-- BEGIN ICONS -->
  <div class="nav-menu">
    <div class="hamburger">
      <span class="patty"></span>
      <span class="patty"></span>
      <span class="patty"></span>
      <span class="patty"></span>
      <span class="patty"></span>
      <span class="patty"></span>
    </div><!--.hamburger-->
  </div><!--.nav-menu-->

  <div class="nav-search">
    <span class="search"></span>
  </div><!--.nav-search-->

  <div class="nav-user">
    <div class="user">
      <img src="../../assets/globals/img/faces/tolga-ergin.jpg" alt="">
      <span class="badge">3</span>
    </div><!--.user-->
    <div class="cross">
      <span class="line"></span>
      <span class="line"></span>
    </div><!--.cross-->
  </div><!--.nav-user-->
  <!-- END OF ICONS -->

  <div class="nav-bar-border"></div><!--.nav-bar-border-->

  <!-- BEGIN OVERLAY HELPERS -->
  <div class="overlay">
    <div class="starting-point">
      <span></span>
    </div><!--.starting-point-->
  <div class="logo">PLEASURE</div><!--.logo-->
  </div><!--.overlay-->

  <div class="overlay-secondary"></div><!--.overlay-secondary-->
  <!-- END OF OVERLAY HELPERS -->
  </div><!--.nav-bar-container-->
Content Area (Breadcrumbs, Content, Footer)
<div class="content">

  <div class="page-header full-content">
    <div class="row">
      <div class="col-sm-6">
        <h1>Blank Page <small>short description</small></h1>
      </div><!--.col-->
      <div class="col-sm-6">
        <ol class="breadcrumb">
          <li><a href="#"><i class="ion-home"></i></a></li>
          <li><a href="#">Pages</a></li>
          <li><a href="#" class="active">Blank Page</a></li>
        </ol>
      </div><!--.col-->
    </div><!--.row-->
  </div><!--.page-header-->

  <!-- content -->
    <!-- PUT THE CONTENT HERE -->
  <!-- content -->

  <div class="footer-links margin-top-40">
    <div class="row no-gutters">
      <div class="col-xs-6 bg-indigo">
        <a href="pages-timeline.html">
          <span class="state">Pages</span>
          <span>Timeline</span>
          <span class="icon"><i class="ion-android-arrow-back"></i></span>
        </a>
      </div><!--.col-->
      <div class="col-xs-6 bg-cyan">
        <a href="components-offline-detector.html">
          <span class="state">Components</span>
          <span>Offline Detector</span>
          <span class="icon"><i class="ion-android-arrow-forward"></i></span>
        </a>
      </div><!--.col-->
    </div><!--.row-->
  </div><!--.footer-links-->

  </div><!--.content-->
End of page
  <!-- BEGIN GLOBAL AND THEME VENDORS -->
  <script src="../../assets/globals/js/global-vendors.js"></script>
  <!-- END GLOBAL AND THEME VENDORS -->

  <!-- BEGIN PLUGINS AREA -->
  <!-- END PLUGINS AREA -->

  <!-- PLUGINS INITIALIZATION AND SETTINGS -->
  <!-- END PLUGINS INITIALIZATION AND SETTINGS -->

  <!-- PLEASURE -->
  <script src="../../assets/globals/js/pleasure.js"></script>
  <!-- ADMIN 1 -->
  <script src="../../assets/admin1/js/layout.js"></script>

  <!-- BEGIN INITIALIZATION-->
  <script>
  $(document).ready(function () {
    Pleasure.init();
    Layout.init();
  });
  </script>
  <!-- END INITIALIZATION-->
</body>
</html>

Layout Configuration

Here is basic wireframe of Pleasure Dashboard.

PLEASURE offers some layout settings such material rippled buttons and auto scroll when menu is open. These settings will be valid, if you add classes to the related html markup.

var Layout = {
  settings: {
    rippledButtons: true,
    autoScrollWhenMenuIsActive: false
  }
}

These layout setting also are reachable in assets/admin1/js/layout.js (compiled from build/admin1/js/layout.js).

Style Configuration

# Colors

Primary
Success
Info
Warning
Danger

Included Material Colors.

Red
Pink
Purple
Deep Purple
Indigo
Blue
Light Blue
Cyan
Teal
Green
Light Green
Lime
Yellow
Amber
Orange
Deep Orange
Brown
Grey
Blue Grey

# Using Colors in HTML Elements

It is easy to use colors in any html element by adding color name to the class attribute of element. For example;

<p class="text-red">
  Sample text
</p>

This code will produce; Sample Text

Or using colors in widgets is similar.

<div class="card card-red">
  ..
</div><!--.card-->

# Getting Colors via Javascript

Sometimes you need to change colors via javascript. You can access defined colors like that

$(document).ready(function () {
  var getColor = Pleasure.colors.red;
  $('.selector').css('color', getColor);
});

Animations

When you need to animate

References

Font Icons, images, css and js plugins

FONT ICONS
Name Description
Font Awesome The iconic font and CSS toolkit
Ion Icons The premium icon font for Ionic Framework
Weather Icons Weather themed icons inspired by Font Awesome and ready for Bootstrap
GlyphIcons GLYPHICONS is a library of precisely prepared monochromatic icons and symbols, created with an emphasis on simplicity and easy orientation.
STOCK IMAGES
Name Description
Picjumbo totally free photos for your commercial & personal works
Subtle Patterns Free textures for your next web project
COLORS
Name Description
Flat UI Colors Flat colors
Brand Colors Brand colors such as facebook, twitter etc.
GLOBAL VENDORS
Name Description
Modernizr Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
jQuery jQuery JavaScript Library
jQuery UI The official jQuery user interface library
Bootstrap The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
THEME VENDORS
Name Description
Toastr Notifications Toastr is a Javascript library for Gnome / Growl type non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.
jQuery Cookie A simple, lightweight jQuery plugin for reading, writing and deleting cookies
Bootstrap Hover Dropdown An unofficial Bootstrap plugin to enable Bootstrap dropdowns to activate on hover and provide a nice user experience.
Moment.js Parse, validate, manipulate, and display dates in javascript.
PLUGINS
Name Description
Audio.js audio.js is a drop-in javascript library that allows HTML5’s
Autosize A plugin to automatically adjust textarea height.
Backstretch a simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element
Bigvideo.js The jquery plugin for big background video and images
Blueimp Gallery blueimp Gallery is a touch-enabled, responsive and customizable image & video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.
Bootpag dynamic pagination jQuery plugin
Bootstrap Color Picker Colorpicker plugin for Twitter Bootstrap
Bootstrap Date Range Picker Date range picker component for Bootstrap
Bootstrap Date Time Picker Bootstrap form component to handle date and time data.
Bootstrap Image Gallery Bootstrap Image Gallery is an extension to blueimp Gallery, a touch-enabled, responsive and customizable image and video gallery.
Bootstrap Markdown Bootstrap-Markdown designed to be easily integrated with your bootstrap project.
Bootstrap MaxLength Bootstrap-Maxlength uses a Twitter Bootstrap label to show a visual feedback to the user about the maximum length of the field where the user is inserting text.
Bootstrap Modal Extends the default Bootstrap Modal class. Responsive, stackable, ajax and more.
Bootstrap Password Strength jQuery Password Strength Meter for Twitter Bootstrap
Bootstrap Select A custom select for @twitter bootstrap using button dropdown.
Bootstrap Session Timeout Session timeout and keep-alive control with a nice Bootstrap warning dialog.
Bootstrap Social Buttons Social Sign-In Buttons made in pure CSS based on Bootstrap and Font Awesome!
Bootstrap Switch Turn checkboxes and radio buttons in toggle switches.
Bootstrap Table An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features.
Bootstrap Time Picker Turn checkboxes and radio buttons in toggle switches.
Bootstrap TouchSpin A mobile and touch friendly input spinner component for Bootstrap 3. It supports the mousewheel and the up/down keys.
Bootstrap Wizard Plugin This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure.
Bootstrap Wysihtml5 Simple, beautiful wysiwyg editors
C3.js D3-based reusable chart library
Chart JS Simple, clean and engaging charts for designers and developers
Chosen Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly.
Clockface timepicker for Twitter Bootstrap
Countdown A simple and html agnostic date countdown plugin for jQuery
Cropper JS A simple jQuery image cropping plugin.
D3.js D3.js is a JavaScript library for manipulating documents based on data
DataTables Simple, clean and engaging charts for designers and developers
Dropzone DropzoneJS is an open source library that provides drag'n'drop file uploads with image previews.
Emojify Emojify
Flot Charts Attractive JavaScript plotting for jQuery
Full Calendar A JavaScript event calendar. Customizable and open source.
Geo Complete jQuery Geocoding and Places Autocomplete Plugin
Gmaps.js the easiest way to use Google Maps
Handlebars Handlebars provides the power necessary to let you build semantic templates effectively with no frustration.
Highlight JS Syntax highlighting for the Web
Holder JS Holder renders image placeholders entirely in browser.
iCheck Super customized checkboxes and radio buttons for jQuery and Zepto.
Indicator.js A visual password strength indicator inspired by Stripe./td>
Input Mask jQuery Input Mask plugin
Ion Range Slider jQuery range slider with skin support
Ion Sounds JavaScript plugin for playing sounds and music on websites
Input IP Mask Plugin controls the format of IPv4 or IPv6 addresses.
Jasny File Input The file input plugin allows you to create a visually appealing file or image input widgets.
jCrop Jcrop is the quick and easy way to add image cropping functionality to your web application.
jQuery File Upload File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery.
jQuery Validation This jQuery plugin makes simple clientside form validation easy, whilst still offering plenty of customization options.
jqvMap JQVMap is a jQuery plugin that renders Vector Maps.
JS Barcode Create different type of barcodes with javascript
JS Tree jsTree is jquery plugin, that provides interactive trees.
Knob Charts Nice, downward compatible, touchable, jQuery dial
Leaflet Maps An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps
Masonry Masonry is a JavaScript grid layout library.
Medium Editor Medium.com WYSIWYG editor clone
Mini Colors jQuery MiniColors Plugin
Multi Select A user-friendlier drop-in replacement for the standard select with multiple attribute activated
NO UI Slider noUiSlider is a range slider without bloat. It offers a ton off features, and it is as small, lightweight and minimal as possible, which is great for mobile use on the many supported devices, including iPhone, iPad, Android devices & Windows (Phone) 8 desktops, tablets and all-in-ones.
Offline Detector Automatically display online/offline indication to your users.
Overlay Simple Decorator for Textarea
Pace Automatically add a progress bar to your site.
Parsley Parsley, the ultimate JavaScript form validation library.
Pulsate jQuery.pulsate.js adds a pulsating effect to elements. Useful for drawing the users attention.
Quick Search A jQuery plugin for searching through tables, lists, etc quickly
Selectize.js Selectize is the hybrid of a textbox and <select> box. It's jQuery-based and it's useful for tagging, contact lists, country selectors, and so on.
Sparklines This jQuery plugin generates sparklines (small inline charts) directly in the browser using data supplied either inline in the HTML, or via javascript.
Strength.js The ultimate jQuery password input plugin. Featuring secure strength indicator and hide/show password
Stripe Payment A general purpose library for building credit card forms, validating inputs and formatting numbers.
Summernote Super Simple WYSIWYG Editor on Bootstrap
Switchery Switchery is a simple component that helps you turn your default HTML checkbox inputs into beautiful iOS 7 style switches in just few simple steps.
Text Complete Introduce autocompleting power to textareas, like GitHub comment forms have.
Typeahead.js A flexible JavaScript library that provides a strong foundation for building robust typeaheads
Video.js Open source HTML5 & Flash video player
Web Font Loader Web Font Loader gives you added control when using linked fonts via @font-face.

Version History

Version Date Changes
1.0 February 26, 2015 First submission to Themeforest