123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>AdminLTE 2 | Documentation</title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <!-- Bootstrap 3.3.7 -->
- <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css">
- <!-- Font Awesome -->
- <link rel="stylesheet" href="../bower_components/font-awesome/css/font-awesome.min.css">
- <!-- Ionicons -->
- <link rel="stylesheet" href="../bower_components/Ionicons/css/ionicons.min.css">
- <!-- Theme style -->
- <link rel="stylesheet" href="../dist/css/AdminLTE.min.css">
- <link rel="stylesheet" href="../dist/css/skins/_all-skins.min.css">
- <link rel="stylesheet" href="style.css">
- <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
- <!-- Google Font -->
- <link rel="stylesheet"
- href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
- </head>
- <body class="skin-blue" data-spy="scroll" data-target="#scrollspy">
- <div class="wrapper">
- <header class="main-header">
- <!-- Logo -->
- <a href="../index2.html" class="logo">
- <!-- mini logo for sidebar mini 50x50 pixels -->
- <span class="logo-mini"><b>A</b>LT</span>
- <!-- logo for regular state and mobile devices -->
- <span class="logo-lg"><b>Admin</b>LTE</span>
- </a>
- <!-- Header Navbar: style can be found in header.less -->
- <nav class="navbar navbar-static-top" role="navigation">
- <!-- Sidebar toggle button-->
- <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
- <span class="sr-only">Toggle navigation</span>
- </a>
- <!-- Navbar Right Menu -->
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
- <li><a href="https://adminlte.io">Almsaeed Studio</a></li>
- <li><a href="https://adminlte.io/premium">Premium Templates</a></li>
- </ul>
- </div>
- </nav>
- </header>
- <!-- Left side column. contains the logo and sidebar -->
- <aside class="main-sidebar">
- <!-- sidebar: style can be found in sidebar.less -->
- <div class="sidebar" id="scrollspy">
- <!-- sidebar menu: : style can be found in sidebar.less -->
- <ul class="nav sidebar-menu">
- <li class="header">TABLE OF CONTENTS</li>
- <li class="active"><a href="#introduction"><i class="fa fa-circle-o"></i> Introduction</a></li>
- <li><a href="#download"><i class="fa fa-circle-o"></i> Download</a></li>
- <li><a href="#dependencies"><i class="fa fa-circle-o"></i> Dependencies</a></li>
- <li><a href="#advice"><i class="fa fa-circle-o"></i> Advice</a></li>
- <li><a href="#layout"><i class="fa fa-circle-o"></i> Layout</a></li>
- <li><a href="#adminlte-options"><i class="fa fa-circle-o"></i> Javascript Options</a></li>
- <li class="treeview" id="scrollspy-components">
- <a href="javascript:void(0)"><i class="fa fa-circle-o"></i> Components</a>
- <ul class="nav treeview-menu">
- <li><a href="#component-main-header">Main Header</a></li>
- <li><a href="#component-sidebar">Sidebar</a></li>
- <li><a href="#component-control-sidebar">Control Sidebar</a></li>
- <li><a href="#component-info-box">Info Box</a></li>
- <li><a href="#component-box">Boxes</a></li>
- <li><a href="#component-direct-chat">Direct Chat</a></li>
- </ul>
- </li>
- <li><a href="#plugins"><i class="fa fa-circle-o"></i> Plugins</a></li>
- <li><a href="#browsers"><i class="fa fa-circle-o"></i> Browser Support</a></li>
- <li><a href="#upgrade"><i class="fa fa-circle-o"></i> Upgrade Guide</a></li>
- <li><a href="#implementations"><i class="fa fa-circle-o"></i> Implementations</a></li>
- <li><a href="#faq"><i class="fa fa-circle-o"></i> FAQ</a></li>
- <li><a href="#license"><i class="fa fa-circle-o"></i> License</a></li>
- </ul>
- </div>
- <!-- /.sidebar -->
- </aside>
- <!-- Content Wrapper. Contains page content -->
- <div class="content-wrapper">
- <!-- Content Header (Page header) -->
- <div class="content-header">
- <h1>
- AdminLTE Documentation
- <small>Version 2.3</small>
- </h1>
- <ol class="breadcrumb">
- <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
- <li class="active">Documentation</li>
- </ol>
- </div>
- <!-- Main content -->
- <div class="content body">
- <p class="lead">
- This documentation is for versions 2.3 and under.
- If you are looking for documentation for version 2.4 and above,
- please visit <a href="https://adminlte.io/docs">our online documentation</a>.
- </p>
- <section id="introduction">
- <h2 class="page-header"><a href="#introduction">Introduction</a></h2>
- <p class="lead">
- <b>AdminLTE</b> is a popular open source WebApp template for admin dashboards and control panels.
- It is a responsive HTML template that is based on the CSS framework Bootstrap 3.
- It utilizes all of the Bootstrap components in its design and re-styles many
- commonly used plugins to create a consistent design that can be used as a user
- interface for backend applications. AdminLTE is based on a modular design, which
- allows it to be easily customized and built upon. This documentation will guide you through
- installing the template and exploring the various components that are bundled with the template.
- </p>
- </section><!-- /#introduction -->
- <!-- ============================================================= -->
- <section id="download">
- <h2 class="page-header"><a href="#download">Download</a></h2>
- <p class="lead">
- AdminLTE can be downloaded in two different versions, each appealing to different skill levels and use case.
- </p>
- <div class="row">
- <div class="col-sm-6">
- <div class="box box-primary">
- <div class="box-header with-border">
- <h3 class="box-title">Ready</h3>
- <span class="label label-primary pull-right"><i class="fa fa-html5"></i></span>
- </div><!-- /.box-header -->
- <div class="box-body">
- <p>Compiled and ready to use in production. Download this version if you don't want to customize AdminLTE's LESS files.</p>
- <a href="https://adminlte.io/download/AdminLTE-dist" class="btn btn-primary"><i class="fa fa-download"></i> Download</a>
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div><!-- /.col -->
- <div class="col-sm-6">
- <div class="box box-danger">
- <div class="box-header with-border">
- <h3 class="box-title">Source Code</h3>
- <span class="label label-danger pull-right"><i class="fa fa-database"></i></span>
- </div><!-- /.box-header -->
- <div class="box-body">
- <p>All files including the compiled CSS. Download this version if you plan on customizing the template. <b>Requires a LESS compiler.</b></p>
- <a href="https://adminlte.io/download/AdminLTE" class="btn btn-danger"><i class="fa fa-download"></i> Download</a>
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div><!-- /.col -->
- </div><!-- /.row -->
- <pre class="hierarchy bring-up"><code class="language-bash" data-lang="bash">File Hierarchy of the Source Code Package
- AdminLTE/
- ├── dist/
- │ ├── CSS/
- │ ├── JS
- │ ├── img
- ├── build/
- │ ├── less/
- │ │ ├── AdminLTE's Less files
- │ └── Bootstrap-less/ (Only for reference. No modifications have been made)
- │ ├── mixins/
- │ ├── variables.less
- │ ├── mixins.less
- └── plugins/
- ├── All the customized plugins CSS and JS files</code></pre>
- </section>
- <!-- ============================================================= -->
- <section id="dependencies">
- <h2 class="page-header"><a href="#dependencies">Dependencies</a></h2>
- <p class="lead">AdminLTE depends on two main frameworks.
- The downloadable package contains both of these libraries, so you don't have to manually download them.</p>
- <ul class="bring-up">
- <li><a href="http://getbootstrap.com" target="_blank">Bootstrap 3</a></li>
- <li><a href="http://jquery.com/" target="_blank">jQuery 1.11+</a></li>
- <li><a href="#plugins">All other plugins are listed below</a></li>
- </ul>
- </section>
- <!-- ============================================================= -->
- <section id="advice">
- <h2 class="page-header"><a href="#advice">A Word of Advice</a></h2>
- <p class="lead">
- Before you go to see your new awesome theme, here are few tips on how to familiarize yourself with it:
- </p>
- <ul>
- <li><b>AdminLTE is based on <a href="http://getbootstrap.com/" target="_blank">Bootstrap 3</a>.</b> If you are unfamiliar with Bootstrap, visit their website and read through the documentation. All of Bootstrap components have been modified to fit the style of AdminLTE and provide a consistent look throughout the template. This way, we guarantee you will get the best of AdminLTE.</li>
- <li><b>Go through the pages that are bundled with the theme.</b> Most of the template example pages contain quick tips on how to create or use a component which can be really helpful when you need to create something on the fly.</li>
- <li><b>Documentation.</b> We are trying our best to make your experience with AdminLTE be smooth. One way to achieve that is to provide documentation and support. If you think that something is missing from the documentation, please do not hesitate to create an issue to tell us about it.</li>
- <li><b>Built with <a href="http://lesscss.org/" target="_blank">LESS</a>.</b> This theme uses the LESS compiler to make it easier to customize and use. LESS is easy to learn if you know CSS or SASS. It is not necessary to learn LESS but it will benefit you a lot in the future.</li>
- <li><b>Hosted on <a href="https://github.com/almasaeed2010/AdminLTE/" target="_blank">GitHub</a>.</b> Visit our GitHub repository to view issues, make requests, or contribute to the project.</li>
- </ul>
- <p>
- <b>Note:</b> LESS files are better commented than the compiled CSS file.
- </p>
- </section>
- <!-- ============================================================= -->
- <section id="layout">
- <h2 class="page-header"><a href="#layout">Layout</a></h2>
- <p class="lead">The layout consists of four major parts:</p>
- <ul>
- <li>Wrapper <code>.wrapper</code>. A div that wraps the whole site.</li>
- <li>Main Header <code>.main-header</code>. Contains the logo and navbar.</li>
- <li>Sidebar <code>.sidebar-wrapper</code>. Contains the user panel and sidebar menu.</li>
- <li>Content <code>.content-wrapper</code>. Contains the page header and content.</li>
- </ul>
- <div class="callout callout-danger lead">
- <h4>Tip!</h4>
- <p>The <a href="../starter.html">starter page</a> is a good place to start building your app if you'd like to start from scratch.</p>
- </div>
- <h3>Layout Options</h3>
- <p class="lead">AdminLTE 2.0 provides a set of options to apply to your main layout. Each one of these classes can be added
- to the body tag to get the desired goal.</p>
- <ul>
- <li><b>Fixed:</b> use the class <code>.fixed</code> to get a fixed header and sidebar.</li>
- <li><b>Collapsed Sidebar:</b> use the class <code>.sidebar-collapse</code> to have a collapsed sidebar upon loading.</li>
- <li><b>Boxed Layout:</b> use the class <code>.layout-boxed</code> to get a boxed layout that stretches only to 1250px.</li>
- <li><b>Top Navigation</b> use the class <code>.layout-top-nav</code> to remove the sidebar and have your links at the top navbar.</li>
- </ul>
- <p><b>Note:</b> you cannot use both layout-boxed and fixed at the same time. Anything else can be mixed together.</p>
- <h3>Skins</h3>
- <p class="lead">Skins can be found in the dist/css/skins folder.
- Choose the skin file that you want and then add the appropriate
- class to the body tag to change the template's appearance. Here is the list of available skins:</p>
- <div class="box box-solid" style="max-width: 300px;">
- <div class="box-body no-padding">
- <table id="layout-skins-list" class="table table-striped bring-up nth-2-center">
- <thead>
- <tr>
- <th style="width: 210px;">Skin Class</th>
- <th>Preview</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>skin-blue</code></td>
- <td><a href="#" data-skin="skin-blue" class="btn btn-primary btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-blue-light</code></td>
- <td><a href="#" data-skin="skin-blue-light" class="btn btn-primary btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-yellow</code></td>
- <td><a href="#" data-skin="skin-yellow" class="btn btn-warning btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-yellow-light</code></td>
- <td><a href="#" data-skin="skin-yellow-light" class="btn btn-warning btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-green</code></td>
- <td><a href="#" data-skin="skin-green" class="btn btn-success btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-green-light</code></td>
- <td><a href="#" data-skin="skin-green-light" class="btn btn-success btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-purple</code></td>
- <td><a href="#" data-skin="skin-purple" class="btn bg-purple btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-purple-light</code></td>
- <td><a href="#" data-skin="skin-purple-light" class="btn bg-purple btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-red</code></td>
- <td><a href="#" data-skin="skin-red" class="btn btn-danger btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-red-light</code></td>
- <td><a href="#" data-skin="skin-red-light" class="btn btn-danger btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-black</code></td>
- <td><a href="#" data-skin="skin-black" class="btn bg-black btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- <tr>
- <td><code>skin-black-light</code></td>
- <td><a href="#" data-skin="skin-black-light" class="btn bg-black btn-xs"><i class="fa fa-eye"></i></a></td>
- </tr>
- </tbody>
- </table>
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </section>
- <!-- ============================================================= -->
- <section id="adminlte-options">
- <h2 class="page-header"><a href="#adminlte-options">AdminLTE Javascript Options</a></h2>
- <p class="lead">Modifying the options of AdminLTE's app.js can be done using one of the following ways.</p>
- <h3>Editing app.js</h3>
- <p>Within the main Javascript file, modify the <code>$.AdminLTE.options</code> object to suit your use case.</p>
- <h3>Defining AdminLTEOptions</h3>
- <p>Alternatively, you can define a global options variable named <code>AdminLTEOptions</code> and initialize it before loading app.js.</p>
- <p>Example</p>
- <pre class="prettyprint"><code class="html"><script>
- var AdminLTEOptions = {
- //Enable sidebar expand on hover effect for sidebar mini
- //This option is forced to true if both the fixed layout and sidebar mini
- //are used together
- sidebarExpandOnHover: true,
- //BoxRefresh Plugin
- enableBoxRefresh: true,
- //Bootstrap.js tooltip
- enableBSToppltip: true
- };
- </script>
- <script src="dist/js/app.js" type="text/javascript"></script></code></pre>
- <h3>Available AdminLTE Options</h3>
- <pre class="prettyprint"><code class="javascript">{
- //Add slimscroll to navbar menus
- //This requires you to load the slimscroll plugin
- //in every page before app.js
- navbarMenuSlimscroll: true,
- navbarMenuSlimscrollWidth: "3px", //The width of the scroll bar
- navbarMenuHeight: "200px", //The height of the inner menu
- //General animation speed for JS animated elements such as box collapse/expand and
- //sidebar treeview slide up/down. This option accepts an integer as milliseconds,
- //'fast', 'normal', or 'slow'
- animationSpeed: 500,
- //Sidebar push menu toggle button selector
- sidebarToggleSelector: "[data-toggle='offcanvas']",
- //Activate sidebar push menu
- sidebarPushMenu: true,
- //Activate sidebar slimscroll if the fixed layout is set (requires SlimScroll Plugin)
- sidebarSlimScroll: true,
- //Enable sidebar expand on hover effect for sidebar mini
- //This option is forced to true if both the fixed layout and sidebar mini
- //are used together
- sidebarExpandOnHover: false,
- //BoxRefresh Plugin
- enableBoxRefresh: true,
- //Bootstrap.js tooltip
- enableBSToppltip: true,
- BSTooltipSelector: "[data-toggle='tooltip']",
- //Enable Fast Click. Fastclick.js creates a more
- //native touch experience with touch devices. If you
- //choose to enable the plugin, make sure you load the script
- //before AdminLTE's app.js
- enableFastclick: true,
- //Control Sidebar Tree Views
- enableControlTreeView: true,
- //Control Sidebar Options
- enableControlSidebar: true,
- controlSidebarOptions: {
- //Which button should trigger the open/close event
- toggleBtnSelector: "[data-toggle='control-sidebar']",
- //The sidebar selector
- selector: ".control-sidebar",
- //Enable slide over content
- slide: true
- },
- //Box Widget Plugin. Enable this plugin
- //to allow boxes to be collapsed and/or removed
- enableBoxWidget: true,
- //Box Widget plugin options
- boxWidgetOptions: {
- boxWidgetIcons: {
- //Collapse icon
- collapse: 'fa-minus',
- //Open icon
- open: 'fa-plus',
- //Remove icon
- remove: 'fa-times'
- },
- boxWidgetSelectors: {
- //Remove button selector
- remove: '[data-widget="remove"]',
- //Collapse button selector
- collapse: '[data-widget="collapse"]'
- }
- },
- //Direct Chat plugin options
- directChat: {
- //Enable direct chat by default
- enable: true,
- //The button to open and close the chat contacts pane
- contactToggleSelector: '[data-widget="chat-pane-toggle"]'
- },
- //Define the set of colors to use globally around the website
- colors: {
- lightBlue: "#3c8dbc",
- red: "#f56954",
- green: "#00a65a",
- aqua: "#00c0ef",
- yellow: "#f39c12",
- blue: "#0073b7",
- navy: "#001F3F",
- teal: "#39CCCC",
- olive: "#3D9970",
- lime: "#01FF70",
- orange: "#FF851B",
- fuchsia: "#F012BE",
- purple: "#8E24AA",
- maroon: "#D81B60",
- black: "#222222",
- gray: "#d2d6de"
- },
- //The standard screen sizes that bootstrap uses.
- //If you change these in the variables.less file, change
- //them here too.
- screenSizes: {
- xs: 480,
- sm: 768,
- md: 992,
- lg: 1200
- }
- }</code></pre>
- </section>
- <!-- ============================================================= -->
- <section id="components" data-spy="scroll" data-target="#scrollspy-components">
- <h2 class="page-header"><a href="#components">Components</a></h2>
- <div class="callout callout-info lead">
- <h4>Reminder!</h4>
- <p>
- AdminLTE uses all of Bootstrap 3 components. It's a good start to review
- the <a href="http://getbootstrap.com">Bootstrap documentation</a> to get an idea of the various components
- that this documentation <b>does not</b> cover.
- </p>
- </div>
- <div class="callout callout-danger lead">
- <h4>Tip!</h4>
- <p>
- If you go through the example pages and would like to copy a component, right-click on
- the component and choose "inspect element" to get to the HTML quicker than scanning
- the HTML page.
- </p>
- </div>
- <h3 id="component-main-header">Main Header</h3>
- <p class="lead">The main header contains the logo and navbar. Construction of the
- navbar differs slightly from Bootstrap because it has components that Bootstrap doesn't provide.
- The navbar can be constructed in two ways. This is an example for the normal navbar and next we will provide an example for
- the top nav layout.</p>
- <div class="box box-solid">
- <div class="box-body" style="position: relative;">
- <span class="eg">Main Header Example</span>
- <header class="main-header" style="position: relative;">
- <!-- Logo -->
- <a href="index2.html" class="logo" style="position: relative;"><b>Admin</b>LTE</a>
- <!-- Header Navbar: style can be found in header.less -->
- <nav class="navbar" role="navigation" style="border: 0;max-height: 50px;">
- <!-- Sidebar toggle button-->
- <a href="#" class="sidebar-toggle" role="button">
- <span class="sr-only">Toggle navigation</span>
- </a>
- <!-- Navbar Right Menu -->
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
- <!-- Messages: style can be found in dropdown.less-->
- <li class="dropdown messages-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-envelope-o"></i>
- <span class="label label-success">4</span>
- </a>
- <ul class="dropdown-menu">
- <li class="header">You have 4 messages</li>
- <li>
- <!-- inner menu: contains the actual data -->
- <ul class="menu">
- <li><!-- start message -->
- <a href="#">
- <div class="pull-left">
- <img src="../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
- </div>
- <h4>
- Support Team
- <small><i class="fa fa-clock-o"></i> 5 mins</small>
- </h4>
- <p>Why not buy a new awesome theme?</p>
- </a>
- </li><!-- end message -->
- </ul>
- </li>
- <li class="footer"><a href="#">See All Messages</a></li>
- </ul>
- </li>
- <!-- Notifications: style can be found in dropdown.less -->
- <li class="dropdown notifications-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-bell-o"></i>
- <span class="label label-warning">10</span>
- </a>
- <ul class="dropdown-menu">
- <li class="header">You have 10 notifications</li>
- <li>
- <!-- inner menu: contains the actual data -->
- <ul class="menu">
- <li>
- <a href="#">
- <i class="fa fa-users text-aqua"></i> 5 new members joined today
- </a>
- </li>
- </ul>
- </li>
- <li class="footer"><a href="#">View all</a></li>
- </ul>
- </li>
- <!-- Tasks: style can be found in dropdown.less -->
- <li class="dropdown tasks-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-flag-o"></i>
- <span class="label label-danger">9</span>
- </a>
- <ul class="dropdown-menu">
- <li class="header">You have 9 tasks</li>
- <li>
- <!-- inner menu: contains the actual data -->
- <ul class="menu">
- <li><!-- Task item -->
- <a href="#">
- <h3>
- Design some buttons
- <small class="pull-right">20%</small>
- </h3>
- <div class="progress xs">
- <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
- <span class="sr-only">20% Complete</span>
- </div>
- </div>
- </a>
- </li><!-- end task item -->
- </ul>
- </li>
- <li class="footer">
- <a href="#">View all tasks</a>
- </li>
- </ul>
- </li>
- <!-- User Account: style can be found in dropdown.less -->
- <li class="dropdown user user-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <img src="../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
- <span class="hidden-xs">Alexander Pierce</span>
- </a>
- <ul class="dropdown-menu">
- <!-- User image -->
- <li class="user-header">
- <img src="../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
- <p>
- Alexander Pierce - Web Developer
- <small>Member since Nov. 2012</small>
- </p>
- </li>
- <!-- Menu Body -->
- <li class="user-body">
- <div class="col-xs-4 text-center">
- <a href="#">Followers</a>
- </div>
- <div class="col-xs-4 text-center">
- <a href="#">Sales</a>
- </div>
- <div class="col-xs-4 text-center">
- <a href="#">Friends</a>
- </div>
- </li>
- <!-- Menu Footer-->
- <li class="user-footer">
- <div class="pull-left">
- <a href="#" class="btn btn-default btn-flat">Profile</a>
- </div>
- <div class="pull-right">
- <a href="#" class="btn btn-default btn-flat">Sign out</a>
- </div>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </nav>
- </header>
- </div>
- </div>
- <pre class="prettyprint"><header class="main-header">
- <a href="../../index2.html" class="logo">
- <!-- LOGO -->
- AdminLTE
- </a>
- <!-- Header Navbar: style can be found in header.less -->
- <nav class="navbar navbar-static-top" role="navigation">
- <!-- Navbar Right Menu -->
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
- <!-- Messages: style can be found in dropdown.less-->
- <li class="dropdown messages-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-envelope-o"></i>
- <span class="label label-success">4</span>
- </a>
- <ul class="dropdown-menu">
- <li class="header">You have 4 messages</li>
- <li>
- <!-- inner menu: contains the actual data -->
- <ul class="menu">
- <li><!-- start message -->
- <a href="#">
- <div class="pull-left">
- <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
- </div>
- <h4>
- Sender Name
- <small><i class="fa fa-clock-o"></i> 5 mins</small>
- </h4>
- <p>Message Excerpt</p>
- </a>
- </li><!-- end message -->
- ...
- </ul>
- </li>
- <li class="footer"><a href="#">See All Messages</a></li>
- </ul>
- </li>
- <!-- Notifications: style can be found in dropdown.less -->
- <li class="dropdown notifications-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-bell-o"></i>
- <span class="label label-warning">10</span>
- </a>
- <ul class="dropdown-menu">
- <li class="header">You have 10 notifications</li>
- <li>
- <!-- inner menu: contains the actual data -->
- <ul class="menu">
- <li>
- <a href="#">
- <i class="ion ion-ios-people info"></i> Notification title
- </a>
- </li>
- ...
- </ul>
- </li>
- <li class="footer"><a href="#">View all</a></li>
- </ul>
- </li>
- <!-- Tasks: style can be found in dropdown.less -->
- <li class="dropdown tasks-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-flag-o"></i>
- <span class="label label-danger">9</span>
- </a>
- <ul class="dropdown-menu">
- <li class="header">You have 9 tasks</li>
- <li>
- <!-- inner menu: contains the actual data -->
- <ul class="menu">
- <li><!-- Task item -->
- <a href="#">
- <h3>
- Design some buttons
- <small class="pull-right">20%</small>
- </h3>
- <div class="progress xs">
- <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
- <span class="sr-only">20% Complete</span>
- </div>
- </div>
- </a>
- </li><!-- end task item -->
- ...
- </ul>
- </li>
- <li class="footer">
- <a href="#">View all tasks</a>
- </li>
- </ul>
- </li>
- <!-- User Account: style can be found in dropdown.less -->
- <li class="dropdown user user-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <img src="dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
- <span class="hidden-xs">Alexander Pierce</span>
- </a>
- <ul class="dropdown-menu">
- <!-- User image -->
- <li class="user-header">
- <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
- <p>
- Alexander Pierce - Web Developer
- <small>Member since Nov. 2012</small>
- </p>
- </li>
- <!-- Menu Body -->
- <li class="user-body">
- <div class="col-xs-4 text-center">
- <a href="#">Followers</a>
- </div>
- <div class="col-xs-4 text-center">
- <a href="#">Sales</a>
- </div>
- <div class="col-xs-4 text-center">
- <a href="#">Friends</a>
- </div>
- </li>
- <!-- Menu Footer-->
- <li class="user-footer">
- <div class="pull-left">
- <a href="#" class="btn btn-default btn-flat">Profile</a>
- </div>
- <div class="pull-right">
- <a href="#" class="btn btn-default btn-flat">Sign out</a>
- </div>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </nav>
- </header></pre>
- <h4>Top Nav Layout. Main Header Example.</h4>
- <div class="callout callout-info lead">
- <h4>Reminder!</h4>
- <p>To use this main header instead of the regular one, you must add the <code>layout-top-nav</code> class to the body tag.</p>
- </div>
- <div class="box box-solid">
- <div class="box-body layout-top-nav">
- <span class="eg">Top Nav Example</span>
- <header class="main-header">
- <nav class="navbar navbar-static-top">
- <div class="container-fluid">
- <div class="navbar-header">
- <a href="../../index2.html" class="navbar-brand"><b>Admin</b>LTE</a>
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
- <i class="fa fa-bars"></i>
- </button>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <div class="collapse navbar-collapse" id="navbar-collapse">
- <ul class="nav navbar-nav">
- <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
- <li><a href="#">Link</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- <li class="divider"></li>
- <li><a href="#">One more separated link</a></li>
- </ul>
- </li>
- </ul>
- <form class="navbar-form navbar-left" role="search">
- <div class="form-group">
- <input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
- </div>
- </form>
- <ul class="nav navbar-nav navbar-right">
- <li><a href="#">Link</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </li>
- </ul>
- </div><!-- /.navbar-collapse -->
- </div><!-- /.container-fluid -->
- </nav>
- </header>
- </div>
- </div>
- <pre class="prettyprint">
- <header class="main-header">
- <nav class="navbar navbar-static-top">
- <div class="container-fluid">
- <div class="navbar-header">
- <a href="../../index2.html" class="navbar-brand"><b>Admin</b>LTE</a>
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
- <i class="fa fa-bars"></i>
- </button>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <div class="collapse navbar-collapse" id="navbar-collapse">
- <ul class="nav navbar-nav">
- <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
- <li><a href="#">Link</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- <li class="divider"></li>
- <li><a href="#">One more separated link</a></li>
- </ul>
- </li>
- </ul>
- <form class="navbar-form navbar-left" role="search">
- <div class="form-group">
- <input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
- </div>
- </form>
- <ul class="nav navbar-nav navbar-right">
- <li><a href="#">Link</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </li>
- </ul>
- </div><!-- /.navbar-collapse -->
- </div><!-- /.container-fluid -->
- </nav>
- </header></pre>
- <!-- ===================================================================== -->
- <h3 id="component-sidebar">Sidebar</h3>
- <p class="lead">
- The sidebar used in this page to the left provides an example of what your sidebar should like.
- Construction of a sidebar:
- </p>
- <pre class="prettyprint">
- <div class="main-sidebar">
- <!-- Inner sidebar -->
- <div class="sidebar">
- <!-- user panel (Optional) -->
- <div class="user-panel">
- <div class="pull-left image">
- <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
- </div>
- <div class="pull-left info">
- <p>User Name</p>
- <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
- </div>
- </div><!-- /.user-panel -->
- <!-- Search Form (Optional) -->
- <form action="#" method="get" class="sidebar-form">
- <div class="input-group">
- <input type="text" name="q" class="form-control" placeholder="Search...">
- <span class="input-group-btn">
- <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
- </span>
- </div>
- </form><!-- /.sidebar-form -->
- <!-- Sidebar Menu -->
- <ul class="sidebar-menu">
- <li class="header">HEADER</li>
- <!-- Optionally, you can add icons to the links -->
- <li class="active"><a href="#"><span>Link</span></a><</li>
- <li><a href="#"><span>Another Link</span></a></li>
- <li class="treeview">
- <a href="#"><span>Multilevel</span> <i class="fa fa-angle-left pull-right"></i></a>
- <ul class="treeview-menu">
- <li><a href="#">Link in level 2</a></li>
- <li><a href="#">Link in level 2</a></li>
- </ul>
- </li>
- </ul><!-- /.sidebar-menu -->
- </div><!-- /.sidebar -->
- </div><!-- /.main-sidebar --></pre>
- <h3 id="component-control-sidebar">Control Sidebar</h3>
- <p class="lead">Control sidebar is the right side bar. It can be used for many purposes and is extremely easy
- to create. The sidebar ships with two different show/hide styles. The first allows the sidebar to
- slide over the content. The second pushes the content to make space for the sidebar. Either of
- these methods can be set through the <a href="#adminlte-options">Javascript options</a>.</p>
- <p class="lead">The following code should be placed within the <code>.wrapper</code> div. I prefer
- to place it right after the footer.</p>
- <p class="lead">Dark Sidebar Markup</p>
- <pre class="prettyprint"><code class="lang-html"><!-- The Right Sidebar -->
- <aside class="control-sidebar control-sidebar-dark">
- <!-- Content of the sidebar goes here -->
- </aside>
- <!-- The sidebar's background -->
- <!-- This div must placed right after the sidebar for it to work-->
- <div class="control-sidebar-bg"></div></code></pre>
- <p class="lead">Light Sidebar Markup</p>
- <pre class="prettyprint"><code class="lang-html"><!-- The Right Sidebar -->
- <aside class="control-sidebar control-sidebar-light">
- <!-- Content of the sidebar goes here -->
- </aside>
- <!-- The sidebar's background -->
- <!-- This div must placed right after the sidebar for it to work-->
- <div class="control-sidebar-bg"></div></code></pre>
- <p class="lead">Once you create the sidebar, you will need a toggle button to open/close it.
- By adding the attribute <code>data-toggle="control-sidebar"</code> to any button, it will
- automatically act as the toggle button.</p>
- <p class="lead">Toggle Button Example</p>
- <button class="btn btn-primary" data-toggle="control-sidebar">Toggle Right Sidebar</button><br><br>
- <p class="lead">Sidebar Toggle Markup</p>
- <pre class="prettyprint"><code class="lang-html"><button class="btn btn-default" data-toggle="control-sidebar">Toggle Right Sidebar</button></code></pre>
- <!-- ===================================================================== -->
- <h3 id="component-info-box">Info Box</h3>
- <p class="lead">Info boxes are used to display statistical snippets. There are two types of info boxes.</p>
- <h4>First Type of Info Boxes</h4>
- <!-- Info Boxes -->
- <div class="row">
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box">
- <span class="info-box-icon bg-aqua"><i class="fa fa-envelope-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Messages</span>
- <span class="info-box-number">1,410</span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box">
- <span class="info-box-icon bg-green"><i class="fa fa-flag-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Bookmarks</span>
- <span class="info-box-number">410</span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box">
- <span class="info-box-icon bg-yellow"><i class="fa fa-files-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Uploads</span>
- <span class="info-box-number">13,648</span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box">
- <span class="info-box-icon bg-red"><i class="fa fa-star-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Likes</span>
- <span class="info-box-number">93,139</span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- </div><!-- /.row -->
- <p class="lead">Markup</p>
- <pre class="prettyprint"><code class="lang-html"><div class="info-box">
- <!-- Apply any bg-* class to to the icon to color it -->
- <span class="info-box-icon bg-red"><i class="fa fa-star-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Likes</span>
- <span class="info-box-number">93,139</span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box --></code></pre>
- <h4>Second Type of Info Boxes</h4>
- <div class="row">
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box bg-aqua">
- <span class="info-box-icon"><i class="fa fa-bookmark-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Bookmarks</span>
- <span class="info-box-number">41,410</span>
- <div class="progress">
- <div class="progress-bar" style="width: 70%"></div>
- </div>
- <span class="progress-description">
- 70% Increase in 30 Days
- </span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box bg-green">
- <span class="info-box-icon"><i class="fa fa-thumbs-o-up"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Likes</span>
- <span class="info-box-number">41,410</span>
- <div class="progress">
- <div class="progress-bar" style="width: 70%"></div>
- </div>
- <span class="progress-description">
- 70% Increase in 30 Days
- </span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box bg-yellow">
- <span class="info-box-icon"><i class="fa fa-calendar"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Events</span>
- <span class="info-box-number">41,410</span>
- <div class="progress">
- <div class="progress-bar" style="width: 70%"></div>
- </div>
- <span class="progress-description">
- 70% Increase in 30 Days
- </span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- <div class="col-md-3 col-sm-6 col-xs-12">
- <div class="info-box bg-red">
- <span class="info-box-icon"><i class="fa fa-comments-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Comments</span>
- <span class="info-box-number">41,410</span>
- <div class="progress">
- <div class="progress-bar" style="width: 70%"></div>
- </div>
- <span class="progress-description">
- 70% Increase in 30 Days
- </span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box -->
- </div><!-- /.col -->
- </div><!-- /.row -->
- <p class="lead">Markup</p>
- <pre class="prettyprint"><code class="lang-html"><!-- Apply any bg-* class to to the info-box to color it -->
- <div class="info-box bg-red">
- <span class="info-box-icon"><i class="fa fa-comments-o"></i></span>
- <div class="info-box-content">
- <span class="info-box-text">Likes</span>
- <span class="info-box-number">41,410</span>
- <!-- The progress section is optional -->
- <div class="progress">
- <div class="progress-bar" style="width: 70%"></div>
- </div>
- <span class="progress-description">
- 70% Increase in 30 Days
- </span>
- </div><!-- /.info-box-content -->
- </div><!-- /.info-box --></code></pre>
- <p class="lead">The only thing you need to change to alternate between these style is change the placement of the bg-* class. For the
- first style apply any bg-* class to the icon itself. For the other style, apply the bg-* class to the info-box div.</p>
- <!-- ===================================================================== -->
- <h3 id="component-box">Box</h3>
- <p class="lead">The box component is the most widely used component through out this template. You can
- use it for anything from displaying charts to just blocks of text. It comes in many different
- styles that we will explore below.</p>
- <h4>Default Box Markup</h4>
- <div class="box">
- <div class="box-header with-border">
- <h3 class="box-title">Default Box Example</h3>
- <div class="box-tools pull-right">
- <!-- Buttons, labels, and many other things can be placed here! -->
- <!-- Here is a label for example -->
- <span class="label label-primary">Label</span>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- <div class="box-footer">
- The footer of the box
- </div><!-- box-footer -->
- </div><!-- /.box -->
- <pre class="prettyprint"><div class="box">
- <div class="box-header with-border">
- <h3 class="box-title">Default Box Example</h3>
- <div class="box-tools pull-right">
- <!-- Buttons, labels, and many other things can be placed here! -->
- <!-- Here is a label for example -->
- <span class="label label-primary">Label</span>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- <div class="box-footer">
- The footer of the box
- </div><!-- box-footer -->
- </div><!-- /.box --></pre>
- <h4>Box Variants</h4>
- <p class="lead">You can change the style of the box by adding any of the contextual classes.</p>
- <div class="row">
- <div class="col-md-4">
- <div class="box">
- <div class="box-header with-border">
- <h3 class="box-title">Default Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-primary">
- <div class="box-header with-border">
- <h3 class="box-title">Primary Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-info">
- <div class="box-header with-border">
- <h3 class="box-title">Info Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="clearfix"></div>
- <div class="col-md-4">
- <div class="box box-warning">
- <div class="box-header with-border">
- <h3 class="box-title">Warning Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-success">
- <div class="box-header with-border">
- <h3 class="box-title">Success Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-danger">
- <div class="box-header with-border">
- <h3 class="box-title">Danger Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- </div><!-- /.row -->
- <pre class="prettyprint"><div class="box box-default">...</div>
- <div class="box box-primary">...</div>
- <div class="box box-info">...</div>
- <div class="box box-warning">...</div>
- <div class="box box-success">...</div>
- <div class="box box-danger">...</div></pre>
- <h4>Solid Box</h4>
- <p class="lead">Solid Boxes are alternative ways to display boxes.
- They can be created by simply adding the box-solid class to the box component.
- You may also use contextual classes with you solid boxes.</p>
- <div class="row">
- <div class="col-md-4">
- <div class="box box-solid box-default">
- <div class="box-header">
- <h3 class="box-title">Default Solid Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-solid box-primary">
- <div class="box-header">
- <h3 class="box-title">Primary Solid Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-solid box-info">
- <div class="box-header">
- <h3 class="box-title">Info Solid Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="clearfix"></div>
- <div class="col-md-4">
- <div class="box box-solid box-warning">
- <div class="box-header">
- <h3 class="box-title">Warning Solid Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-solid box-success">
- <div class="box-header">
- <h3 class="box-title">Success Solid Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- <div class="col-md-4">
- <div class="box box-solid box-danger">
- <div class="box-header">
- <h3 class="box-title">Danger Solid Box Example</h3>
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- </div>
- </div><!-- /.row -->
- <pre class="prettyprint">
- <div class="box box-solid box-default">...</div>
- <div class="box box-solid box-primary">...</div>
- <div class="box box-solid box-info">...</div>
- <div class="box box-solid box-warning">...</div>
- <div class="box box-solid box-success">...</div>
- <div class="box box-solid box-danger">...</div></pre>
- <h4>Box Tools</h4>
- <p class="lead">Boxes can contain tools to deploy a specific event or provide simple info. The following examples makes use
- of multiple AdminLTE components within the header of the box.</p>
- <p>AdminLTE data-widget attribute provides boxes with the ability to collapse or be removed. The buttons
- are placed in the box-tools which is placed in the box-header.</p>
- <pre class="prettyprint">
- <!-- This will cause the box to be removed when clicked -->
- <button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
- <!-- This will cause the box to collapse when clicked -->
- <button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button></pre>
- <div class="row">
- <div class="col-md-4">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Collapsable</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- <pre class="prettyprint">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Collapsable</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box --></pre>
- </div>
- <div class="col-md-4">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Removable</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- <pre class="prettyprint">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Removable</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box --></pre>
- </div>
- <div class="col-md-4">
- <div class="box box-default collapsed-box">
- <div class="box-header with-border">
- <h3 class="box-title">Expandable</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- <pre class="prettyprint">
- <div class="box box-default collapsed-box">
- <div class="box-header with-border">
- <h3 class="box-title">Expandable</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box --></pre>
- </div>
- </div><!-- /.row -->
- <p>We can also add labels, badges, pagination, tooltips, inputs and many more in the box tools. A few examples:</p>
- <div class="row">
- <div class="col-md-4">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Labels</h3>
- <div class="box-tools pull-right">
- <span class="label label-default">Some Label</span>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- <pre class="prettyprint">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Labels</h3>
- <div class="box-tools pull-right">
- <span class="label label-default">8 New Messages</span>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box --></pre>
- </div>
- <div class="col-md-4">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Input</h3>
- <div class="box-tools pull-right">
- <div class="has-feedback">
- <input type="text" class="form-control input-sm" placeholder="Search...">
- <span class="glyphicon glyphicon-search form-control-feedback text-muted"></span>
- </div>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- <pre class="prettyprint">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Input</h3>
- <div class="box-tools pull-right">
- <div class="has-feedback">
- <input type="text" class="form-control input-sm" placeholder="Search...">
- <span class="glyphicon glyphicon-search form-control-feedback"></span>
- </div>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box --></pre>
- </div>
- <div class="col-md-4">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Tootips on buttons</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box -->
- <pre class="prettyprint">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Tooltips on buttons</h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
- </div><!-- /.box-tools -->
- </div><!-- /.box-header -->
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- </div><!-- /.box --></pre>
- </div><!-- /.col -->
- </div><!-- /.row -->
- <p>
- If you inserted a box into the document after <code>app.js</code> was loaded, you have to activate
- the collapse/remove buttons explicitly by calling <code>.activateBox()</code>:
- </p>
- <pre class="prettyprint"><code class="html"><script>
- $("#box-widget").activateBox();
- </script></code></pre>
- <h4>Loading States</h4>
- <div class="row">
- <div class="col-md-6">
- <div class="box box-default">
- <div class="box-header with-border">
- <h3 class="box-title">Loading state</h3>
- </div>
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- <!-- Loading (remove the following to stop the loading)-->
- <div class="overlay">
- <i class="fa fa-refresh fa-spin"></i>
- </div>
- <!-- end loading -->
- </div><!-- /.box -->
- </div><!-- /.col -->
- <div class="col-md-6">
- <div class="box box-default box-solid">
- <div class="box-header with-border">
- <h3 class="box-title">Loading state (.box-solid)</h3>
- </div>
- <div class="box-body">
- The body of the box
- </div><!-- /.box-body -->
- <!-- Loading (remove the following to stop the loading)-->
- <div class="overlay">
- <i class="fa fa-refresh fa-spin"></i>
- </div>
- <!-- end loading -->
- </div><!-- /.box -->
- </div><!-- /.col -->
- </div><!-- /.row -->
- <p class="lead">
- To simulate a loading state, simply place this code before the <code>.box</code> closing tag.
- </p>
- <pre class="prettyprint"><code class="html"><div class="overlay">
- <i class="fa fa-refresh fa-spin"></i>
- </div>
- </code></pre>
- <h3 id="component-direct-chat">Direct Chat</h3>
- <p class="lead">The direct chat widget extends the box component to create a beautiful chat interface. This widget
- consists of a required messages pane and an <b>optional</b> contacts pane. Examples:</p>
- <!-- Direct Chat -->
- <div class="row">
- <div class="col-md-3">
- <!-- DIRECT CHAT PRIMARY -->
- <div class="box box-primary direct-chat direct-chat-primary">
- <div class="box-header with-border">
- <h3 class="box-title">Direct Chat</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-light-blue">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <form action="#" method="post">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-primary btn-flat">Send</button>
- </span>
- </div>
- </form>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </div><!-- /.col -->
- <div class="col-md-3">
- <!-- DIRECT CHAT SUCCESS -->
- <div class="box box-success direct-chat direct-chat-success">
- <div class="box-header with-border">
- <h3 class="box-title">Direct Chat</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-green">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <form action="#" method="post">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-success btn-flat">Send</button>
- </span>
- </div>
- </form>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </div><!-- /.col -->
- <div class="col-md-3">
- <!-- DIRECT CHAT WARNING -->
- <div class="box box-warning direct-chat direct-chat-warning">
- <div class="box-header with-border">
- <h3 class="box-title">Direct Chat</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-yellow">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <form action="#" method="post">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-warning btn-flat">Send</button>
- </span>
- </div>
- </form>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </div><!-- /.col -->
- <div class="col-md-3">
- <!-- DIRECT CHAT DANGER -->
- <div class="box box-danger direct-chat direct-chat-danger">
- <div class="box-header with-border">
- <h3 class="box-title">Direct Chat</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-red">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <form action="#" method="post">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-danger btn-flat">Send</button>
- </span>
- </div>
- </form>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </div><!-- /.col -->
- </div><!-- /.row -->
- <p class="lead">Direct Chat Markup</p>
- <pre class="prettyprint"><code class="html">
- <!-- Construct the box with style you want. Here we are using box-danger -->
- <!-- Then add the class direct-chat and choose the direct-chat-* contexual class -->
- <!-- The contextual class should match the box, so we are using direct-chat-danger -->
- <div class="box box-danger direct-chat direct-chat-danger">
- <div class="box-header with-border">
- <h3 class="box-title">Direct Chat</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-red">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <!-- In box-tools add this button if you intend to use the contacts pane -->
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-danger btn-flat">Send</button>
- </span>
- </div>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </code></pre>
- <p>Of course you can use direct chat with a solid box by adding the class <code>solid-box</code> to the box. Here are a couple of examples:</p>
- <!-- Direct Chat With Solid Boxes -->
- <div class="row">
- <div class="col-md-6">
- <!-- DIRECT CHAT WARNING -->
- <div class="box box-primary box-solid direct-chat direct-chat-primary">
- <div class="box-header">
- <h3 class="box-title">Direct Chat in a Solid Box</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-light-blue">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <form action="#" method="post">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-primary btn-flat">Send</button>
- </span>
- </div>
- </form>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </div><!-- /.col -->
- <div class="col-md-6">
- <!-- DIRECT CHAT DANGER -->
- <div class="box box-info box-solid direct-chat direct-chat-info">
- <div class="box-header">
- <h3 class="box-title">Direct Chat in a Solid Box</h3>
- <div class="box-tools pull-right">
- <span data-toggle="tooltip" title="3 New Messages" class="badge bg-aqua">3</span>
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- <button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
- <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
- </div>
- </div><!-- /.box-header -->
- <div class="box-body">
- <!-- Conversations are loaded here -->
- <div class="direct-chat-messages">
- <!-- Message. Default to the left -->
- <div class="direct-chat-msg">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-left">Alexander Pierce</span>
- <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- Is this template really for free? That's unbelievable!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- <!-- Message to the right -->
- <div class="direct-chat-msg right">
- <div class="direct-chat-info clearfix">
- <span class="direct-chat-name pull-right">Sarah Bullock</span>
- <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
- </div><!-- /.direct-chat-info -->
- <img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
- <div class="direct-chat-text">
- You better believe it!
- </div><!-- /.direct-chat-text -->
- </div><!-- /.direct-chat-msg -->
- </div><!--/.direct-chat-messages-->
- <!-- Contacts are loaded here -->
- <div class="direct-chat-contacts">
- <ul class="contacts-list">
- <li>
- <a href="#">
- <img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
- <div class="contacts-list-info">
- <span class="contacts-list-name">
- Count Dracula
- <small class="contacts-list-date pull-right">2/28/2015</small>
- </span>
- <span class="contacts-list-msg">How have you been? I was...</span>
- </div><!-- /.contacts-list-info -->
- </a>
- </li><!-- End Contact Item -->
- </ul><!-- /.contatcts-list -->
- </div><!-- /.direct-chat-pane -->
- </div><!-- /.box-body -->
- <div class="box-footer">
- <form action="#" method="post">
- <div class="input-group">
- <input type="text" name="message" placeholder="Type Message ..." class="form-control">
- <span class="input-group-btn">
- <button type="button" class="btn btn-info btn-flat">Send</button>
- </span>
- </div>
- </form>
- </div><!-- /.box-footer-->
- </div><!--/.direct-chat -->
- </div><!-- /.col -->
- </div><!-- /.row -->
- </section>
- <!-- ============================================================= -->
- <section id="plugins">
- <h2 class="page-header"><a href="#plugins">Plugins</a></h2>
- <p class="lead">AdminLTE makes use of the following plugins. For documentation, updates or license information, please visit the provided links.</p>
- <div class="row bring-up">
- <div class="col-sm-3">
- <ul class="list-unstyled">
- <li><h4>Charts</h4></li>
- <li><a href="http://www.chartjs.org/" target="_blank">ChartJS</a></li>
- <li><a href="http://www.flotcharts.org/" target="_blank">Flot</a></li>
- <li><a href="http://morrisjs.github.io/morris.js/" target="_blank">Morris.js</a></li>
- <li><a href="http://omnipotent.net/jquery.sparkline/" target="_blank">Sparkline</a></li>
- </ul>
- </div><!-- /.col -->
- <div class="col-sm-3">
- <ul class="list-unstyled">
- <li><h4>Form Elements</h4></li>
- <li><a href="https://github.com/seiyria/bootstrap-slider/">Bootstrap Slider</a></li>
- <li><a href="http://ionden.com/a/plugins/ion.rangeSlider/en.html" target="_blank">Ion Slider</a></li>
- <li><a href="http://bootstrap-datepicker.readthedocs.org/" target="_blank">Date Picker</a></li>
- <li><a href="http://www.daterangepicker.com/" target="_blank">Date Range Picker</a></li>
- <li><a href="http://mjolnic.com/bootstrap-colorpicker/" target="_blank">Color Picker</a></li>
- <li><a href="https://github.com/jdewit/bootstrap-timepicker/" target="_blank">Time Picker</a></li>
- <li><a href="http://fronteed.com/iCheck/" target="_blank">iCheck</a></li>
- <li><a href="https://github.com/RobinHerbots/jquery.inputmask/" target="_blank">Input Mask</a></li>
- </ul>
- </div><!-- /.col -->
- <div class="col-sm-3">
- <ul class="list-unstyled">
- <li><h4>Editors</h4></li>
- <li><a href="https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg/" target="_blank">Bootstrap WYSIHTML5</a></li>
- <li><a href="http://ckeditor.com/" target="_blank">CK Editor</a></li>
- </ul>
- </div><!-- /. col -->
- <div class="col-sm-3">
- <ul class="list-unstyled">
- <li><h4>Other</h4></li>
- <li><a href="https://datatables.net/examples/styling/bootstrap.html" target="_blank">DataTables</a></li>
- <li><a href="http://fullcalendar.io/" target="_blank">Full Calendar</a></li>
- <li><a href="http://jqueryui.com/" target="_blank">jQuery UI</a></li>
- <li><a href="http://anthonyterrien.com/knob/" target="_blank">jQuery Knob</a></li>
- <li><a href="http://jvectormap.com/" target="_blank">jVector Map</a></li>
- <li><a href="http://rocha.la/jQuery-slimScroll/" target="_blank">jQuery Slim Scroll</a></li>
- <li><a href="http://github.hubspot.com/pace/docs/welcome/" target="_blank">Pace</a></li>
- </ul>
- </div><!-- /.col -->
- </div><!-- /.row -->
- </section>
- <!-- ============================================================= -->
- <section id="browsers">
- <h2 class="page-header"><a href="#browsers">Browser Support</a></h2>
- <p class="lead">AdminLTE supports the following browsers:</p>
- <ul>
- <li>IE9+</li>
- <li>Firefox (latest)</li>
- <li>Safari (latest)</li>
- <li>Chrome (latest)</li>
- <li>Opera (latest)</li>
- </ul>
- <p><b>Note:</b> IE9 does not support transitions or animations. The template will function properly but it won't use animations/transitions on IE9.</p>
- </section>
- <!-- ============================================================= -->
- <section id="upgrade">
- <h2 class="page-header"><a href="#upgrade">Upgrade Guide</a></h2>
- <p class="lead">To upgrade from version 1.x to the lateset version, follow this guide.</p>
- <h3>New Files</h3>
- <p>Make sure you update all CSS and JS files that are related to AdminLTE. Otherwise, the layout will not
- function properly. Most important files are AdminLTE.css, skins CSS files, and app.js.</p>
- <h3>Layout Changes</h3>
- <ol>
- <li>The .wrapper div must be placed immediately after the body tag rather than after the header</li>
- <li>Change the .header div to .main-header <code><div class="main-header"></code></li>
- <li>Change the .right-side class to .content-wrapper <code><div class="content-wrapper"></code></li>
- <li>Change the .left-side class to .main-sidebar <code><div class="main-sidebar"></code></li>
- <li>In the navbar, change .navbar-right to .navbar-custom-menu <code><div class="navbar-custom-menu"></code></li>
- </ol>
- <h3>Navbar Custom Dropdown Menus</h3>
- <ol>
- <li>The icons in the notification menu do not need bg-* classes. They should be replaced with contextual text color class such as text-aqua or text-red.</li>
- </ol>
- <h3>Login, Registration and Lockscreen Pages</h3>
- <p>There are major changes to the HTML markup and style to these pages. The best way is to copy the page's code and customize it.</p>
- <p>And you should be set to go!</p>
- <h3>Mailbox</h3>
- <p>Mailbox got an upgrade to include three different views. The views are inbox, read mail, and compose new email. To use these views,
- you should use the provided HTML files in the pages/mailbox folder.</p>
- <p><b class="text-red">Note:</b> the old mailbox layout has been deprecated in favor of the new one and will be removed by the next release.</p>
- </section>
- <!-- ============================================================= -->
- <section id="implementations">
- <h2 class="page-header"><a href="#implementations">Implementations</a></h2>
- <p class="lead">Thanks to many of AdminLTE users, there are multiple implementations of the template
- for easy integration with back-end frameworks. The following are some of them:</p>
- <ul>
- <li><a href="https://github.com/mmdsharifi/AdminLTE-RTL">Persian RTL</a> by <a href="https://github.com/mmdsharifi">Mohammad Sharifi</a></li>
- <li><a href="https://github.com/dmstr/yii2-adminlte-asset" target="_blank">Yii 2</a> by <a href="https://github.com/schmunk42" target="_blank">Tobias Munk</a></li>
- <li><a href="https://github.com/yajra/laravel-admin-template" target="_blank">Laravel</a> by <a href="https://github.com/yajra" target="_blank">Arjay Angeles</a></li>
- <li><a href="https://github.com/acacha/adminlte-laravel" target="_blank">Laravel 5 package</a> by <a href="https://github.com/acacha" target="_blank">Sergi Tur Badenas</a></li>
- <li><a href="https://github.com/jeroennoten/Laravel-AdminLTE" target="_blank">Laravel-AdminLTE</a> by <a href="https://github.com/jeroennoten" target="_blank">Jeroen Noten</a></li>
- <li><a href="https://github.com/avanzu/AdminThemeBundle" target="_blank">Symfony</a> by <a href="https://github.com/avanzu" target="_blank">Marc Bach</a></li>
- <li>Rails gems: <a href="https://github.com/nicolas-besnard/adminlte2-rails" target="_blank">adminlte2-rails</a> by <a href="https://github.com/nicolas-besnard" target="_blank">Nicolas Besnard</a> and <a href="https://github.com/racketlogger/lte-rails" target="_blank">lte-rails</a> (using AdminLTE sources) by <a href="https://github.com/racketlogger" target="_blank">Carlos at RacketLogger</a></li>
- <li><a href="https://github.com/misterGF/CoPilot" target="_blank">CoPilot (AdminLTE with Vue.js)</a> by<a href="https://github.com/misterGF" target="_blank">Gil Ferreira</a></li>
- <li><a href="https://github.com/pi-hole/AdminLTE" target="_blank">pi-hole dashboard</a> by<a href="https://github.com/pi-hole" target="_blank">pi-hole</a></li>
- </ul>
- <p><b class="text-red">Note:</b> these implementations are not supported by Almsaeed Studio. However,
- they do provide a good example of how to integrate AdminLTE into different frameworks. For the latest release
- of AdminLTE, please visit our <a href="https://github.com/almasaeed2010/AdminLTE">repository</a> or <a href="https://adminlte.io">website</a></p>
- </section>
- <!-- ============================================================= -->
- <section id="faq">
- <h2 class="page-header"><a href="#faq">FAQ</a></h2>
- <h3>Can AdminLTE be used with Wordpress?</h3>
- <p class="lead">AdminLTE is an HTML template that can be used for any purpose. However, it is not made to be easily installed on Wordpress. It will require some effort and enough knowledge of the Wordpress script to do so.</p>
- <h3>Is there an integration guide for PHP frameworks such as Yii or Symfony?</h3>
- <p class="lead">Short answer, no. However, there are forks and tutorials around the web that provide info on how to integrate with many different frameworks. There are even versions of AdminLTE that are integrated with jQuery ajax, AngularJS and/or MVC5 ASP .NET.</p>
- <h3>How do I get notified of new AdminLTE versions?</h3>
- <p class="lead">The best option is to subscribe to our mailing list using the <a href="https://adminlte.io/#subscribe">subscription form on Almsaeed Studio</a>.
- If that's not appealing to you, you may watch the <a href="https://github.com/almasaeed2010/AdminLTE">repository on Github</a> or visit <a href="https://adminlte.io">Almsaeed Studio</a> every now and then for updates and announcements.</p>
- </section>
- <!-- ============================================================= -->
- <section id="license">
- <h2 class="page-header"><a href="#license">License</a></h2>
- <h3>AdminLTE</h3>
- <p class="lead">
- AdminLTE is an open source project that is licensed under the <a href="http://opensource.org/licenses/MIT">MIT license</a>.
- This allows you to do pretty much anything you want as long as you include
- the copyright in "all copies or substantial portions of the Software."
- Attribution is not required (though very much appreciated).
- </p>
- </section>
- </div><!-- /.content -->
- </div><!-- /.content-wrapper -->
- <footer class="main-footer">
- <div class="pull-right hidden-xs">
- <b>Version</b> 2.3.12
- </div>
- <strong>Copyright © 2014-2016 <a href="https://adminlte.io">Almsaeed Studio</a>.</strong> All rights
- reserved.
- </footer>
- <!-- Control Sidebar -->
- <aside class="control-sidebar control-sidebar-dark">
- <!-- Create the tabs -->
- <div class="pad">
- This is an example of the control sidebar.
- </div>
- </aside><!-- /.control-sidebar -->
- <!-- Add the sidebar's background. This div must be placed
- immediately after the control sidebar -->
- <div class="control-sidebar-bg"></div>
- </div><!-- ./wrapper -->
- <!-- jQuery 3 -->
- <script src="../bower_components/jquery/dist/jquery.min.js"></script>
- <!-- Bootstrap 3.3.7 -->
- <script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
- <!-- FastClick -->
- <script src="../plugins/fastclick/fastclick.min.js"></script>
- <!-- AdminLTE App -->
- <script src="../dist/js/adminlte.min.js"></script>
- <!-- SlimScroll -->
- <script src="../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
- <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
- <script src="docs.js"></script>
- </body>
- </html>
|