代码拉取完成,页面将自动刷新
同步操作将从 legoubaba/project_249880 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>Inbox - Ace Admin</title>
<meta name="description" content="Mailbox with some customizations as described in docs" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" />
<!-- page specific plugin styles -->
<!-- text fonts -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />
<!-- ace styles -->
<link rel="stylesheet" href="assets/css/ace.min.css" />
<!--[if lte IE 9]>
<link rel="stylesheet" href="assets/css/ace-part2.min.css" />
<![endif]-->
<link rel="stylesheet" href="assets/css/ace-skins.min.css" />
<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
<!--[if lte IE 9]>
<link rel="stylesheet" href="assets/css/ace-ie.min.css" />
<![endif]-->
<!-- inline styles related to this page -->
<!-- ace settings handler -->
<script src="assets/js/ace-extra.min.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lte IE 8]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body class="no-skin">
<div id="navbar" class="navbar navbar-default">
<script type="text/javascript">
try{ace.settings.check('navbar' , 'fixed')}catch(e){}
</script>
<div class="navbar-container" id="navbar-container">
<button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler">
<span class="sr-only">Toggle sidebar</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-header pull-left">
<a href="#" class="navbar-brand">
<small>
<i class="fa fa-leaf"></i>
Ace Admin
</small>
</a>
</div>
<div class="navbar-buttons navbar-header pull-right" role="navigation">
<ul class="nav ace-nav">
<li class="grey">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="ace-icon fa fa-tasks"></i>
<span class="badge badge-grey">4</span>
</a>
<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
<li class="dropdown-header">
<i class="ace-icon fa fa-check"></i>
4 Tasks to complete
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Software Update</span>
<span class="pull-right">65%</span>
</div>
<div class="progress progress-mini">
<div style="width:65%" class="progress-bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Hardware Upgrade</span>
<span class="pull-right">35%</span>
</div>
<div class="progress progress-mini">
<div style="width:35%" class="progress-bar progress-bar-danger"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Unit Testing</span>
<span class="pull-right">15%</span>
</div>
<div class="progress progress-mini">
<div style="width:15%" class="progress-bar progress-bar-warning"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Bug Fixes</span>
<span class="pull-right">90%</span>
</div>
<div class="progress progress-mini progress-striped active">
<div style="width:90%" class="progress-bar progress-bar-success"></div>
</div>
</a>
</li>
<li class="dropdown-footer">
<a href="#">
See tasks with details
<i class="ace-icon fa fa-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="purple">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="ace-icon fa fa-bell icon-animated-bell"></i>
<span class="badge badge-important">8</span>
</a>
<ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
<li class="dropdown-header">
<i class="ace-icon fa fa-exclamation-triangle"></i>
8 Notifications
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-xs no-hover btn-pink fa fa-comment"></i>
New Comments
</span>
<span class="pull-right badge badge-info">+12</span>
</div>
</a>
</li>
<li>
<a href="#">
<i class="btn btn-xs btn-primary fa fa-user"></i>
Bob just signed up as an editor ...
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-xs no-hover btn-success fa fa-shopping-cart"></i>
New Orders
</span>
<span class="pull-right badge badge-success">+8</span>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-xs no-hover btn-info fa fa-twitter"></i>
Followers
</span>
<span class="pull-right badge badge-info">+11</span>
</div>
</a>
</li>
<li class="dropdown-footer">
<a href="#">
See all notifications
<i class="ace-icon fa fa-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="green">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="ace-icon fa fa-envelope icon-animated-vertical"></i>
<span class="badge badge-success">5</span>
</a>
<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
<li class="dropdown-header">
<i class="ace-icon fa fa-envelope-o"></i>
5 Messages
</li>
<li class="dropdown-content">
<ul class="dropdown-menu dropdown-navbar">
<li>
<a href="#">
<img src="assets/avatars/avatar.png" class="msg-photo" alt="Alex's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Alex:</span>
Ciao sociis natoque penatibus et auctor ...
</span>
<span class="msg-time">
<i class="ace-icon fa fa-clock-o"></i>
<span>a moment ago</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar3.png" class="msg-photo" alt="Susan's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Susan:</span>
Vestibulum id ligula porta felis euismod ...
</span>
<span class="msg-time">
<i class="ace-icon fa fa-clock-o"></i>
<span>20 minutes ago</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar4.png" class="msg-photo" alt="Bob's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Bob:</span>
Nullam quis risus eget urna mollis ornare ...
</span>
<span class="msg-time">
<i class="ace-icon fa fa-clock-o"></i>
<span>3:15 pm</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar2.png" class="msg-photo" alt="Kate's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Kate:</span>
Ciao sociis natoque eget urna mollis ornare ...
</span>
<span class="msg-time">
<i class="ace-icon fa fa-clock-o"></i>
<span>1:33 pm</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar5.png" class="msg-photo" alt="Fred's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Fred:</span>
Vestibulum id penatibus et auctor ...
</span>
<span class="msg-time">
<i class="ace-icon fa fa-clock-o"></i>
<span>10:09 am</span>
</span>
</span>
</a>
</li>
</ul>
</li>
<li class="dropdown-footer">
<a href="inbox.html">
See all messages
<i class="ace-icon fa fa-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="light-blue">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<img class="nav-user-photo" src="assets/avatars/user.jpg" alt="Jason's Photo" />
<span class="user-info">
<small>Welcome,</small>
Jason
</span>
<i class="ace-icon fa fa-caret-down"></i>
</a>
<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
<li>
<a href="#">
<i class="ace-icon fa fa-cog"></i>
Settings
</a>
</li>
<li>
<a href="profile.html">
<i class="ace-icon fa fa-user"></i>
Profile
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="ace-icon fa fa-power-off"></i>
Logout
</a>
</li>
</ul>
</li>
</ul>
</div>
</div><!-- /.navbar-container -->
</div>
<div class="main-container" id="main-container">
<script type="text/javascript">
try{ace.settings.check('main-container' , 'fixed')}catch(e){}
</script>
<div id="sidebar" class="sidebar responsive">
<script type="text/javascript">
try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
</script>
<div class="sidebar-shortcuts" id="sidebar-shortcuts">
<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
<button class="btn btn-success">
<i class="ace-icon fa fa-signal"></i>
</button>
<button class="btn btn-info">
<i class="ace-icon fa fa-pencil"></i>
</button>
<button class="btn btn-warning">
<i class="ace-icon fa fa-users"></i>
</button>
<button class="btn btn-danger">
<i class="ace-icon fa fa-cogs"></i>
</button>
</div>
<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
<span class="btn btn-success"></span>
<span class="btn btn-info"></span>
<span class="btn btn-warning"></span>
<span class="btn btn-danger"></span>
</div>
</div><!-- /.sidebar-shortcuts -->
<ul class="nav nav-list">
<li class="">
<a href="index.html">
<i class="menu-icon fa fa-tachometer"></i>
<span class="menu-text"> Dashboard </span>
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-desktop"></i>
<span class="menu-text"> UI & Elements </span>
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-caret-right"></i>
Layouts
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="top-menu.html">
<i class="menu-icon fa fa-caret-right"></i>
Top Menu
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="mobile-menu-1.html">
<i class="menu-icon fa fa-caret-right"></i>
Default Mobile Menu
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="mobile-menu-2.html">
<i class="menu-icon fa fa-caret-right"></i>
Mobile Menu 2
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="mobile-menu-3.html">
<i class="menu-icon fa fa-caret-right"></i>
Mobile Menu 3
</a>
<b class="arrow"></b>
</li>
</ul>
</li>
<li class="">
<a href="typography.html">
<i class="menu-icon fa fa-caret-right"></i>
Typography
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="elements.html">
<i class="menu-icon fa fa-caret-right"></i>
Elements
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="buttons.html">
<i class="menu-icon fa fa-caret-right"></i>
Buttons & Icons
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="treeview.html">
<i class="menu-icon fa fa-caret-right"></i>
Treeview
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="jquery-ui.html">
<i class="menu-icon fa fa-caret-right"></i>
jQuery UI
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="nestable-list.html">
<i class="menu-icon fa fa-caret-right"></i>
Nestable Lists
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-caret-right"></i>
Three Level Menu
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="#">
<i class="menu-icon fa fa-leaf"></i>
Item #1
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-pencil"></i>
4th level
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="#">
<i class="menu-icon fa fa-plus"></i>
Add Product
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="#">
<i class="menu-icon fa fa-eye"></i>
View Products
</a>
<b class="arrow"></b>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-list"></i>
<span class="menu-text"> Tables </span>
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="tables.html">
<i class="menu-icon fa fa-caret-right"></i>
Simple & Dynamic
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="jqgrid.html">
<i class="menu-icon fa fa-caret-right"></i>
jqGrid plugin
</a>
<b class="arrow"></b>
</li>
</ul>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-pencil-square-o"></i>
<span class="menu-text"> Forms </span>
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="form-elements.html">
<i class="menu-icon fa fa-caret-right"></i>
Form Elements
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="form-wizard.html">
<i class="menu-icon fa fa-caret-right"></i>
Wizard & Validation
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="wysiwyg.html">
<i class="menu-icon fa fa-caret-right"></i>
Wysiwyg & Markdown
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="dropzone.html">
<i class="menu-icon fa fa-caret-right"></i>
Dropzone File Upload
</a>
<b class="arrow"></b>
</li>
</ul>
</li>
<li class="">
<a href="widgets.html">
<i class="menu-icon fa fa-list-alt"></i>
<span class="menu-text"> Widgets </span>
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="calendar.html">
<i class="menu-icon fa fa-calendar"></i>
<span class="menu-text">
Calendar
<span class="badge badge-transparent tooltip-error" title="2 Important Events">
<i class="ace-icon fa fa-exclamation-triangle red bigger-130"></i>
</span>
</span>
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="gallery.html">
<i class="menu-icon fa fa-picture-o"></i>
<span class="menu-text"> Gallery </span>
</a>
<b class="arrow"></b>
</li>
<li class="active open">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-tag"></i>
<span class="menu-text"> More Pages </span>
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="profile.html">
<i class="menu-icon fa fa-caret-right"></i>
User Profile
</a>
<b class="arrow"></b>
</li>
<li class="active">
<a href="inbox.html">
<i class="menu-icon fa fa-caret-right"></i>
Inbox
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="pricing.html">
<i class="menu-icon fa fa-caret-right"></i>
Pricing Tables
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="invoice.html">
<i class="menu-icon fa fa-caret-right"></i>
Invoice
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="timeline.html">
<i class="menu-icon fa fa-caret-right"></i>
Timeline
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="login.html">
<i class="menu-icon fa fa-caret-right"></i>
Login & Register
</a>
<b class="arrow"></b>
</li>
</ul>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="menu-icon fa fa-file-o"></i>
<span class="menu-text">
Other Pages
<span class="badge badge-primary">5</span>
</span>
<b class="arrow fa fa-angle-down"></b>
</a>
<b class="arrow"></b>
<ul class="submenu">
<li class="">
<a href="faq.html">
<i class="menu-icon fa fa-caret-right"></i>
FAQ
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="error-404.html">
<i class="menu-icon fa fa-caret-right"></i>
Error 404
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="error-500.html">
<i class="menu-icon fa fa-caret-right"></i>
Error 500
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="grid.html">
<i class="menu-icon fa fa-caret-right"></i>
Grid
</a>
<b class="arrow"></b>
</li>
<li class="">
<a href="blank.html">
<i class="menu-icon fa fa-caret-right"></i>
Blank Page
</a>
<b class="arrow"></b>
</li>
</ul>
</li>
</ul><!-- /.nav-list -->
<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
</div>
<script type="text/javascript">
try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
</script>
</div>
<div class="main-content">
<div class="breadcrumbs" id="breadcrumbs">
<script type="text/javascript">
try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
</script>
<ul class="breadcrumb">
<li>
<i class="ace-icon fa fa-home home-icon"></i>
<a href="#">Home</a>
</li>
<li>
<a href="#">More Pages</a>
</li>
<li class="active">Inbox</li>
</ul><!-- /.breadcrumb -->
<div class="nav-search" id="nav-search">
<form class="form-search">
<span class="input-icon">
<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
<i class="ace-icon fa fa-search nav-search-icon"></i>
</span>
</form>
</div><!-- /.nav-search -->
</div>
<div class="page-content">
<div class="ace-settings-container" id="ace-settings-container">
<div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
<i class="ace-icon fa fa-cog bigger-150"></i>
</div>
<div class="ace-settings-box clearfix" id="ace-settings-box">
<div class="pull-left width-50">
<div class="ace-settings-item">
<div class="pull-left">
<select id="skin-colorpicker" class="hide">
<option data-skin="no-skin" value="#438EB9">#438EB9</option>
<option data-skin="skin-1" value="#222A2D">#222A2D</option>
<option data-skin="skin-2" value="#C6487E">#C6487E</option>
<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
</select>
</div>
<span> Choose Skin</span>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar" />
<label class="lbl" for="ace-settings-navbar"> Fixed Navbar</label>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
<label class="lbl" for="ace-settings-sidebar"> Fixed Sidebar</label>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs" />
<label class="lbl" for="ace-settings-breadcrumbs"> Fixed Breadcrumbs</label>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
<label class="lbl" for="ace-settings-rtl"> Right To Left (rtl)</label>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
<label class="lbl" for="ace-settings-add-container">
Inside
<b>.container</b>
</label>
</div>
</div><!-- /.pull-left -->
<div class="pull-left width-50">
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-hover" />
<label class="lbl" for="ace-settings-hover"> Submenu on Hover</label>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-compact" />
<label class="lbl" for="ace-settings-compact"> Compact Sidebar</label>
</div>
<div class="ace-settings-item">
<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-highlight" />
<label class="lbl" for="ace-settings-highlight"> Alt. Active Item</label>
</div>
</div><!-- /.pull-left -->
</div><!-- /.ace-settings-box -->
</div><!-- /.ace-settings-container -->
<div class="page-header">
<h1>
Inbox
<small>
<i class="ace-icon fa fa-angle-double-right"></i>
Mailbox with some customizations as described in docs
</small>
</h1>
</div><!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
<!-- PAGE CONTENT BEGINS -->
<div class="row">
<div class="col-xs-12">
<div class="tabbable">
<ul id="inbox-tabs" class="inbox-tabs nav nav-tabs padding-16 tab-size-bigger tab-space-1">
<li class="li-new-mail pull-right">
<a data-toggle="tab" href="#write" data-target="write" class="btn-new-mail">
<span class="btn btn-purple no-border">
<i class="ace-icon fa fa-envelope bigger-130"></i>
<span class="bigger-110">Write Mail</span>
</span>
</a>
</li><!-- /.li-new-mail -->
<li class="active">
<a data-toggle="tab" href="#inbox" data-target="inbox">
<i class="blue ace-icon fa fa-inbox bigger-130"></i>
<span class="bigger-110">Inbox</span>
</a>
</li>
<li>
<a data-toggle="tab" href="#sent" data-target="sent">
<i class="orange ace-icon fa fa-location-arrow bigger-130"></i>
<span class="bigger-110">Sent</span>
</a>
</li>
<li>
<a data-toggle="tab" href="#draft" data-target="draft">
<i class="green ace-icon fa fa-pencil bigger-130"></i>
<span class="bigger-110">Draft</span>
</a>
</li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="pink ace-icon fa fa-tags bigger-130"></i>
<span class="bigger-110">
Tags
<i class="ace-icon fa fa-caret-down"></i>
</span>
</a>
<ul class="dropdown-menu dropdown-light-blue dropdown-125">
<li>
<a data-toggle="tab" href="#tag-1">
<span class="mail-tag badge badge-pink"></span>
<span class="pink">Tag#1</span>
</a>
</li>
<li>
<a data-toggle="tab" href="#tag-family">
<span class="mail-tag badge badge-success"></span>
<span class="green">Family</span>
</a>
</li>
<li>
<a data-toggle="tab" href="#tag-friends">
<span class="mail-tag badge badge-info"></span>
<span class="blue">Friends</span>
</a>
</li>
<li>
<a data-toggle="tab" href="#tag-work">
<span class="mail-tag badge badge-grey"></span>
<span class="grey">Work</span>
</a>
</li>
</ul>
</li><!-- /.dropdown -->
</ul>
<div class="tab-content no-border no-padding">
<div id="inbox" class="tab-pane in active">
<div class="message-container">
<div id="id-message-list-navbar" class="message-navbar clearfix">
<div class="message-bar">
<div class="message-infobar" id="id-message-infobar">
<span class="blue bigger-150">Inbox</span>
<span class="grey bigger-110">(2 unread messages)</span>
</div>
<div class="message-toolbar hide">
<div class="inline position-relative align-left">
<button type="button" class="btn-white btn-primary btn btn-xs dropdown-toggle" data-toggle="dropdown">
<span class="bigger-110">Action</span>
<i class="ace-icon fa fa-caret-down icon-on-right"></i>
</button>
<ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
<li>
<a href="#">
<i class="ace-icon fa fa-mail-reply blue"></i> Reply
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-mail-forward green"></i> Forward
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-folder-open orange"></i> Archive
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="ace-icon fa fa-eye blue"></i> Mark as read
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-eye-slash green"></i> Mark unread
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-flag-o red"></i> Flag
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="ace-icon fa fa-trash-o red bigger-110"></i> Delete
</a>
</li>
</ul>
</div>
<div class="inline position-relative align-left">
<button type="button" class="btn-white btn-primary btn btn-xs dropdown-toggle" data-toggle="dropdown">
<i class="ace-icon fa fa-folder-o bigger-110 blue"></i>
<span class="bigger-110">Move to</span>
<i class="ace-icon fa fa-caret-down icon-on-right"></i>
</button>
<ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
<li>
<a href="#">
<i class="ace-icon fa fa-stop pink2"></i> Tag#1
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-stop blue"></i> Family
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-stop green"></i> Friends
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-stop grey"></i> Work
</a>
</li>
</ul>
</div>
<button type="button" class="btn btn-xs btn-white btn-primary">
<i class="ace-icon fa fa-trash-o bigger-125 orange"></i>
<span class="bigger-110">Delete</span>
</button>
</div>
</div>
<div>
<div class="messagebar-item-left">
<label class="inline middle">
<input type="checkbox" id="id-toggle-all" class="ace" />
<span class="lbl"></span>
</label>
<div class="inline position-relative">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
<i class="ace-icon fa fa-caret-down bigger-125 middle"></i>
</a>
<ul class="dropdown-menu dropdown-lighter dropdown-100">
<li>
<a id="id-select-message-all" href="#">All</a>
</li>
<li>
<a id="id-select-message-none" href="#">None</a>
</li>
<li class="divider"></li>
<li>
<a id="id-select-message-unread" href="#">Unread</a>
</li>
<li>
<a id="id-select-message-read" href="#">Read</a>
</li>
</ul>
</div>
</div>
<div class="messagebar-item-right">
<div class="inline position-relative">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
Sort
<i class="ace-icon fa fa-caret-down bigger-125"></i>
</a>
<ul class="dropdown-menu dropdown-lighter dropdown-menu-right dropdown-100">
<li>
<a href="#">
<i class="ace-icon fa fa-check green"></i>
Date
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-check invisible"></i>
From
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-check invisible"></i>
Subject
</a>
</li>
</ul>
</div>
</div>
<div class="nav-search minimized">
<form class="form-search">
<span class="input-icon">
<input type="text" autocomplete="off" class="input-small nav-search-input" placeholder="Search inbox ..." />
<i class="ace-icon fa fa-search nav-search-icon"></i>
</span>
</form>
</div>
</div>
</div>
<div id="id-message-item-navbar" class="hide message-navbar clearfix">
<div class="message-bar">
<div class="message-toolbar">
<div class="inline position-relative align-left">
<button type="button" class="btn-white btn-primary btn btn-xs dropdown-toggle" data-toggle="dropdown">
<span class="bigger-110">Action</span>
<i class="ace-icon fa fa-caret-down icon-on-right"></i>
</button>
<ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
<li>
<a href="#">
<i class="ace-icon fa fa-mail-reply blue"></i> Reply
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-mail-forward green"></i> Forward
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-folder-open orange"></i> Archive
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="ace-icon fa fa-eye blue"></i> Mark as read
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-eye-slash green"></i> Mark unread
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-flag-o red"></i> Flag
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="ace-icon fa fa-trash-o red bigger-110"></i> Delete
</a>
</li>
</ul>
</div>
<div class="inline position-relative align-left">
<button type="button" class="btn-white btn-primary btn btn-xs dropdown-toggle" data-toggle="dropdown">
<i class="ace-icon fa fa-folder-o bigger-110 blue"></i>
<span class="bigger-110">Move to</span>
<i class="ace-icon fa fa-caret-down icon-on-right"></i>
</button>
<ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
<li>
<a href="#">
<i class="ace-icon fa fa-stop pink2"></i> Tag#1
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-stop blue"></i> Family
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-stop green"></i> Friends
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-stop grey"></i> Work
</a>
</li>
</ul>
</div>
<button type="button" class="btn btn-xs btn-white btn-primary">
<i class="ace-icon fa fa-trash-o bigger-125 orange"></i>
<span class="bigger-110">Delete</span>
</button>
</div>
</div>
<div>
<div class="messagebar-item-left">
<a href="#" class="btn-back-message-list">
<i class="ace-icon fa fa-arrow-left blue bigger-110 middle"></i>
<b class="bigger-110 middle">Back</b>
</a>
</div>
<div class="messagebar-item-right">
<i class="ace-icon fa fa-clock-o bigger-110 orange"></i>
<span class="grey">Today, 7:15 pm</span>
</div>
</div>
</div>
<div id="id-message-new-navbar" class="hide message-navbar clearfix">
<div class="message-bar">
<div class="message-toolbar">
<button type="button" class="btn btn-xs btn-white btn-primary">
<i class="ace-icon fa fa-floppy-o bigger-125"></i>
<span class="bigger-110">Save Draft</span>
</button>
<button type="button" class="btn btn-xs btn-white btn-primary">
<i class="ace-icon fa fa-times bigger-125 orange2"></i>
<span class="bigger-110">Discard</span>
</button>
</div>
</div>
<div>
<div class="messagebar-item-left">
<a href="#" class="btn-back-message-list">
<i class="ace-icon fa fa-arrow-left bigger-110 middle blue"></i>
<b class="middle bigger-110">Back</b>
</a>
</div>
<div class="messagebar-item-right">
<span class="inline btn-send-message">
<button type="button" class="btn btn-sm btn-primary no-border btn-white btn-round">
<span class="bigger-110">Send</span>
<i class="ace-icon fa fa-arrow-right icon-on-right"></i>
</button>
</span>
</div>
</div>
</div>
<div class="message-list-container">
<div class="message-list" id="message-list">
<div class="message-item message-unread">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star orange2"></i>
<span class="sender" title="Alex John Red Smith">Alex John Red Smith </span>
<span class="time">1:33 pm</span>
<span class="summary">
<span class="text">
Click to open this message
</span>
</span>
</div>
<div class="message-item message-unread">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="John Doe">
John Doe
<span class="light-grey">(4)</span>
</span>
<span class="time">7:15 pm</span>
<span class="attachment">
<i class="ace-icon fa fa-paperclip"></i>
</span>
<span class="summary">
<span class="badge badge-pink mail-tag"></span>
<span class="text">
Clik to open this message right here
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Philip Markov">Philip Markov </span>
<span class="time">10:15 am</span>
<span class="attachment">
<i class="ace-icon fa fa-paperclip"></i>
</span>
<span class="summary">
<span class="message-flags">
<i class="ace-icon fa fa-reply light-grey"></i>
</span>
<span class="text">
Photo booth beard raw denim letterpress vegan
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star orange2"></i>
<span class="sender" title="Sabrina">Sabrina </span>
<span class="time">Yesterday</span>
<span class="summary">
<span class="text">
Nullam quis risus eget urna mollis ornare
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Philip Markov">Philip Markov </span>
<span class="time">Yesterday</span>
<span class="attachment">
<i class="ace-icon fa fa-paperclip"></i>
</span>
<span class="summary">
<span class="badge badge-success mail-tag"></span>
<span class="text">
Vestibulum id ligula porta felis euismod
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Doctor Gomenz">Doctor Gomenz </span>
<span class="time">April 5</span>
<span class="summary">
<span class="text">
Vim te vivendo convenire, summo fuisset
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Robin Hood">Robin Hood </span>
<span class="time">April 4</span>
<span class="summary">
<span class="message-flags">
<i class="ace-icon fa fa-reply light-grey"></i>
</span>
<span class="text">
No eos veniam equidem mentitum, his porro
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Google Inc">Google Inc </span>
<span class="time">April 3</span>
<span class="summary">
<span class="badge badge-grey mail-tag"></span>
<span class="text">
Convallis facilisis euismod urna sodales
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Shrek">Shrek </span>
<span class="time">March 28</span>
<span class="attachment">
<i class="ace-icon fa fa-paperclip"></i>
</span>
<span class="summary">
<span class="message-flags">
<i class="ace-icon fa fa-flag fa-flip-horizontal light-grey"></i>
</span>
<span class="text">
Photo booth beard raw denim letterpress vegan messenger
</span>
</span>
</div>
<div class="message-item">
<label class="inline">
<input type="checkbox" class="ace" />
<span class="lbl"></span>
</label>
<i class="message-star ace-icon fa fa-star-o light-grey"></i>
<span class="sender" title="Yahoo!">Yahoo! </span>
<span class="time">March 27</span>
<span class="summary">
<span class="message-flags">
<i class="ace-icon fa fa-mail-forward light-grey"></i>
</span>
<span class="text">
Tofu biodiesel williamsburg marfa, four loko mcsweeney
</span>
</span>
</div>
</div>
</div>
<div class="message-footer clearfix">
<div class="pull-left"> 151 messages total </div>
<div class="pull-right">
<div class="inline middle"> page 1 of 16 </div>
<ul class="pagination middle">
<li class="disabled">
<span>
<i class="ace-icon fa fa-step-backward middle"></i>
</span>
</li>
<li class="disabled">
<span>
<i class="ace-icon fa fa-caret-left bigger-140 middle"></i>
</span>
</li>
<li>
<span>
<input value="1" maxlength="3" type="text" />
</span>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-caret-right bigger-140 middle"></i>
</a>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-step-forward middle"></i>
</a>
</li>
</ul>
</div>
</div>
<div class="hide message-footer message-footer-style2 clearfix">
<div class="pull-left"> simpler footer </div>
<div class="pull-right">
<div class="inline middle"> message 1 of 151 </div>
<ul class="pagination middle">
<li class="disabled">
<span>
<i class="ace-icon fa fa-angle-left bigger-150"></i>
</span>
</li>
<li>
<a href="#">
<i class="ace-icon fa fa-angle-right bigger-150"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div><!-- /.tab-content -->
</div><!-- /.tabbable -->
</div><!-- /.col -->
</div><!-- /.row -->
<form id="id-message-form" class="hide form-horizontal message-form col-xs-12">
<div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right" for="form-field-recipient">Recipient:</label>
<div class="col-sm-9">
<span class="input-icon">
<input type="email" name="recipient" id="form-field-recipient" data-value="alex@doe.com" value="alex@doe.com" placeholder="Recipient(s)" />
<i class="ace-icon fa fa-user"></i>
</span>
</div>
</div>
<div class="hr hr-18 dotted"></div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right" for="form-field-subject">Subject:</label>
<div class="col-sm-6 col-xs-12">
<div class="input-icon block col-xs-12 no-padding">
<input maxlength="100" type="text" class="col-xs-12" name="subject" id="form-field-subject" placeholder="Subject" />
<i class="ace-icon fa fa-comment-o"></i>
</div>
</div>
</div>
<div class="hr hr-18 dotted"></div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right">
<span class="inline space-24 hidden-480"></span>
Message:
</label>
<div class="col-sm-9">
<div class="wysiwyg-editor"></div>
</div>
</div>
<div class="hr hr-18 dotted"></div>
<div class="form-group no-margin-bottom">
<label class="col-sm-3 control-label no-padding-right">Attachments:</label>
<div class="col-sm-9">
<div id="form-attachments">
<input type="file" name="attachment[]" />
</div>
</div>
</div>
<div class="align-right">
<button id="id-add-attachment" type="button" class="btn btn-sm btn-danger">
<i class="ace-icon fa fa-paperclip bigger-140"></i>
Add Attachment
</button>
</div>
<div class="space"></div>
</div>
</form>
<div class="hide message-content" id="id-message-content">
<div class="message-header clearfix">
<div class="pull-left">
<span class="blue bigger-125"> Clik to open this message </span>
<div class="space-4"></div>
<i class="ace-icon fa fa-star orange2"></i>
<img class="middle" alt="John's Avatar" src="assets/avatars/avatar.png" width="32" />
<a href="#" class="sender">John Doe</a>
<i class="ace-icon fa fa-clock-o bigger-110 orange middle"></i>
<span class="time grey">Today, 7:15 pm</span>
</div>
<div class="pull-right action-buttons">
<a href="#">
<i class="ace-icon fa fa-reply green icon-only bigger-130"></i>
</a>
<a href="#">
<i class="ace-icon fa fa-mail-forward blue icon-only bigger-130"></i>
</a>
<a href="#">
<i class="ace-icon fa fa-trash-o red icon-only bigger-130"></i>
</a>
</div>
</div>
<div class="hr hr-double"></div>
<div class="message-body">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
<p>
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p>
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
<p>
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p>
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
<p>
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
</div>
<div class="hr hr-double"></div>
<div class="message-attachment clearfix">
<div class="attachment-title">
<span class="blue bolder bigger-110">Attachments</span>
<span class="grey">(2 files, 4.5 MB)</span>
<div class="inline position-relative">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
<i class="ace-icon fa fa-caret-down bigger-125 middle"></i>
</a>
<ul class="dropdown-menu dropdown-lighter">
<li>
<a href="#">Download all as zip</a>
</li>
<li>
<a href="#">Display in slideshow</a>
</li>
</ul>
</div>
</div>
<ul class="attachment-list pull-left list-unstyled">
<li>
<a href="#" class="attached-file">
<i class="ace-icon fa fa-file-o bigger-110"></i>
<span class="attached-name">Document1.pdf</span>
</a>
<span class="action-buttons">
<a href="#">
<i class="ace-icon fa fa-download bigger-125 blue"></i>
</a>
<a href="#">
<i class="ace-icon fa fa-trash-o bigger-125 red"></i>
</a>
</span>
</li>
<li>
<a href="#" class="attached-file">
<i class="ace-icon fa fa-film bigger-110"></i>
<span class="attached-name">Sample.mp4</span>
</a>
<span class="action-buttons">
<a href="#">
<i class="ace-icon fa fa-download bigger-125 blue"></i>
</a>
<a href="#">
<i class="ace-icon fa fa-trash-o bigger-125 red"></i>
</a>
</span>
</li>
</ul>
<div class="attachment-images pull-right">
<div class="vspace-4-sm"></div>
<div>
<img width="36" alt="image 4" src="assets/images/gallery/thumb-4.jpg" />
<img width="36" alt="image 3" src="assets/images/gallery/thumb-3.jpg" />
<img width="36" alt="image 2" src="assets/images/gallery/thumb-2.jpg" />
<img width="36" alt="image 1" src="assets/images/gallery/thumb-1.jpg" />
</div>
</div>
</div>
</div><!-- /.message-content -->
<!-- PAGE CONTENT ENDS -->
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.page-content -->
</div><!-- /.main-content -->
<div class="footer">
<div class="footer-inner">
<div class="footer-content">
<span class="bigger-120">
<span class="blue bolder">Ace</span>
Application © 2013-2014
</span>
<span class="action-buttons">
<a href="#">
<i class="ace-icon fa fa-twitter-square light-blue bigger-150"></i>
</a>
<a href="#">
<i class="ace-icon fa fa-facebook-square text-primary bigger-150"></i>
</a>
<a href="#">
<i class="ace-icon fa fa-rss-square orange bigger-150"></i>
</a>
</span>
</div>
</div>
</div>
<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
</a>
</div><!-- /.main-container -->
<!-- basic scripts -->
<!--[if !IE]> -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<!-- <![endif]-->
<!--[if IE]>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<![endif]-->
<!--[if !IE]> -->
<script type="text/javascript">
window.jQuery || document.write("<script src='assets/js/jquery.min.js'>"+"<"+"/script>");
</script>
<!-- <![endif]-->
<!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='assets/js/jquery1x.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
<script type="text/javascript">
if('ontouchstart' in document.documentElement) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- page specific plugin scripts -->
<script src="assets/js/bootstrap-tag.min.js"></script>
<script src="assets/js/jquery.hotkeys.min.js"></script>
<script src="assets/js/bootstrap-wysiwyg.min.js"></script>
<script src="assets/js/jquery-ui.custom.min.js"></script>
<script src="assets/js/jquery.ui.touch-punch.min.js"></script>
<script src="assets/js/jquery.slimscroll.min.js"></script>
<!-- ace scripts -->
<script src="assets/js/ace-elements.min.js"></script>
<script src="assets/js/ace.min.js"></script>
<!-- inline scripts related to this page -->
<script type="text/javascript">
jQuery(function($){
//handling tabs and loading/displaying relevant messages and forms
//not needed if using the alternative view, as described in docs
$('#inbox-tabs a[data-toggle="tab"]').on('show.bs.tab', function (e) {
var currentTab = $(e.target).data('target');
if(currentTab == 'write') {
Inbox.show_form();
}
else if(currentTab == 'inbox') {
Inbox.show_list();
}
})
//basic initializations
$('.message-list .message-item input[type=checkbox]').removeAttr('checked');
$('.message-list').on('click', '.message-item input[type=checkbox]' , function() {
$(this).closest('.message-item').toggleClass('selected');
if(this.checked) Inbox.display_bar(1);//display action toolbar when a message is selected
else {
Inbox.display_bar($('.message-list input[type=checkbox]:checked').length);
//determine number of selected messages and display/hide action toolbar accordingly
}
});
//check/uncheck all messages
$('#id-toggle-all').removeAttr('checked').on('click', function(){
if(this.checked) {
Inbox.select_all();
} else Inbox.select_none();
});
//select all
$('#id-select-message-all').on('click', function(e) {
e.preventDefault();
Inbox.select_all();
});
//select none
$('#id-select-message-none').on('click', function(e) {
e.preventDefault();
Inbox.select_none();
});
//select read
$('#id-select-message-read').on('click', function(e) {
e.preventDefault();
Inbox.select_read();
});
//select unread
$('#id-select-message-unread').on('click', function(e) {
e.preventDefault();
Inbox.select_unread();
});
/////////
//display first message in a new area
$('.message-list .message-item:eq(0) .text').on('click', function() {
//show the loading icon
$('.message-container').append('<div class="message-loading-overlay"><i class="fa-spin ace-icon fa fa-spinner orange2 bigger-160"></i></div>');
$('.message-inline-open').removeClass('message-inline-open').find('.message-content').remove();
var message_list = $(this).closest('.message-list');
$('#inbox-tabs a[href="#inbox"]').parent().removeClass('active');
//some waiting
setTimeout(function() {
//hide everything that is after .message-list (which is either .message-content or .message-form)
message_list.next().addClass('hide');
$('.message-container').find('.message-loading-overlay').remove();
//close and remove the inline opened message if any!
//hide all navbars
$('.message-navbar').addClass('hide');
//now show the navbar for single message item
$('#id-message-item-navbar').removeClass('hide');
//hide all footers
$('.message-footer').addClass('hide');
//now show the alternative footer
$('.message-footer-style2').removeClass('hide');
//move .message-content next to .message-list and hide .message-list
$('.message-content').removeClass('hide').insertAfter(message_list.addClass('hide'));
//add scrollbars to .message-body
$('.message-content .message-body').ace_scroll({
size: 150,
mouseWheelLock: true,
styleClass: 'scroll-visible'
});
}, 500 + parseInt(Math.random() * 500));
});
//display second message right inside the message list
$('.message-list .message-item:eq(1) .text').on('click', function(){
var message = $(this).closest('.message-item');
//if message is open, then close it
if(message.hasClass('message-inline-open')) {
message.removeClass('message-inline-open').find('.message-content').remove();
return;
}
$('.message-container').append('<div class="message-loading-overlay"><i class="fa-spin ace-icon fa fa-spinner orange2 bigger-160"></i></div>');
setTimeout(function() {
$('.message-container').find('.message-loading-overlay').remove();
message
.addClass('message-inline-open')
.append('<div class="message-content" />')
var content = message.find('.message-content:last').html( $('#id-message-content').html() );
//remove scrollbar elements
content.find('.scroll-track').remove();
content.find('.scroll-content').children().unwrap();
content.find('.message-body').ace_scroll({
size: 150,
mouseWheelLock: true,
styleClass: 'scroll-visible'
});
}, 500 + parseInt(Math.random() * 500));
});
//back to message list
$('.btn-back-message-list').on('click', function(e) {
e.preventDefault();
$('#inbox-tabs a[href="#inbox"]').tab('show');
});
//hide message list and display new message form
/**
$('.btn-new-mail').on('click', function(e){
e.preventDefault();
Inbox.show_form();
});
*/
var Inbox = {
//displays a toolbar according to the number of selected messages
display_bar : function (count) {
if(count == 0) {
$('#id-toggle-all').removeAttr('checked');
$('#id-message-list-navbar .message-toolbar').addClass('hide');
$('#id-message-list-navbar .message-infobar').removeClass('hide');
}
else {
$('#id-message-list-navbar .message-infobar').addClass('hide');
$('#id-message-list-navbar .message-toolbar').removeClass('hide');
}
}
,
select_all : function() {
var count = 0;
$('.message-item input[type=checkbox]').each(function(){
this.checked = true;
$(this).closest('.message-item').addClass('selected');
count++;
});
$('#id-toggle-all').get(0).checked = true;
Inbox.display_bar(count);
}
,
select_none : function() {
$('.message-item input[type=checkbox]').removeAttr('checked').closest('.message-item').removeClass('selected');
$('#id-toggle-all').get(0).checked = false;
Inbox.display_bar(0);
}
,
select_read : function() {
$('.message-unread input[type=checkbox]').removeAttr('checked').closest('.message-item').removeClass('selected');
var count = 0;
$('.message-item:not(.message-unread) input[type=checkbox]').each(function(){
this.checked = true;
$(this).closest('.message-item').addClass('selected');
count++;
});
Inbox.display_bar(count);
}
,
select_unread : function() {
$('.message-item:not(.message-unread) input[type=checkbox]').removeAttr('checked').closest('.message-item').removeClass('selected');
var count = 0;
$('.message-unread input[type=checkbox]').each(function(){
this.checked = true;
$(this).closest('.message-item').addClass('selected');
count++;
});
Inbox.display_bar(count);
}
}
//show message list (back from writing mail or reading a message)
Inbox.show_list = function() {
$('.message-navbar').addClass('hide');
$('#id-message-list-navbar').removeClass('hide');
$('.message-footer').addClass('hide');
$('.message-footer:not(.message-footer-style2)').removeClass('hide');
$('.message-list').removeClass('hide').next().addClass('hide');
//hide the message item / new message window and go back to list
}
//show write mail form
Inbox.show_form = function() {
if($('.message-form').is(':visible')) return;
if(!form_initialized) {
initialize_form();
}
var message = $('.message-list');
$('.message-container').append('<div class="message-loading-overlay"><i class="fa-spin ace-icon fa fa-spinner orange2 bigger-160"></i></div>');
setTimeout(function() {
message.next().addClass('hide');
$('.message-container').find('.message-loading-overlay').remove();
$('.message-list').addClass('hide');
$('.message-footer').addClass('hide');
$('.message-form').removeClass('hide').insertAfter('.message-list');
$('.message-navbar').addClass('hide');
$('#id-message-new-navbar').removeClass('hide');
//reset form??
$('.message-form .wysiwyg-editor').empty();
$('.message-form .ace-file-input').closest('.file-input-container:not(:first-child)').remove();
$('.message-form input[type=file]').ace_file_input('reset_input');
$('.message-form').get(0).reset();
}, 300 + parseInt(Math.random() * 300));
}
var form_initialized = false;
function initialize_form() {
if(form_initialized) return;
form_initialized = true;
//intialize wysiwyg editor
$('.message-form .wysiwyg-editor').ace_wysiwyg({
toolbar:
[
'bold',
'italic',
'strikethrough',
'underline',
null,
'justifyleft',
'justifycenter',
'justifyright',
null,
'createLink',
'unlink',
null,
'undo',
'redo'
]
}).prev().addClass('wysiwyg-style1');
//file input
$('.message-form input[type=file]').ace_file_input()
.closest('.ace-file-input')
.addClass('width-90 inline')
.wrap('<div class="form-group file-input-container"><div class="col-sm-7"></div></div>');
//Add Attachment
//the button to add a new file input
$('#id-add-attachment')
.on('click', function(){
var file = $('<input type="file" name="attachment[]" />').appendTo('#form-attachments');
file.ace_file_input();
file.closest('.ace-file-input')
.addClass('width-90 inline')
.wrap('<div class="form-group file-input-container"><div class="col-sm-7"></div></div>')
.parent().append('<div class="action-buttons pull-right col-xs-1">\
<a href="#" data-action="delete" class="middle">\
<i class="ace-icon fa fa-trash-o red bigger-130 middle"></i>\
</a>\
</div>')
.find('a[data-action=delete]').on('click', function(e){
//the button that removes the newly inserted file input
e.preventDefault();
$(this).closest('.file-input-container').hide(300, function(){ $(this).remove() });
});
});
}//initialize_form
//turn the recipient field into a tag input field!
/**
var tag_input = $('#form-field-recipient');
try {
tag_input.tag({placeholder:tag_input.attr('placeholder')});
} catch(e) {}
//and add form reset functionality
$('#id-message-form').on('reset', function(){
$('.message-form .message-body').empty();
$('.message-form .ace-file-input:not(:first-child)').remove();
$('.message-form input[type=file]').ace_file_input('reset_input_ui');
var val = tag_input.data('value');
tag_input.parent().find('.tag').remove();
$(val.split(',')).each(function(k,v){
tag_input.before('<span class="tag">'+v+'<button class="close" type="button">×</button></span>');
});
});
*/
});
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。