diff options
Diffstat (limited to 'openo-portal/portal-extsys/src')
25 files changed, 6284 insertions, 6064 deletions
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html index 1760666b..8be93ad5 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/controller.html @@ -19,318 +19,319 @@ <!DOCTYPE html>
<html>
<head>
-<head lang="en">
-<meta charset="UTF-8">
-<title></title>
-<link href="css/bootstrap.min.css" rel="stylesheet" />
-<link href="css/VMMain.css" rel="stylesheet" />
-<link href="css/bootstrap-table.min.css" rel="stylesheet" />
-<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
-<script type="text/javascript" src="js/controller.js"></script>
-<script type="text/javascript" src="js/bootstrap.min.js"></script>
-<script type="text/javascript" src="js/bootstrap-table.min.js"></script>
-<script type="text/javascript">
- $(document).ready(function() {
+ <head lang="en">
+ <meta charset="UTF-8">
+ <title></title>
+ <link href="css/bootstrap.min.css" rel="stylesheet"/>
+ <link href="css/VMMain.css" rel="stylesheet"/>
+ <link href="css/bootstrap-table.min.css" rel="stylesheet"/>
+ <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
+ <script type="text/javascript" src="js/controller.js"></script>
+ <script type="text/javascript" src="js/bootstrap.min.js"></script>
+ <script type="text/javascript" src="js/bootstrap-table.min.js"></script>
+ <script type="text/javascript">
+ $(document).ready(function () {
- var jsondata = loadControllerData();
+ var jsondata = loadControllerData();
- $('#controller').bootstrapTable({
- //Assigning data to table
- data : jsondata
- });
- });
- function operateFormatter(value, row, index) {
- return [ '<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />' ]
- .join('');
+ $('#controller').bootstrapTable({
+ //Assigning data to table
+ data: jsondata
+ });
+ });
+ function operateFormatter(value, row, index) {
+ return ['<img class="siteDeleteImg" src="images/delete.png" href="javascript:void(0)" style="cursor: pointer" name="title" title="Delete" />']
+ .join('');
- }
- window.operateEvents = {
- 'click .siteDeleteImg' : function(e, value, row, index) {
- // TO DO ajex call for delete
- deleteLink(row.id);
- console.log(value, row, index);
- }
- };
-</script>
-</head>
+ }
+ window.operateEvents = {
+ 'click .siteDeleteImg': function (e, value, row, index) {
+ // TO DO ajex call for delete
+ deleteLink(row.id);
+ console.log(value, row, index);
+ }
+ };
+ </script>
+ </head>
<body id="open_base_site_cotentBody" class="cotentBody ng-scope">
- <div class="container-fluid ms-controller">
+<div class="container-fluid ms-controller">
- <div class="uploadBtn">
- <div id="open_base_tpL_userHeader" class="userHeader">
- <div id="open_base_tpL_buttonGroup" class="openoButton_buttonGroupClass">
- <div
+ <div class="uploadBtn">
+ <div id="open_base_tpL_userHeader" class="userHeader">
+ <div id="open_base_tpL_buttonGroup" class="openoButton_buttonGroupClass">
+ <div
class="openo openo-widget-button openoButton_buttonClass_parent ng-isolate-scope openoButton_buttonClass defaultbutton openoButton_button_default"
tabindex="0" id="false" text="res.brApp_ui_res_btn_create" icon-url="./images/add.png"
cls="defaultbutton" click="clickAdd"
style="display: inline-block; padding-left: 0px; padding-right: 0px;">
- <div class="openoButton_buttonInnerClass openo-corner-all openoButton_Image" id="false_button">
+ <div class="openoButton_buttonInnerClass openo-corner-all openoButton_Image" id="false_button">
<span class="openo-widget-button-image openoButton_buttonLeftImg"
- style="background-image: url(images/add.png);"></span><span
- class="openoButton_buttonCenterText openoButton_buttonCenterTextFont">Create</span><span
- class="openo-widget-button-image openoButton_buttonImgDefault"></span>
- </div>
+ style="background-image: url(images/add.png);"></span><span
+ class="openoButton_buttonCenterText openoButton_buttonCenterTextFont">Create</span><span
+ class="openo-widget-button-image openoButton_buttonImgDefault"></span>
</div>
-
</div>
+
</div>
</div>
+ </div>
- <div class="row-fluid" data-name="table_zone">
- <div id='ict_virtualApplication_table_div'>
- <div>
- <div class="top">
- <table id="controller" data-pagination="true" data-page-size="10"
- data-pagination-first-text="First" data-pagination-pre-text="Previous"
- data-pagination-next-text="Next" data-pagination-last-text="Last">
- <thead id="controller" class="openo-table-thead">
- <tr class="active">
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="name" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ <div class="row-fluid" data-name="table_zone">
+ <div id='ict_virtualApplication_table_div'>
+ <div>
+ <div class="top">
+ <table id="controller" data-pagination="true" data-page-size="10"
+ data-pagination-first-text="First" data-pagination-pre-text="Previous"
+ data-pagination-next-text="Next" data-pagination-last-text="Last">
+ <thead id="controller" class="openo-table-thead">
+ <tr class="active">
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="name" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_name_sorticon"
- class="openo-table-th-sorticon overflow_elip openoTable_sortable leftHeaderAlign openo-table-disable-element ">Name
+ class="openo-table-th-sorticon overflow_elip openoTable_sortable leftHeaderAlign openo-table-disable-element ">Name
</span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="protocol" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="protocol" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_protocol_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Protocol
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Protocol
</span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="productname" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="productname" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_productname_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Product
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Product
Name</span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="type" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="type" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_type_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Type
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Type
</span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="vendor" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="vendor" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_vendor_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Vendor
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Vendor
</span>
- </div>
- </th>
+ </div>
+ </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="version" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="version" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_version_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Version
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Version
</span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="description" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="description" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_description_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Description
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Description
</span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="createtime" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="createtime" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_createtime_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Create
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Create
Time </span>
- </div>
- </th>
- <th
- class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
- data-field="operation" data-sortable="true">
- <div class="openo-table-th-border"></div>
- <div class="DataTables_sort_wrapper openo-ellipsis ">
+ </div>
+ </th>
+ <th
+ class="openo-table-state-default openo-table-th openo-table-disable-element leftHeaderAlign"
+ data-field="operation" data-sortable="true">
+ <div class="openo-table-th-border"></div>
+ <div class="DataTables_sort_wrapper openo-ellipsis ">
<span id="ctrler_operation_sorticon"
- class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Operation
+ class="openo-table-th-sorticon overflow_elip leftHeaderAlign openo-table-disable-element ">Operation
</span>
- </div>
- </th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
+ </div>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ </tbody>
+ </table>
</div>
</div>
</div>
- <!-- <div id="tpListopenotable_pagination_wrapper" class="openo-table-pagination-wrapper" style="display: block;"><div class="pagination-container openo-pagination-theme openo-pagination"><div class="openoPagination_openoPaginationLengthOptions" id="tpListopenotable_wrapper_div"><input readonly="true" class="openo-pagination-select openopaginationselect" value="" id="tpListopenotable_wrapper_input" actualval="20" style="width: 32px;"><span class="openo-pagination-selectspan openopaginationselectspan" id="tpListopenotable_wrapper_trigger"></span></div><label style="display: block;float:left;">Total records: 23</label><li class="active"><span class="current prev openo-disabled" id="tpListopenotable_wrapper_prev"> </span></li><ul><li class="active"><span class="current" id="tpListopenotable_wrapper_page_link_1">1</span></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_2">2</a></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_3">3</a></li><li><a class="page-link next" id="tpListopenotable_wrapper_next"> </a></li></ul></div></div> -->
+ </div>
+ <!-- <div id="tpListopenotable_pagination_wrapper" class="openo-table-pagination-wrapper" style="display: block;"><div class="pagination-container openo-pagination-theme openo-pagination"><div class="openoPagination_openoPaginationLengthOptions" id="tpListopenotable_wrapper_div"><input readonly="true" class="openo-pagination-select openopaginationselect" value="" id="tpListopenotable_wrapper_input" actualval="20" style="width: 32px;"><span class="openo-pagination-selectspan openopaginationselectspan" id="tpListopenotable_wrapper_trigger"></span></div><label style="display: block;float:left;">Total records: 23</label><li class="active"><span class="current prev openo-disabled" id="tpListopenotable_wrapper_prev"> </span></li><ul><li class="active"><span class="current" id="tpListopenotable_wrapper_page_link_1">1</span></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_2">2</a></li><li><a class="page-link" id="tpListopenotable_wrapper_page_link_3">3</a></li><li><a class="page-link next" id="tpListopenotable_wrapper_next"> </a></li></ul></div></div> -->
- <div id="vmAppDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
- aria-hidden="false">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h4 class="modal-title" id="myModalLabel">
- <span>Create</span>
- </h4>
- </div>
- <form class="form-horizontal" role="form" id="controllerForm">
- <div id="wizard">
- <div class="modal-body">
- <ul class="nav nav-pills nav-justified vmapp-margin">
- </ul>
- <div class="tab-content">
- <div class="tab-pane active" id="basicTab">
- <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
- <label class="col-sm-3 control-label"> <span>Name</span> <span
+ <div id="vmAppDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
+ aria-hidden="false">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
+ <h4 class="modal-title" id="myModalLabel">
+ <span>Create</span>
+ </h4>
+ </div>
+ <form class="form-horizontal" role="form" id="controllerForm">
+ <div id="wizard">
+ <div class="modal-body">
+ <ul class="nav nav-pills nav-justified vmapp-margin">
+ </ul>
+ <div class="tab-content">
+ <div class="tab-pane active" id="basicTab">
+ <div class="form-group" ms-class="has-error:vmAppDialog.name==''">
+ <label class="col-sm-3 control-label"> <span>Name</span> <span
class="required">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="name" name="name" class="form-control" />
- </div>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="name" name="name" class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>URL</span> <span
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>URL</span> <span
class="required">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="url" name="url" class="form-control" />
- </div>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="url" name="url" class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>User Name</span> <span
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>User Name</span> <span
class="required">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="username" name="username"
- class="form-control" />
- </div>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="username" name="username"
+ class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Password</span> <span
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Password</span> <span
class="required">*</span>
- </label>
- <div class="col-sm-7">
- <input type="password" id="password" name="password"
- class="form-control" />
- </div>
+ </label>
+ <div class="col-sm-7">
+ <input type="password" id="password" name="password"
+ class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Version</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="version" name="version" class="form-control" />
- </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Version</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="version" name="version" class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Vendor</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="vendor" name="vendor" class="form-control" />
- </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Vendor</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="vendor" name="vendor" class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Description</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="description" name="description"
- class="form-control" />
- </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Description</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="description" name="description"
+ class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Protocol</span>
- </label>
- <div class="col-sm-7">
- <select class="form-control"
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Protocol</span>
+ </label>
+ <div class="col-sm-7">
+ <select class="form-control"
style="padding-top: 0px; padding-bottom: 0px;" id="protocol"
name="protocol">
- <option value="netconf">netconf</option>
- <option value="snmp">snmp</option>
- </select>
- </div>
+ <option value="netconf">netconf</option>
+ <option value="snmp">snmp</option>
+ </select>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Product Name</span>
- </label>
- <div class="col-sm-7">
- <input type="text" id="productname" name="productname"
- class="form-control" />
- </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Product Name</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" id="productname" name="productname"
+ class="form-control"/>
</div>
- <div class="form-group">
- <label class="col-sm-3 control-label"> <span>Type</span>
- </label>
- <div class="col-sm-7">
- <select class="form-control"
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label"> <span>Type</span>
+ </label>
+ <div class="col-sm-7">
+ <select class="form-control"
style="padding-top: 0px; padding-bottom: 0px;" id="type"
name="type">
- <option value="odl">ODL</option>
- <option value="onos">ONOS</option>
- </select>
- </div>
+ <option value="odl">ODL</option>
+ <option value="onos">ONOS</option>
+ </select>
</div>
</div>
</div>
</div>
- <div class="modal-footer">
- <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true"
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn SDBtn" data-dismiss="modal" aria-hidden="true"
id="createLink">
- <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
- </button>
- <button type="button" class="btn button-previous SDBtn">
- <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
- </button>
+ <span id="nfv-virtualApplication-iui-text-cancelBtn">OK</span>
+ </button>
+ <button type="button" class="btn button-previous SDBtn">
+ <span id="nfv-virtualApplication-iui-text-previousBtn">Cancel</span>
+ </button>
- </div>
</div>
- </form>
- </div>
+ </div>
+ </form>
</div>
</div>
</div>
</div>
- <div id="filterTpLogicalType_select_popupcontainer" class="openo openo-select-popup-container openo-hide"
- style="width: 155px; max-height: 130px; left: 628px; top: 104px; z-index: 1761;">
- <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_0">
- <label class="openo-ellipsis openo-select-blank-item" style="width: 100%; display: block; height: 20px;"></label>
- </div>
- <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_1">
- <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label>
- </div>
- <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_2">
- <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label>
- </div>
- <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_3">
- <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label>
- </div>
- <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_4">
- <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label>
- </div>
+</div>
+<div id="filterTpLogicalType_select_popupcontainer" class="openo openo-select-popup-container openo-hide"
+ style="width: 155px; max-height: 130px; left: 628px; top: 104px; z-index: 1761;">
+ <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_0">
+ <label class="openo-ellipsis openo-select-blank-item"
+ style="width: 100%; display: block; height: 20px;"></label>
+ </div>
+ <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_1">
+ <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">ETH</label>
+ </div>
+ <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_2">
+ <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;" title="POS">POS</label>
+ </div>
+ <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_3">
+ <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Trunk</label>
+ </div>
+ <div class="openo-select-item openo-ellipsis " id="filterTpLogicalType_openo-select-id_4">
+ <label class="openo-ellipsis " style="width: 100%; display: block; height: 20px;">Loopback</label>
</div>
+</div>
</body>
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/RMain.css b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/RMain.css index 1b8488aa..0a74032c 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/RMain.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/RMain.css @@ -13,199 +13,227 @@ * limitations under the License.
*/
-
#iemp_layout_container {
- padding: 0px;
- margin: 1px auto;
- width: 100%;
- height: 100%;
+ padding: 0px;
+ margin: 1px auto;
+ width: 100%;
+ height: 100%;
}
+
#iemp_layout_container .three-cols-layout {
- width: 100%;
- height: 100%;
- border-collapse: collapse;
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
+ width: 100%;
+ height: 100%;
+ border-collapse: collapse;
+ margin-left: 0px;
+ margin-top: 0px;
+ margin-right: 0px;
+ margin-bottom: 0px;
}
+
#iemp_layout_container .three-cols-layout {
- width: 100%;
- height: 100%;
- border-collapse: collapse;
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
+ width: 100%;
+ height: 100%;
+ border-collapse: collapse;
+ margin-left: 0px;
+ margin-top: 0px;
+ margin-right: 0px;
+ margin-bottom: 0px;
}
+
#iemp_layout_container .three-cols-column.three-cols-left {
- width: 215px;
- background-color: #f5f5f5;
+ width: 215px;
+ background-color: #f5f5f5;
}
+
.accordion_parent {
- position: relative;
- width: 220px;
- background-color: #f5f5f5;
+ position: relative;
+ width: 220px;
+ background-color: #f5f5f5;
}
+
.openo-accordion-resizable-handle {
- z-index: 1!important;
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%;
- position: absolute;
- font-size: .1px;
- display: block;
+ z-index: 1 !important;
+ cursor: e-resize;
+ width: 7px;
+ right: -5px;
+ top: 0;
+ height: 100%;
+ position: absolute;
+ font-size: .1px;
+ display: block;
}
+
.openoAccordian_accordionmenu {
- width: 100%;
- margin: 0;
- padding: 0;
- list-style-type: none;
- line-height: 17px;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ list-style-type: none;
+ line-height: 17px;
}
+
.openoAccordian_accordionmenu li {
- min-width: 75px;
- margin: 0;
- padding: 0;
- list-style-type: none;
- color: #000;
- clear: both;
+ min-width: 75px;
+ margin: 0;
+ padding: 0;
+ list-style-type: none;
+ color: #000;
+ clear: both;
}
+
.openo_accordion_ui-icon-collapse, .openo_accordion_ui-icon-expand {
- display: block;
- float: left;
- margin-bottom: -1px;
- border-bottom: 1px solid #e5e5e5;
- cursor: pointer;
- width: 13px;
- padding-top: 26px;
+ display: block;
+ float: left;
+ margin-bottom: -1px;
+ border-bottom: 1px solid #e5e5e5;
+ cursor: pointer;
+ width: 13px;
+ padding-top: 26px;
}
+
.openo_accordion_ui-icon-expand {
- background: url(../images/collapse_arrow.png) right 20px no-repeat;
- margin-top: 8px;
+ background: url(../images/collapse_arrow.png) right 20px no-repeat;
+ margin-top: 8px;
}
-.openo_accordion_ui-icon-expand.current{
- background: url(../images/expand_arrow.png) right 20px no-repeat;
+
+.openo_accordion_ui-icon-expand.current {
+ background: url(../images/expand_arrow.png) right 20px no-repeat;
}
+
.openoAccordian_showHideArrow_hide, .openoAccordian_showHideArrow_show {
- display: block;
- position: absolute;
- right: 0;
- top: 4px;
- width: 18px;
- height: 41px;
- cursor: pointer;
- background-color: #f5f5f5;
+ display: block;
+ position: absolute;
+ right: 0;
+ top: 4px;
+ width: 18px;
+ height: 41px;
+ cursor: pointer;
+ background-color: #f5f5f5;
}
+
.openoAccordian_showHideArrow_hide {
- background-image: url(../images/openo.png);
- background-position: -7px 0!important;
- border-collapse: separate;
- /*box-shadow: inset -1px 0 0 #e5e5e5;*/
+ background-image: url(../images/openo.png);
+ background-position: -7px 0 !important;
+ border-collapse: separate;
+ /*box-shadow: inset -1px 0 0 #e5e5e5;*/
}
+
a.header.opened, a.header.closed {
- font-size: 16px;
- padding-top: 24px;
- padding-bottom: 25px;
- color: #999999;
+ font-size: 16px;
+ padding-top: 24px;
+ padding-bottom: 25px;
+ color: #999999;
}
+
.openoAccordian_accordionmenu .closed, .openoAccordian_accordionmenu .opened {
- padding-right: 10px;
- background-position: 98% 50%;
- background-repeat: no-repeat;
+ padding-right: 10px;
+ background-position: 98% 50%;
+ background-repeat: no-repeat;
}
+
.openoAccordian_accordionmenu li a {
- padding: 11px 10px 12px;
- color: #333333;
- margin-right: 1px;
- margin-top: -1px;
- text-align: left!important;
- font-family: "Microsoft Yahei",SimSun,Arial,Tahoma;
- font-size: 14px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- border-top: 1px solid #e5e5e5;
- border-bottom: 1px solid #e5e5e5;
- /*height: 19px;*/
+ padding: 11px 10px 12px;
+ color: #333333;
+ margin-right: 1px;
+ margin-top: -1px;
+ text-align: left !important;
+ font-family: "Microsoft Yahei", SimSun, Arial, Tahoma;
+ font-size: 14px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ border-top: 1px solid #e5e5e5;
+ border-bottom: 1px solid #e5e5e5;
+ /*height: 19px;*/
}
+
.openoAccordian_accordionmenu ul {
- margin: 0;
- padding: 0;
- overflow: hidden;
+ margin: 0;
+ padding: 0;
+ overflow: hidden;
}
+
.openoAccordian_accordionmenu a {
- display: block;
- text-decoration: none;
+ display: block;
+ text-decoration: none;
}
+
a {
- color: #428bca;
- text-decoration: none;
- background: 0 0;
+ color: #428bca;
+ text-decoration: none;
+ background: 0 0;
}
-.bar{
+
+.bar {
height: 834px;
width: 18px;
background: #f8f8f8;
display: none;
}
-.bar span{
+
+.bar span {
width: 13px;
height: 34px;
background-image: url(../images/openo.png);
- background-position: -39px 0!important;
- display: block;
- /*margin-top: -430px;*/
+ background-position: -39px 0 !important;
+ display: block;
+ /*margin-top: -430px;*/
}
-#accordionmenuid_ul_0_0_brAppTopMenuID_UL li{
+
+#accordionmenuid_ul_0_0_brAppTopMenuID_UL li {
cursor: pointer;
}
-#puer_base_openo{
+
+#puer_base_openo {
border: 1px solid #ddd;
}
+
.openo_accordion_selected {
- margin-left: 0;
- margin-right: 0;
- background: #fafafa;
- border-left: 3px solid #4ac9ff!important;
- box-shadow: none;
- position: relative;
+ margin-left: 0;
+ margin-right: 0;
+ background: #fafafa;
+ border-left: 3px solid #4ac9ff !important;
+ box-shadow: none;
+ position: relative;
}
-a:hover{
- color: #4ac9ff!important;
+
+a:hover {
+ color: #4ac9ff !important;
}
+
.openoAccordian_accordionmenu li.openo_accordion_selected a {
- position: relative;
- left: -3px;
- color: #009ae7;
+ position: relative;
+ left: -3px;
+ color: #009ae7;
}
+
.openo-accordion-resizable-handle {
- z-index: 1!important;
- cursor: e-resize;
- width: 7px;
- right: -5px;
- top: 0;
- height: 100%;
- position: absolute;
- font-size: .1px;
- display: block;
+ z-index: 1 !important;
+ cursor: e-resize;
+ width: 7px;
+ right: -5px;
+ top: 0;
+ height: 100%;
+ position: absolute;
+ font-size: .1px;
+ display: block;
}
+
#iframeContainer iframe {
- width: 100%;
- height: 100%;
- border: 0;
+ width: 100%;
+ height: 100%;
+ border: 0;
}
+
#accordionContent, #iframeContainer {
- margin: 0;
- padding: 0;
- border: 0;
- width: 100%;
- height: 100%;
+ margin: 0;
+ padding: 0;
+ border: 0;
+ width: 100%;
+ height: 100%;
}
+
.openoAccordian_showHideArrow_show {
- background-image: url(../images/openo.png);
- background-position: -39px 0!important;
- box-shadow: inset 1px 0 0 #e5e5e5,inset -1px 0 0 #e5e5e5;
+ background-image: url(../images/openo.png);
+ background-position: -39px 0 !important;
+ box-shadow: inset 1px 0 0 #e5e5e5, inset -1px 0 0 #e5e5e5;
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/VMMain.css b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/VMMain.css index e625e907..a1c08668 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/VMMain.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/css/VMMain.css @@ -13,60 +13,68 @@ * limitations under the License.
*/
-
-body{
+body {
font-family: '微软雅黑';
font-size: 12px;
color: #333;
background: #fafafa;
}
-button{
+
+button {
outline: none;
}
-ul,li{
+
+ul, li {
list-style: none;
- padding:0;
- margin:0;
+ padding: 0;
+ margin: 0;
}
-.titleFont{
+
+.titleFont {
font-size: 16px;
}
-.separator-line{
+
+.separator-line {
height: 1px;
width: 100%;
- border:1px solid #ddd;
+ border: 1px solid #ddd;
margin: 6px 0 15px 0;
}
-.uploadBtn{
+
+.uploadBtn {
overflow: hidden;
}
+
.creat-btn {
- padding: 0 14px;
- height: 24px;
+ padding: 0 14px;
+ height: 24px;
float: left;
cursor: pointer;
text-decoration: none;
outline: 0;
border: 1px solid #d3d3d3;
text-align: center;
- box-shadow: 0 1px 1px rgba(0,0,0,.05);
+ box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
background: #fafafa;
- background: -moz-linear-gradient(top,#fff,#fafafa);
- background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#fafafa));
- background: -webkit-linear-gradient(top,#fff,#fafafa);
- background: linear-gradient(to bottom,#fff,#fafafa);
+ background: -moz-linear-gradient(top, #fff, #fafafa);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(100%, #fafafa));
+ background: -webkit-linear-gradient(top, #fff, #fafafa);
+ background: linear-gradient(to bottom, #fff, #fafafa);
border-radius: 6px;
background: #fff url(../images/add.png) no-repeat 5px center;
padding-left: 20px;
}
+
.creat-btn:hover {
- color: #009ae7;
- border: 1px solid #4AC9FF
+ color: #009ae7;
+ border: 1px solid #4AC9FF
}
+
.creat-btn:active {
- color: #000;
- border: 1px solid #4AC9FF
+ color: #000;
+ border: 1px solid #4AC9FF
}
+
/*.creat-btn{
background: #fff url(../image/add.png) no-repeat 5px center;
border: 1px solid #ddd;
@@ -77,110 +85,130 @@ ul,li{ color: #fff;
border:1px solid #428bca;
}*/
-.search{
+.search {
width: 310px;
height: 30px;
- float:right;
+ float: right;
}
-.search-text{
+
+.search-text {
width: 250px;
float: left;
margin-right: 6px;
}
-.search-btn{
+
+.search-btn {
height: 30px;
background: #fff;
border: 1px solid #ddd;
float: left;
}
-#ict_virtualApplication_table_div{
+
+#ict_virtualApplication_table_div {
margin-top: 15px;
}
-.table>thead>tr.active>th{
- border: 1px solid #ddd!important;
+
+.table > thead > tr.active > th {
+ border: 1px solid #ddd !important;
border-bottom: 0;
background: #f0f0f0;
}
+
/*.table tbody tr:hover{
background: #e6fbe0!important;
}*/
-.table tbody tr:last-child{
+.table tbody tr:last-child {
border-bottom: 1px solid #ddd;
}
-.table-btn{
+
+.table-btn {
border: 1px solid #ccc;
border-radius: 3px;
}
-.delete-btn{
+
+.delete-btn {
background: url(../image/delete.png) no-repeat;
width: 16px;
height: 16px;
border: none;
}
-.detail-btn{
+
+.detail-btn {
background: url(../image/openo.png) no-repeat -343px -283px;
width: 16px;
height: 16px;
border: none;
}
-.detail-btn.current{
- background-position: -7px -314px;
+
+.detail-btn.current {
+ background-position: -7px -314px;
}
-.detail{
+
+.detail {
height: 200px;
border: 1px solid #ddd;
margin-top: 60px;
}
-.detail-top ul{
+.detail-top ul {
height: 50px;
line-height: 50px;
border-bottom: 1px solid #ddd;
padding-left: 0px;
- background: #fafafa;
+ background: #fafafa;
}
-.detail-top ul li{
- float:left;
+
+.detail-top ul li {
+ float: left;
width: 120px;
text-align: center;
border-right: 1px solid #ddd;
cursor: pointer;
}
-.detail-top ul li.current{
+
+.detail-top ul li.current {
background: #fff;
}
-.vmapp-margin{
+
+.vmapp-margin {
margin-bottom: 10px;
}
-.control-label .required{
+
+.control-label .required {
color: #e02222;
font-size: 12px;
padding-left: 2px;
}
-.form-group .control-label{
+
+.form-group .control-label {
font-size: 12px;
font-weight: 400;
}
-legend{
+
+legend {
font-size: 12px;
font-weight: bold;
}
-.pageGro{
+
+.pageGro {
width: 250px;
float: right;
}
-.pageUp,.pageDown,.pageList,.pageList li{
+
+.pageUp, .pageDown, .pageList, .pageList li {
float: left;
cursor: pointer;
}
-.pageUp,.pageDown{
+
+.pageUp, .pageDown {
width: 60px;
height: 30px;
border: 1px solid #ddd;
text-align: center;
line-height: 30px;
}
-.pageList li{
+
+.pageList li {
width: 30px;
height: 30px;
border: 1px solid #ddd;
@@ -188,466 +216,543 @@ legend{ line-height: 30px;
border-left: none;
}
-.pageList li.active{
+
+.pageList li.active {
background: #428bca;
color: #fff;
border-color: #428bca;
}
-.pageDown{
+
+.pageDown {
border-left: none;
}
-.headerLinkP{
+
+.headerLinkP {
padding-top: 17px;
}
-.headerLinkP span{
+
+.headerLinkP span {
font-size: 12px;
color: #666;
- font-weight: normal!important;
+ font-weight: normal !important;
}
-label{
- font-weight: normal!important;
+
+label {
+ font-weight: normal !important;
}
+
table.userform tbody tr td {
- display: table-cell;
- padding-right: 10px;
- padding-top: 10px;
- font-size: 12px;
- color: #333;
+ display: table-cell;
+ padding-right: 10px;
+ padding-top: 10px;
+ font-size: 12px;
+ color: #333;
}
-.table th,.table td{
- padding-top: 3px!important;
- padding-bottom: 3px!important;
+
+.table th, .table td {
+ padding-top: 3px !important;
+ padding-bottom: 3px !important;
}
+
.openoBrowseButton_element {
- display: table;
+ display: table;
}
+
.openo {
- font-family: "Microsoft Yahei",SimSun,Arial,Tahoma;
- font-size: 12px;
- color: #000;
+ font-family: "Microsoft Yahei", SimSun, Arial, Tahoma;
+ font-size: 12px;
+ color: #000;
}
+
.openoBrowseButton_input {
- width: 198px;
- position: relative;
- border: 1px solid #c3c3c3!important;
- height: 26px;
- background-color: #f3f3f3;
- border-radius: 4px 0 0 4px;
- border-right: none;
- padding: 0;
+ width: 198px;
+ position: relative;
+ border: 1px solid #c3c3c3 !important;
+ height: 26px;
+ background-color: #f3f3f3;
+ border-radius: 4px 0 0 4px;
+ border-right: none;
+ padding: 0;
}
+
.buttonClassDefault, .buttonClassDefault:active {
- cursor: pointer;
- background-image: url(../images/openo.png);
- background-position: -154px -7px!important;
+ cursor: pointer;
+ background-image: url(../images/openo.png);
+ background-position: -154px -7px !important;
}
+
.openoBrowseButton_button {
- width: 27px;
- border: 0;
- float: right;
- position: relative;
- height: 26px;
- right: 0;
- top: 0;
- border-radius: 0 4px 4px 0;
- border-right: 1px solid #c3c3c3;
- border-left: none;
+ width: 27px;
+ border: 0;
+ float: right;
+ position: relative;
+ height: 26px;
+ right: 0;
+ top: 0;
+ border-radius: 0 4px 4px 0;
+ border-right: 1px solid #c3c3c3;
+ border-left: none;
}
+
.openo .openo-input, .openo.openo-input {
- outline: 0;
- border: 1px solid #c3c3c3;
- box-shadow: 1px 1px #f6f6f6 inset;
- background-color: #fff;
- height: 26px;
+ outline: 0;
+ border: 1px solid #c3c3c3;
+ box-shadow: 1px 1px #f6f6f6 inset;
+ background-color: #fff;
+ height: 26px;
}
+
.openoInput_openoDefaultText {
- padding: 0 0 0 6px;
- border-radius: 4px;
- color: #000;
- display: inline-block;
- outline: 0;
- box-shadow: 1px 1px #f6f6f6 inset;
- font-size: 12px;
- background: #fff;
+ padding: 0 0 0 6px;
+ border-radius: 4px;
+ color: #000;
+ display: inline-block;
+ outline: 0;
+ box-shadow: 1px 1px #f6f6f6 inset;
+ font-size: 12px;
+ background: #fff;
}
+
div.openo-select {
- border: 1px solid #c3c3c3;
- border-radius: 4px;
- background: url(../images/arrow-down-enable.png) right no-repeat #fff;
- line-height: 24px;
- padding-left: 3px;
- display: block;
-}
-div.openo-select>input.openo-select-input {
- border: none;
- outline: 0;
- line-height: 21px;
- height: 21px;
- padding-left: 3px;
- border-right: solid 1px #c3c3c3;
+ border: 1px solid #c3c3c3;
+ border-radius: 4px;
+ background: url(../images/arrow-down-enable.png) right no-repeat #fff;
+ line-height: 24px;
+ padding-left: 3px;
+ display: block;
}
+
+div.openo-select > input.openo-select-input {
+ border: none;
+ outline: 0;
+ line-height: 21px;
+ height: 21px;
+ padding-left: 3px;
+ border-right: solid 1px #c3c3c3;
+}
+
.openo .openo-ellipsis, .openo.openo-ellipsis {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
+
a.openoButton_buttonClass, a.openoButton_buttonDisableClass, div.openoButton_buttonClass, div.openoButton_buttonDisableClass {
- height: 26px;
- float: left;
- cursor: pointer;
- text-decoration: none;
- outline: 0;
- border: 1px solid #d3d3d3;
- text-align: center;
- box-shadow: 0 1px 1px rgba(0,0,0,.05);
- background: #fafafa;
- background: -moz-linear-gradient(top,#fff,#fafafa);
- background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#fafafa));
- background: -webkit-linear-gradient(top,#fff,#fafafa);
- background: linear-gradient(to bottom,#fff,#fafafa);
- border-radius: 6px;
-}
-.openoButton_buttonInnerClass{
- padding: 0 19px;
- border-radius: 6px;
+ height: 26px;
+ float: left;
+ cursor: pointer;
+ text-decoration: none;
+ outline: 0;
+ border: 1px solid #d3d3d3;
+ text-align: center;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
+ background: #fafafa;
+ background: -moz-linear-gradient(top, #fff, #fafafa);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(100%, #fafafa));
+ background: -webkit-linear-gradient(top, #fff, #fafafa);
+ background: linear-gradient(to bottom, #fff, #fafafa);
+ border-radius: 6px;
+}
+
+.openoButton_buttonInnerClass {
+ padding: 0 19px;
+ border-radius: 6px;
}
+
.openoButton_buttonCenterText {
- color: #000;
- line-height: 24px;
- white-space: nowrap;
- width: auto!important;
+ color: #000;
+ line-height: 24px;
+ white-space: nowrap;
+ width: auto !important;
}
+
.userHeader {
- clear: left;
- overflow: hidden;
- margin-bottom: 10px;
- padding: 10px 10px 0px 0px;
+ clear: left;
+ overflow: hidden;
+ margin-bottom: 10px;
+ padding: 10px 10px 0px 0px;
}
+
.openoButton_buttonGroupClass {
- display: inline;
+ display: inline;
}
+
.openoButton_buttonGroupClass div.openoButton_buttonClass_parent:first-child {
- margin-left: 0;
+ margin-left: 0;
}
+
.openoButton_buttonLeftImg {
- margin-right: 5px;
+ margin-right: 5px;
}
+
.openoButton_buttonLeftImg, .openoButton_buttonRightImg {
- display: inline-block;
- vertical-align: top;
- width: 16px;
- height: 16px;
- margin-top: 4px;
+ display: inline-block;
+ vertical-align: top;
+ width: 16px;
+ height: 16px;
+ margin-top: 4px;
}
+
.openo-table-pagination-wrapper {
- height: 37px;
+ height: 37px;
}
+
.openo-pagination {
- display: block;
- float: left;
- overflow: hidden;
- padding: 5px 0 0;
- margin-top: 8px;
+ display: block;
+ float: left;
+ overflow: hidden;
+ padding: 5px 0 0;
+ margin-top: 8px;
}
+
.openoPagination_openoPaginationLengthOptions:not(msie8) {
- line-height: 24px;
+ line-height: 24px;
}
+
.openoPagination_openoPaginationLengthOptions {
- white-space: normal;
- height: 24px;
- float: left;
- outline: 0;
- line-height: 20px;
- margin: 0 5px;
+ white-space: normal;
+ height: 24px;
+ float: left;
+ outline: 0;
+ line-height: 20px;
+ margin: 0 5px;
}
+
.openo-pagination-select {
- height: 26px;
- line-height: 22px;
- text-align: center;
- margin-right: -2px;
- border: 1px solid #e0e0e0;
- border-radius: 5px 0 0 5px;
- padding: 1px;
+ height: 26px;
+ line-height: 22px;
+ text-align: center;
+ margin-right: -2px;
+ border: 1px solid #e0e0e0;
+ border-radius: 5px 0 0 5px;
+ padding: 1px;
}
+
.openoPagination_openoPaginationLengthOptions span {
- background-color: #fff!important;
+ background-color: #fff !important;
}
+
.openo-pagination-theme a, .openo-pagination-theme span {
- float: left;
- color: #666;
- font: 12px Lucida Grande,Verdana,Arial,Helvetica,sans-serif;
- line-height: 24px;
- font-weight: 400;
- text-align: center;
- border: 1px solid #e0e0e0;
- text-decoration: none!important;
- padding: 0 7px;
- border-radius: 3px;
- background: #fff;
+ float: left;
+ color: #666;
+ font: 12px Lucida Grande, Verdana, Arial, Helvetica, sans-serif;
+ line-height: 24px;
+ font-weight: 400;
+ text-align: center;
+ border: 1px solid #e0e0e0;
+ text-decoration: none !important;
+ padding: 0 7px;
+ border-radius: 3px;
+ background: #fff;
}
+
.openo-pagination-selectspan {
- background: url(../images/ideo_default_select.png) left no-repeat!important;
- float: right!important;
- width: 26px;
- height: 26px;
- cursor: pointer;
+ background: url(../images/ideo_default_select.png) left no-repeat !important;
+ float: right !important;
+ width: 26px;
+ height: 26px;
+ cursor: pointer;
}
+
.openo-pagination-theme label {
- padding-top: 6px;
- vertical-align: middle;
- margin-right: 20px;
- margin-top: -1px;
- float: left;
- display: inline-block;
- height: 20px;
- font: 12px Lucida Grande,Verdana,Arial,Helvetica,sans-serif;
+ padding-top: 6px;
+ vertical-align: middle;
+ margin-right: 20px;
+ margin-top: -1px;
+ float: left;
+ display: inline-block;
+ height: 20px;
+ font: 12px Lucida Grande, Verdana, Arial, Helvetica, sans-serif;
}
+
.openo-pagination li, .openo-pagination ul {
- list-style: none;
- padding: 0;
- margin: 0;
- float: left;
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ float: left;
}
+
dd, dl, dt, li {
- color: #000;
+ color: #000;
}
+
.openo-pagination-theme a, .openo-pagination-theme span.current {
- margin: 0 5px 0 0;
+ margin: 0 5px 0 0;
}
+
.openo .openo-disabled, .openo.openo-disabled {
- border-color: #c3c3c3!important;
- color: #666!important;
- opacity: .3;
- filter: alpha(opacity=30);
+ border-color: #c3c3c3 !important;
+ color: #666 !important;
+ opacity: .3;
+ filter: alpha(opacity=30);
}
+
.openo-pagination-theme .prev {
- background: 0 0;
- float: left;
+ background: 0 0;
+ float: left;
}
+
.openo-pagination-theme .current {
- text-decoration: none!important;
- float: left;
- padding-left: 6px;
- height: 24px;
- color: #fff;
- display: inline;
- border-color: #00adf5;
- background: #4ad2ff;
+ text-decoration: none !important;
+ float: left;
+ padding-left: 6px;
+ height: 24px;
+ color: #fff;
+ display: inline;
+ border-color: #00adf5;
+ background: #4ad2ff;
}
+
.openo-pagination-theme a, .openo-pagination-theme span {
- float: left;
- color: #666;
- font: 12px Lucida Grande,Verdana,Arial,Helvetica,sans-serif;
- line-height: 24px;
- font-weight: 400;
- text-align: center;
- border: 1px solid #e0e0e0;
- text-decoration: none!important;
- padding: 0 7px;
- border-radius: 3px;
- background: #fff;
+ float: left;
+ color: #666;
+ font: 12px Lucida Grande, Verdana, Arial, Helvetica, sans-serif;
+ line-height: 24px;
+ font-weight: 400;
+ text-align: center;
+ border: 1px solid #e0e0e0;
+ text-decoration: none !important;
+ padding: 0 7px;
+ border-radius: 3px;
+ background: #fff;
}
+
.openo-pagination-theme .prev.openo-disabled:before {
- background: url(../images/page_left_disabled.png) 50% 45% no-repeat;
+ background: url(../images/page_left_disabled.png) 50% 45% no-repeat;
}
+
.openo-pagination-theme .prev.openo-disabled:before {
- background: url(../images/page_left_disabled.png) 50% 45% no-repeat;
+ background: url(../images/page_left_disabled.png) 50% 45% no-repeat;
}
+
.openo-pagination-theme .prev:before {
- background: url(../images/page_l.png) 50% 45% no-repeat;
+ background: url(../images/page_l.png) 50% 45% no-repeat;
}
+
.openo-pagination-theme .next:after, .openo-pagination-theme .prev:before {
- display: inline-block;
- content: "";
- vertical-align: middle;
- width: 10px;
- height: 24px;
+ display: inline-block;
+ content: "";
+ vertical-align: middle;
+ width: 10px;
+ height: 24px;
}
+
.openo-pagination-theme .prev:before {
- background: url(../images/page_l.png) 50% 45% no-repeat;
+ background: url(../images/page_l.png) 50% 45% no-repeat;
}
+
.openo-pagination-theme .next:after, .openo-pagination-theme .prev:before {
- display: inline-block;
- content: "";
- vertical-align: middle;
- width: 10px;
- height: 24px;
+ display: inline-block;
+ content: "";
+ vertical-align: middle;
+ width: 10px;
+ height: 24px;
}
+
pagination ul {
- list-style: none;
- padding: 0;
- margin: 0;
- float: left;
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ float: left;
}
+
.openo-pagination li, .openo-pagination ul {
- list-style: none;
- padding: 0;
- margin: 0;
- float: left;
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ float: left;
}
+
.openoPagination_gototext {
- background: #FFF;
- outline: 0;
- width: 29px;
- float: left;
- height: 26px;
- line-height: 24px;
- border-radius: 4px;
- border: 1px solid #c3c3c3;
- padding: 0 0 0 5px;
- margin: 0;
- color: #666;
- min-width: 50px;
+ background: #FFF;
+ outline: 0;
+ width: 29px;
+ float: left;
+ height: 26px;
+ line-height: 24px;
+ border-radius: 4px;
+ border: 1px solid #c3c3c3;
+ padding: 0 0 0 5px;
+ margin: 0;
+ color: #666;
+ min-width: 50px;
}
+
.openoPagination_gotoimage {
- width: 29px;
- height: 26px;
- line-height: 26px;
- background-color: #FFF;
- background-image: url(/portal/themes/default/components/openo/images/openo.png);
- padding-left: 21px;
- float: left;
- margin-left: 5px;
- border: 1px solid #e0e0e0;
- border-radius: 4px;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- background-position: -184px -181px!important;
+ width: 29px;
+ height: 26px;
+ line-height: 26px;
+ background-color: #FFF;
+ background-image: url(/portal/themes/default/components/openo/images/openo.png);
+ padding-left: 21px;
+ float: left;
+ margin-left: 5px;
+ border: 1px solid #e0e0e0;
+ border-radius: 4px;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ background-position: -184px -181px !important;
}
+
.openo-pagination-theme .ellipse {
- float: left;
- margin-left: -8px;
- margin-right: -4px;
- background: 0 0;
- border: none;
- border-radius: 0;
- box-shadow: none;
- font-weight: 700;
- cursor: default;
+ float: left;
+ margin-left: -8px;
+ margin-right: -4px;
+ background: 0 0;
+ border: none;
+ border-radius: 0;
+ box-shadow: none;
+ font-weight: 700;
+ cursor: default;
}
+
.openo.openo-disabled {
- border-color: #c3c3c3!important;
- color: #666!important;
- opacity: .3;
- filter: alpha(opacity=30);
+ border-color: #c3c3c3 !important;
+ color: #666 !important;
+ opacity: .3;
+ filter: alpha(opacity=30);
}
+
.openo-pagination-theme .prev {
- background: 0 0;
- float: left;
+ background: 0 0;
+ float: left;
}
+
.openo-pagination-theme .current {
- text-decoration: none!important;
- float: left;
- padding-left: 6px;
- height: 26px;
- color: #fff;
- display: inline;
- /*border-color: #00adf5;
- background: #4ad2ff;*/
+ text-decoration: none !important;
+ float: left;
+ padding-left: 6px;
+ height: 26px;
+ color: #fff;
+ display: inline;
+ /*border-color: #00adf5;
+ background: #4ad2ff;*/
border: 1px solid #e0e0e0;
}
+
.openo-pagination-theme .next:after {
- background: url(../images/page_r.png) 50% 45% no-repeat;
+ background: url(../images/page_r.png) 50% 45% no-repeat;
}
+
.openoButton_buttonGroupClass div.openoButton_buttonClass_parent, .openoButton_buttonRightImg {
- margin-left: 5px;
+ margin-left: 5px;
}
html, body {
- height: 99%;
- width: 98%;
+ height: 99%;
+ width: 98%;
}
+
.cotentBody {
- padding: 0px 20px 0px 20px;
+ padding: 0px 20px 0px 20px;
}
div.openoButton_buttonClass:hover {
- border: 1px solid #4ac9ff;
+ border: 1px solid #4ac9ff;
}
+
div.openoButton_button_default:hover .openoButton_buttonCenterText {
- color: #009ae7;
+ color: #009ae7;
}
+
.header_lineimg {
- height: 1px;
- width: 100%;
- margin-top: 17px;
+ height: 1px;
+ width: 100%;
+ margin-top: 17px;
}
+
.openo.openo-hide {
- display: none;
+ display: none;
}
+
div.openo-select-popup-container {
- position: absolute;
- border: 1px solid #4ac9ff;
- border-top: none;
- border-radius: 0 0 4px 4px;
- max-height: 202px;
- overflow-y: auto;
- background-color: #fff;
- z-index: 880;
-}
-div.openo-select-popup-container>div.openo-select-item {
- display: block;
+ position: absolute;
+ border: 1px solid #4ac9ff;
+ border-top: none;
+ border-radius: 0 0 4px 4px;
+ max-height: 202px;
+ overflow-y: auto;
+ background-color: #fff;
+ z-index: 880;
+}
+
+div.openo-select-popup-container > div.openo-select-item {
+ display: block;
}
+
.openo .openo-ellipsis, .openo.openo-ellipsis {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
-div.openo-select-popup-container>div.openo-select-item>label {
- padding-top: 3px;
- padding-bottom: 3px;
- line-height: 20px;
+
+div.openo-select-popup-container > div.openo-select-item > label {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ line-height: 20px;
}
+
.openo .openo-ellipsis, .openo.openo-ellipsis {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
+
.openo-select-item label {
- margin-left: 4px;
- margin-right: 4px;
- white-space: nowrap;
+ margin-left: 4px;
+ margin-right: 4px;
+ white-space: nowrap;
}
-div.openo-select-popup-container>div.openo-select-item.openo-item-selected, div.openo-select-popup-container>div.openo-select-item:hover {
- background-color: #f1f1f1;
- color: #008fd6;
+
+div.openo-select-popup-container > div.openo-select-item.openo-item-selected, div.openo-select-popup-container > div.openo-select-item:hover {
+ background-color: #f1f1f1;
+ color: #008fd6;
}
+
div.openo-select.openo-focus {
- border: 1px solid #4ac9ff;
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- border-bottom-color: #ddd;
+ border: 1px solid #4ac9ff;
+ border-bottom-left-radius: 0;
+ border-bottom-right-radius: 0;
+ border-bottom-color: #ddd;
}
+
.openo-pagination-theme a:hover {
- border-color: #4ac9ff;
- cursor: pointer;
+ border-color: #4ac9ff;
+ cursor: pointer;
}
-.SDBtn{
- background: #fff;
- color: #333;
- border: 1px solid #ddd;
+
+.SDBtn {
+ background: #fff;
+ color: #333;
+ border: 1px solid #ddd;
}
-.SDBtn:hover{
- color: #009ae7;
- border: 1px solid #4AC9FF
+
+.SDBtn:hover {
+ color: #009ae7;
+ border: 1px solid #4AC9FF
}
+
table tbody tr.even:hover td, table tbody tr.odd:hover td {
- background-color: #e6fbe0;
+ background-color: #e6fbe0;
}
+
table tr.openoTable_row_selected td {
- background: #e8f8fe!important;
- border-bottom: 1px solid #e8e8e8!important;
+ background: #e8f8fe !important;
+ border-bottom: 1px solid #e8e8e8 !important;
}
-.modal-body{
- padding: 0!important;
+
+.modal-body {
+ padding: 0 !important;
}
-.form-control{
- height: 26px!important;
+
+.form-control {
+ height: 26px !important;
}
+
.form-group .control-label {
- margin-left: 20px;
+ margin-left: 20px;
}
.form-horizontal .control-label {
- text-align: left;
+ text-align: left;
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/js/controller.js b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/js/controller.js index 35da7296..fa2f88f1 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/js/controller.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/sdncontroller/js/controller.js @@ -14,158 +14,158 @@ */
$('.siteDeleteImg').click(
- function() {
- var data = $(this).parent().parent().parent().find('td:last').find(
- 'div:last').html();
- alert(data);
- var jsonObj = JSON.parse(data);
- for (var i = 0; i < jsonObj.length; i++) {
- var obj = jsonObj[i];
- var rowData = [ obj.tpName, obj.peName, obj.vlanId,
- obj.siteCidr, obj.ip ];
- $('#underlayTpDataTable').DataTable();
- $('#underlayTpDataTable').dataTable().fnAddData(rowData);
- }
- });
+ function () {
+ var data = $(this).parent().parent().parent().find('td:last').find(
+ 'div:last').html();
+ alert(data);
+ var jsonObj = JSON.parse(data);
+ for (var i = 0; i < jsonObj.length; i++) {
+ var obj = jsonObj[i];
+ var rowData = [obj.tpName, obj.peName, obj.vlanId,
+ obj.siteCidr, obj.ip];
+ $('#underlayTpDataTable').DataTable();
+ $('#underlayTpDataTable').dataTable().fnAddData(rowData);
+ }
+ });
function deleteController(objectId) {
- var requestUrl = "/openoapi/extsys/v1/sdncontrollers/" + objectId;
- $.ajax({
- type : "DELETE",
- url : requestUrl,
- contentType : "application/json",
- success : function(jsonobj) {
- $('#controller').bootstrapTable('remove', {
- field : 'id',
- values : [ objectId ]
- });
- alert("Delete Controller successfull !!!");
- },
- error : function(xhr, ajaxOptions, thrownError) {
- alert("Error on deleting controller : " + xhr.responseText);
- }
- });
+ var requestUrl = "/openoapi/extsys/v1/sdncontrollers/" + objectId;
+ $.ajax({
+ type: "DELETE",
+ url: requestUrl,
+ contentType: "application/json",
+ success: function (jsonobj) {
+ $('#controller').bootstrapTable('remove', {
+ field: 'id',
+ values: [objectId]
+ });
+ alert("Delete Controller successfull !!!");
+ },
+ error: function (xhr, ajaxOptions, thrownError) {
+ alert("Error on deleting controller : " + xhr.responseText);
+ }
+ });
}
function loadControllerData() {
- var requestUrl = "/openoapi/extsys/v1/sdncontrollers";
- $.ajax({
- type : "GET",
- url : requestUrl,
- contentType : "application/json",
- success : function(jsonobj) {
- $('#controller').bootstrapTable({
- data : jsonobj.topologicalControllers
- });
- },
- error : function(xhr, ajaxOptions, thrownError) {
- alert("Error on getting controller data : " + xhr.responseText);
- }
- });
+ var requestUrl = "/openoapi/extsys/v1/sdncontrollers";
+ $.ajax({
+ type: "GET",
+ url: requestUrl,
+ contentType: "application/json",
+ success: function (jsonobj) {
+ $('#controller').bootstrapTable({
+ data: jsonobj.topologicalControllers
+ });
+ },
+ error: function (xhr, ajaxOptions, thrownError) {
+ alert("Error on getting controller data : " + xhr.responseText);
+ }
+ });
}
-$(function() {
- $('.creat-btn').click(function() {
- $('#vmAppDialog').addClass('in').css({
- 'display' : 'block'
- });
+$(function () {
+ $('.creat-btn').click(function () {
+ $('#vmAppDialog').addClass('in').css({
+ 'display': 'block'
+ });
- });
- $('.close,.button-previous').click(function() {
- $('#vmAppDialog').removeClass('in').css('display', 'none');
- });
- $('.detail-top ul li').click(function() {
- $(this).addClass('current').siblings().removeClass('current');
- });
- $('.para').click(function() {
- if ($('#serviceTemplateName').val() == '') {
- alert('Please choose the service templet!');
- $('#flavorTab').css('display', 'none');
- } else {
- $('#flavorTab').css('display', 'block');
- }
- $('#basicTab').css('display', 'block');
- });
- $('.basic').click(function() {
- $('#flavorTab').css('display', 'none');
- });
+ });
+ $('.close,.button-previous').click(function () {
+ $('#vmAppDialog').removeClass('in').css('display', 'none');
+ });
+ $('.detail-top ul li').click(function () {
+ $(this).addClass('current').siblings().removeClass('current');
+ });
+ $('.para').click(function () {
+ if ($('#serviceTemplateName').val() == '') {
+ alert('Please choose the service templet!');
+ $('#flavorTab').css('display', 'none');
+ } else {
+ $('#flavorTab').css('display', 'block');
+ }
+ $('#basicTab').css('display', 'block');
+ });
+ $('.basic').click(function () {
+ $('#flavorTab').css('display', 'none');
+ });
- $('.table tbody tr').click(
- function() {
- $(this).addClass('openoTable_row_selected').siblings()
- .removeClass('openoTable_row_selected');
- });
- $('.table tr:odd').addClass('active');
- $('#false').click(function() {
- $('#vmAppDialog').addClass('in').css({
- 'display' : 'block'
- });
- });
- $('.close,.button-previous').click(function() {
- $('#vmAppDialog').removeClass('in').css('display', 'none');
- });
- $('#filterTpLogicalType').click(
- function() {
- $('#filterTpLogicalType_select_popupcontainer').toggleClass(
- 'openo-hide');
- $('#filterTpLogicalType').toggleClass('openo-focus');
- var oLeft = $('#open_base_tpL_td6').offset().left;
- var oTop = $('#open_base_tpL_td6').offset().top;
- var oHeight = $('#open_base_tpL_td6').height();
- $('#filterTpLogicalType_select_popupcontainer').css({
- 'left' : oLeft,
- 'top' : oTop + oHeight + 10
- });
- });
- $('div.openo-select-popup-container>div.openo-select-item>label').click(
- function() {
- var Lvalue = $(this).html();
- $('#filterTpLogicalType_select_input').attr('value', Lvalue);
- $('#filterTpLogicalType_select_popupcontainer').addClass(
- 'openo-hide');
- $('#filterTpLogicalType').removeClass('openo-focus');
- });
- $.fn.serializeObject = function() {
- var o = {};
- var a = this.serializeArray();
- $.each(a, function() {
- if (o[this.name] !== undefined) {
- if (!o[this.name].push) {
- o[this.name] = [ o[this.name] ];
- }
- o[this.name].push(this.value || '');
- } else {
- o[this.name] = this.value || '';
- }
- });
- return o;
- };
+ $('.table tbody tr').click(
+ function () {
+ $(this).addClass('openoTable_row_selected').siblings()
+ .removeClass('openoTable_row_selected');
+ });
+ $('.table tr:odd').addClass('active');
+ $('#false').click(function () {
+ $('#vmAppDialog').addClass('in').css({
+ 'display': 'block'
+ });
+ });
+ $('.close,.button-previous').click(function () {
+ $('#vmAppDialog').removeClass('in').css('display', 'none');
+ });
+ $('#filterTpLogicalType').click(
+ function () {
+ $('#filterTpLogicalType_select_popupcontainer').toggleClass(
+ 'openo-hide');
+ $('#filterTpLogicalType').toggleClass('openo-focus');
+ var oLeft = $('#open_base_tpL_td6').offset().left;
+ var oTop = $('#open_base_tpL_td6').offset().top;
+ var oHeight = $('#open_base_tpL_td6').height();
+ $('#filterTpLogicalType_select_popupcontainer').css({
+ 'left': oLeft,
+ 'top': oTop + oHeight + 10
+ });
+ });
+ $('div.openo-select-popup-container>div.openo-select-item>label').click(
+ function () {
+ var Lvalue = $(this).html();
+ $('#filterTpLogicalType_select_input').attr('value', Lvalue);
+ $('#filterTpLogicalType_select_popupcontainer').addClass(
+ 'openo-hide');
+ $('#filterTpLogicalType').removeClass('openo-focus');
+ });
+ $.fn.serializeObject = function () {
+ var o = {};
+ var a = this.serializeArray();
+ $.each(a, function () {
+ if (o[this.name] !== undefined) {
+ if (!o[this.name].push) {
+ o[this.name] = [o[this.name]];
+ }
+ o[this.name].push(this.value || '');
+ } else {
+ o[this.name] = this.value || '';
+ }
+ });
+ return o;
+ };
- $('#createController').click(function() {
- var formData = JSON.stringify($("#controllerForm").serializeObject());
- var jsonobj = JSON.parse(formData);
- var newJson = {
- "topologicalController" : jsonobj
- };
- formData = JSON.stringify(newJson);
- var requestUrl = "/openoapi/extsys/v1/sdncontrollers";
- $.ajax({
- type : "POST",
- url : requestUrl,
- contentType : "application/json",
- dataType : "json",
- data : formData,
- success : function(jsonResp) {
- alert("Controller saved successfully!!!");
- jsonobj["id"] = jsonResp.topologicalController.id;
- $('#controller').bootstrapTable("append", jsonobj);
- $('#vmAppDialog').removeClass('in').css('display', 'none');
+ $('#createController').click(function () {
+ var formData = JSON.stringify($("#controllerForm").serializeObject());
+ var jsonobj = JSON.parse(formData);
+ var newJson = {
+ "topologicalController": jsonobj
+ };
+ formData = JSON.stringify(newJson);
+ var requestUrl = "/openoapi/extsys/v1/sdncontrollers";
+ $.ajax({
+ type: "POST",
+ url: requestUrl,
+ contentType: "application/json",
+ dataType: "json",
+ data: formData,
+ success: function (jsonResp) {
+ alert("Controller saved successfully!!!");
+ jsonobj["id"] = jsonResp.topologicalController.id;
+ $('#controller').bootstrapTable("append", jsonobj);
+ $('#vmAppDialog').removeClass('in').css('display', 'none');
- },
- error : function(xhr, ajaxOptions, thrownError) {
- alert("Error on page : " + xhr.responseText);
- }
- });
- });
+ },
+ error: function (xhr, ajaxOptions, thrownError) {
+ alert("Error on page : " + xhr.responseText);
+ }
+ });
+ });
})
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/bootstrap.css b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/bootstrap.css index 6e700545..dbebe62b 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/bootstrap.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/bootstrap.css @@ -23,421 +23,422 @@ header, hgroup,
nav,
section {
- display: block;
+ display: block;
}
audio,
canvas,
video {
- display: inline-block;
- *display: inline;
- *zoom: 1;
+ display: inline-block;
+ *display: inline;
+ *zoom: 1;
}
audio:not([controls]) {
- display: none;
+ display: none;
}
html {
- font-size: 100%;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
+ font-size: 100%;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
}
a:focus {
- outline: thin dotted #333;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
+ outline: thin dotted #333;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
}
a:hover,
a:active {
- outline: 0;
+ outline: 0;
}
sub,
sup {
- position: relative;
- font-size: 75%;
- line-height: 0;
- vertical-align: baseline;
+ position: relative;
+ font-size: 75%;
+ line-height: 0;
+ vertical-align: baseline;
}
sup {
- top: -0.5em;
+ top: -0.5em;
}
sub {
- bottom: -0.25em;
+ bottom: -0.25em;
}
img {
- max-width: 100%;
- vertical-align: middle;
- border: 0;
- -ms-interpolation-mode: bicubic;
+ max-width: 100%;
+ vertical-align: middle;
+ border: 0;
+ -ms-interpolation-mode: bicubic;
}
button,
input,
select,
textarea {
- margin: 0;
- font-size: 100%;
- vertical-align: middle;
+ margin: 0;
+ font-size: 100%;
+ vertical-align: middle;
}
button,
input {
- *overflow: visible;
- line-height: normal;
+ *overflow: visible;
+ line-height: normal;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
- padding: 0;
- border: 0;
+ padding: 0;
+ border: 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
- cursor: pointer;
- -webkit-appearance: button;
+ cursor: pointer;
+ -webkit-appearance: button;
}
input[type="search"] {
- -webkit-box-sizing: content-box;
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- -webkit-appearance: textfield;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
+ -webkit-appearance: none;
}
textarea {
- overflow: auto;
- vertical-align: top;
+ overflow: auto;
+ vertical-align: top;
}
.clearfix {
- *zoom: 1;
+ *zoom: 1;
}
.clearfix:before,
.clearfix:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.clearfix:after {
- clear: both;
+ clear: both;
}
.hide-text {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0;
+ font: 0/0 a;
+ color: transparent;
+ text-shadow: none;
+ background-color: transparent;
+ border: 0;
}
.input-block-level {
- display: block;
- width: 100%;
- min-height: 28px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
- box-sizing: border-box;
+ display: block;
+ width: 100%;
+ min-height: 28px;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
}
body {
- margin: 0;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 13px;
- line-height: 18px;
- color: #333333;
- background-color: #ffffff;
+ margin: 0;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ line-height: 18px;
+ color: #333333;
+ background-color: #ffffff;
}
a {
- color: #0088cc;
- text-decoration: none;
+ color: #0088cc;
+ text-decoration: none;
}
a:hover {
- color: #005580;
- text-decoration: underline;
+ color: #005580;
+ text-decoration: underline;
}
.row {
- margin-left: -20px;
- *zoom: 1;
+ margin-left: -20px;
+ *zoom: 1;
}
.row:before,
.row:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.row:after {
- clear: both;
+ clear: both;
}
[class*="span"] {
- float: left;
- margin-left: 20px;
+ float: left;
+ margin-left: 20px;
}
.container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
- width: 940px;
+ width: 940px;
}
.span12 {
- width: 940px;
+ width: 940px;
}
.span11 {
- width: 860px;
+ width: 860px;
}
.span10 {
- width: 780px;
+ width: 780px;
}
.span9 {
- width: 700px;
+ width: 700px;
}
.span8 {
- width: 620px;
+ width: 620px;
}
.span7 {
- width: 540px;
+ width: 540px;
}
.span6 {
- width: 460px;
+ width: 460px;
}
.span5 {
- width: 380px;
+ width: 380px;
}
.span4 {
- width: 300px;
+ width: 300px;
}
.span3 {
- width: 220px;
+ width: 220px;
}
.span2 {
- width: 140px;
+ width: 140px;
}
.span1 {
- width: 60px;
+ width: 60px;
}
.offset12 {
- margin-left: 980px;
+ margin-left: 980px;
}
.offset11 {
- margin-left: 900px;
+ margin-left: 900px;
}
.offset10 {
- margin-left: 820px;
+ margin-left: 820px;
}
.offset9 {
- margin-left: 740px;
+ margin-left: 740px;
}
.offset8 {
- margin-left: 660px;
+ margin-left: 660px;
}
.offset7 {
- margin-left: 580px;
+ margin-left: 580px;
}
.offset6 {
- margin-left: 500px;
+ margin-left: 500px;
}
.offset5 {
- margin-left: 420px;
+ margin-left: 420px;
}
.offset4 {
- margin-left: 340px;
+ margin-left: 340px;
}
-.offset3 {
- margin-left: 260px;
+.offset3 {
+
+ margin-left: 260px;
}
.offset2 {
- margin-left: 180px;
+ margin-left: 180px;
}
.offset1 {
- margin-left: 100px;
+ margin-left: 100px;
}
.row-fluid {
- width: 100%;
- *zoom: 1;
+ width: 100%;
+ *zoom: 1;
}
.row-fluid:before,
.row-fluid:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.row-fluid:after {
- clear: both;
+ clear: both;
}
.row-fluid [class*="span"] {
- display: block;
- float: left;
- width: 100%;
- min-height: 28px;
- margin-left: 2.127659574%;
- *margin-left: 2.0744680846382977%;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
- box-sizing: border-box;
+ display: block;
+ float: left;
+ width: 100%;
+ min-height: 28px;
+ margin-left: 2.127659574%;
+ *margin-left: 2.0744680846382977%;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
}
.row-fluid [class*="span"]:first-child {
- margin-left: 0;
+ margin-left: 0;
}
.row-fluid .span12 {
- width: 99.99999998999999%;
- *width: 99.94680850063828%;
+ width: 99.99999998999999%;
+ *width: 99.94680850063828%;
}
.row-fluid .span11 {
- width: 91.489361693%;
- *width: 91.4361702036383%;
+ width: 91.489361693%;
+ *width: 91.4361702036383%;
}
.row-fluid .span10 {
- width: 82.97872339599999%;
- *width: 82.92553190663828%;
+ width: 82.97872339599999%;
+ *width: 82.92553190663828%;
}
.row-fluid .span9 {
- width: 74.468085099%;
- *width: 74.4148936096383%;
+ width: 74.468085099%;
+ *width: 74.4148936096383%;
}
.row-fluid .span8 {
- width: 65.95744680199999%;
- *width: 65.90425531263828%;
+ width: 65.95744680199999%;
+ *width: 65.90425531263828%;
}
.row-fluid .span7 {
- width: 57.446808505%;
- *width: 57.3936170156383%;
+ width: 57.446808505%;
+ *width: 57.3936170156383%;
}
.row-fluid .span6 {
- width: 48.93617020799999%;
- *width: 48.88297871863829%;
+ width: 48.93617020799999%;
+ *width: 48.88297871863829%;
}
.row-fluid .span5 {
- width: 40.425531911%;
- *width: 40.3723404216383%;
+ width: 40.425531911%;
+ *width: 40.3723404216383%;
}
.row-fluid .span4 {
- width: 31.914893614%;
- *width: 31.8617021246383%;
+ width: 31.914893614%;
+ *width: 31.8617021246383%;
}
.row-fluid .span3 {
- width: 23.404255317%;
- *width: 23.3510638276383%;
+ width: 23.404255317%;
+ *width: 23.3510638276383%;
}
.row-fluid .span2 {
- width: 14.89361702%;
- *width: 14.8404255306383%;
+ width: 14.89361702%;
+ *width: 14.8404255306383%;
}
.row-fluid .span1 {
- width: 6.382978723%;
- *width: 6.329787233638298%;
+ width: 6.382978723%;
+ *width: 6.329787233638298%;
}
.container {
- margin-right: auto;
- margin-left: auto;
- *zoom: 1;
+ margin-right: auto;
+ margin-left: auto;
+ *zoom: 1;
}
.container:before,
.container:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.container:after {
- clear: both;
+ clear: both;
}
.container-fluid {
- padding-right: 20px;
- padding-left: 20px;
- *zoom: 1;
+ padding-right: 20px;
+ padding-left: 20px;
+ *zoom: 1;
}
.container-fluid:before,
.container-fluid:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.container-fluid:after {
- clear: both;
+ clear: both;
}
p {
- margin: 0 0 9px;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 13px;
- line-height: 18px;
+ margin: 0 0 9px;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ line-height: 18px;
}
p small {
- font-size: 11px;
- color: #999999;
+ font-size: 11px;
+ color: #999999;
}
.lead {
- margin-bottom: 18px;
- font-size: 20px;
- font-weight: 200;
- line-height: 27px;
+ margin-bottom: 18px;
+ font-size: 20px;
+ font-weight: 200;
+ line-height: 27px;
}
h1,
@@ -446,11 +447,11 @@ h3, h4,
h5,
h6 {
- margin: 0;
- font-family: inherit;
- font-weight: bold;
- color: inherit;
- text-rendering: optimizelegibility;
+ margin: 0;
+ font-family: inherit;
+ font-weight: bold;
+ color: inherit;
+ text-rendering: optimizelegibility;
}
h1 small,
@@ -459,298 +460,298 @@ h3 small, h4 small,
h5 small,
h6 small {
- font-weight: normal;
- color: #999999;
+ font-weight: normal;
+ color: #999999;
}
h1 {
- font-size: 30px;
- line-height: 36px;
+ font-size: 30px;
+ line-height: 36px;
}
h1 small {
- font-size: 18px;
+ font-size: 18px;
}
h2 {
- font-size: 24px;
- line-height: 36px;
+ font-size: 24px;
+ line-height: 36px;
}
h2 small {
- font-size: 18px;
+ font-size: 18px;
}
h3 {
- font-size: 18px;
- line-height: 27px;
+ font-size: 18px;
+ line-height: 27px;
}
h3 small {
- font-size: 14px;
+ font-size: 14px;
}
h4,
h5,
h6 {
- line-height: 18px;
+ line-height: 18px;
}
h4 {
- font-size: 14px;
+ font-size: 14px;
}
h4 small {
- font-size: 12px;
+ font-size: 12px;
}
h5 {
- font-size: 12px;
+ font-size: 12px;
}
h6 {
- font-size: 11px;
- color: #999999;
- text-transform: uppercase;
+ font-size: 11px;
+ color: #999999;
+ text-transform: uppercase;
}
.page-header {
- padding-bottom: 17px;
- margin: 18px 0;
- border-bottom: 1px solid #eeeeee;
+ padding-bottom: 17px;
+ margin: 18px 0;
+ border-bottom: 1px solid #eeeeee;
}
.page-header h1 {
- line-height: 1;
+ line-height: 1;
}
ul,
ol {
- padding: 0;
- margin: 0 0 9px 25px;
+ padding: 0;
+ margin: 0 0 9px 25px;
}
ul ul,
ul ol,
ol ol,
ol ul {
- margin-bottom: 0;
+ margin-bottom: 0;
}
ul {
- list-style: disc;
+ list-style: disc;
}
ol {
- list-style: decimal;
+ list-style: decimal;
}
li {
- line-height: 18px;
+ line-height: 18px;
}
ul.unstyled,
ol.unstyled {
- margin-left: 0;
- list-style: none;
+ margin-left: 0;
+ list-style: none;
}
dl {
- margin-bottom: 18px;
+ margin-bottom: 18px;
}
dt,
dd {
- line-height: 18px;
+ line-height: 18px;
}
dt {
- font-weight: bold;
- line-height: 17px;
+ font-weight: bold;
+ line-height: 17px;
}
dd {
- margin-left: 9px;
+ margin-left: 9px;
}
.dl-horizontal dt {
- float: left;
- width: 120px;
- overflow: hidden;
- clear: left;
- text-align: right;
- text-overflow: ellipsis;
- white-space: nowrap;
+ float: left;
+ width: 120px;
+ overflow: hidden;
+ clear: left;
+ text-align: right;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.dl-horizontal dd {
- margin-left: 130px;
+ margin-left: 130px;
}
hr {
- margin: 18px 0;
- border: 0;
- border-top: 1px solid #eeeeee;
- border-bottom: 1px solid #ffffff;
+ margin: 18px 0;
+ border: 0;
+ border-top: 1px solid #eeeeee;
+ border-bottom: 1px solid #ffffff;
}
strong {
- font-weight: bold;
+ font-weight: bold;
}
em {
- font-style: italic;
+ font-style: italic;
}
.muted {
- color: #999999;
+ color: #999999;
}
abbr[title] {
- cursor: help;
- border-bottom: 1px dotted #ddd;
+ cursor: help;
+ border-bottom: 1px dotted #ddd;
}
abbr.initialism {
- font-size: 90%;
- text-transform: uppercase;
+ font-size: 90%;
+ text-transform: uppercase;
}
blockquote {
- padding: 0 0 0 15px;
- margin: 0 0 18px;
- border-left: 5px solid #eeeeee;
+ padding: 0 0 0 15px;
+ margin: 0 0 18px;
+ border-left: 5px solid #eeeeee;
}
blockquote p {
- margin-bottom: 0;
- font-size: 16px;
- font-weight: 300;
- line-height: 22.5px;
+ margin-bottom: 0;
+ font-size: 16px;
+ font-weight: 300;
+ line-height: 22.5px;
}
blockquote small {
- display: block;
- line-height: 18px;
- color: #999999;
+ display: block;
+ line-height: 18px;
+ color: #999999;
}
blockquote small:before {
- content: '\2014 \00A0';
+ content: '\2014 \00A0';
}
blockquote.pull-right {
- float: right;
- padding-right: 15px;
- padding-left: 0;
- border-right: 5px solid #eeeeee;
- border-left: 0;
+ float: right;
+ padding-right: 15px;
+ padding-left: 0;
+ border-right: 5px solid #eeeeee;
+ border-left: 0;
}
blockquote.pull-right p,
blockquote.pull-right small {
- text-align: right;
+ text-align: right;
}
q:before,
q:after,
blockquote:before,
blockquote:after {
- content: "";
+ content: "";
}
address {
- display: block;
- margin-bottom: 18px;
- font-style: normal;
- line-height: 18px;
+ display: block;
+ margin-bottom: 18px;
+ font-style: normal;
+ line-height: 18px;
}
small {
- font-size: 100%;
+ font-size: 100%;
}
cite {
- font-style: normal;
+ font-style: normal;
}
code,
pre {
- padding: 0 3px 2px;
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 12px;
- color: #333333;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
+ padding: 0 3px 2px;
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
+ font-size: 12px;
+ color: #333333;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
}
code {
- padding: 2px 4px;
- color: #d14;
- background-color: #f7f7f9;
- border: 1px solid #e1e1e8;
+ padding: 2px 4px;
+ color: #d14;
+ background-color: #f7f7f9;
+ border: 1px solid #e1e1e8;
}
pre {
- display: block;
- padding: 8.5px;
- margin: 0 0 9px;
- font-size: 12.025px;
- line-height: 18px;
- word-break: break-all;
- word-wrap: break-word;
- white-space: pre;
- white-space: pre-wrap;
- background-color: #f5f5f5;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.15);
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ display: block;
+ padding: 8.5px;
+ margin: 0 0 9px;
+ font-size: 12.025px;
+ line-height: 18px;
+ word-break: break-all;
+ word-wrap: break-word;
+ white-space: pre;
+ white-space: pre-wrap;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
pre.prettyprint {
- margin-bottom: 18px;
+ margin-bottom: 18px;
}
pre code {
- padding: 0;
- color: inherit;
- background-color: transparent;
- border: 0;
+ padding: 0;
+ color: inherit;
+ background-color: transparent;
+ border: 0;
}
.pre-scrollable {
- max-height: 340px;
- overflow-y: scroll;
+ max-height: 340px;
+ overflow-y: scroll;
}
form {
- margin: 0 0 18px;
+ margin: 0 0 18px;
}
fieldset {
- padding: 0;
- margin: 0;
- border: 0;
+ padding: 0;
+ margin: 0;
+ border: 0;
}
legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 27px;
- font-size: 19.5px;
- line-height: 36px;
- color: #333333;
- border: 0;
- border-bottom: 1px solid #eee;
+ display: block;
+ width: 100%;
+ padding: 0;
+ margin-bottom: 27px;
+ font-size: 19.5px;
+ line-height: 36px;
+ color: #333333;
+ border: 0;
+ border-bottom: 1px solid #eee;
}
legend small {
- font-size: 13.5px;
- color: #999999;
+ font-size: 13.5px;
+ color: #999999;
}
label,
@@ -758,225 +759,225 @@ input, button,
select,
textarea {
- font-size: 13px;
- font-weight: normal;
- line-height: 18px;
+ font-size: 13px;
+ font-weight: normal;
+ line-height: 18px;
}
input,
button,
select,
textarea {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
label {
- display: block;
- margin-bottom: 5px;
- color: #333333;
+ display: block;
+ margin-bottom: 5px;
+ color: #333333;
}
input,
textarea,
select,
.uneditable-input {
- display: inline-block;
- width: 210px;
- height: 18px;
- padding: 4px;
- margin-bottom: 9px;
- font-size: 13px;
- line-height: 18px;
- color: #555555;
- background-color: #ffffff;
- border: 1px solid #cccccc;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
+ display: inline-block;
+ width: 210px;
+ height: 18px;
+ padding: 4px;
+ margin-bottom: 9px;
+ font-size: 13px;
+ line-height: 18px;
+ color: #555555;
+ background-color: #ffffff;
+ border: 1px solid #cccccc;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
}
.uneditable-textarea {
- width: auto;
- height: auto;
+ width: auto;
+ height: auto;
}
label input,
label textarea,
label select {
- display: block;
+ display: block;
}
input[type="image"],
input[type="checkbox"],
input[type="radio"] {
- width: auto;
- height: auto;
- padding: 0;
- margin: 3px 0;
- *margin-top: 0;
- /* IE7 */
+ width: auto;
+ height: auto;
+ padding: 0;
+ margin: 3px 0;
+ *margin-top: 0;
+ /* IE7 */
- line-height: normal;
- cursor: pointer;
- background-color: transparent;
- border: 0 \9;
- /* IE9 and down */
+ line-height: normal;
+ cursor: pointer;
+ background-color: transparent;
+ border: 0 \9;
+ /* IE9 and down */
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
}
input[type="image"] {
- border: 0;
+ border: 0;
}
input[type="file"] {
- width: auto;
- padding: initial;
- line-height: initial;
- background-color: #ffffff;
- background-color: initial;
- border: initial;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
+ width: auto;
+ padding: initial;
+ line-height: initial;
+ background-color: #ffffff;
+ background-color: initial;
+ border: initial;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
- width: auto;
- height: auto;
+ width: auto;
+ height: auto;
}
select,
input[type="file"] {
- height: 28px;
- /* In IE7, the height of the select element cannot be changed by height, only font-size */
+ height: 28px;
+ /* In IE7, the height of the select element cannot be changed by height, only font-size */
- *margin-top: 4px;
- /* For IE7, add top margin to align select with labels */
+ *margin-top: 4px;
+ /* For IE7, add top margin to align select with labels */
- line-height: 28px;
+ line-height: 28px;
}
input[type="file"] {
- line-height: 18px \9;
+ line-height: 18px \9;
}
select {
- width: 220px;
- background-color: #ffffff;
+ width: 220px;
+ background-color: #ffffff;
}
select[multiple],
select[size] {
- height: auto;
+ height: auto;
}
input[type="image"] {
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
}
textarea {
- height: auto;
+ height: auto;
}
input[type="hidden"] {
- display: none;
+ display: none;
}
.radio,
.checkbox {
- min-height: 18px;
- padding-left: 18px;
+ min-height: 18px;
+ padding-left: 18px;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
- float: left;
- margin-left: -18px;
+ float: left;
+ margin-left: -18px;
}
.controls > .radio:first-child,
.controls > .checkbox:first-child {
- padding-top: 5px;
+ padding-top: 5px;
}
.radio.inline,
.checkbox.inline {
- display: inline-block;
- padding-top: 5px;
- margin-bottom: 0;
- vertical-align: middle;
+ display: inline-block;
+ padding-top: 5px;
+ margin-bottom: 0;
+ vertical-align: middle;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
- margin-left: 10px;
+ margin-left: 10px;
}
input,
textarea {
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
- -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
- -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
- -o-transition: border linear 0.2s, box-shadow linear 0.2s;
- transition: border linear 0.2s, box-shadow linear 0.2s;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
+ -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
+ -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
+ -o-transition: border linear 0.2s, box-shadow linear 0.2s;
+ transition: border linear 0.2s, box-shadow linear 0.2s;
}
input:focus,
textarea:focus {
- border-color: rgba(82, 168, 236, 0.8);
- outline: 0;
- outline: thin dotted \9;
- /* IE6-9 */
+ border-color: rgba(82, 168, 236, 0.8);
+ outline: 0;
+ outline: thin dotted \9;
+ /* IE6-9 */
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
- outline: thin dotted #333;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
+ outline: thin dotted #333;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
}
.input-mini {
- width: 60px;
+ width: 60px;
}
.input-small {
- width: 90px;
+ width: 90px;
}
.input-medium {
- width: 150px;
+ width: 150px;
}
.input-large {
- width: 210px;
+ width: 210px;
}
.input-xlarge {
- width: 270px;
+ width: 270px;
}
.input-xxlarge {
- width: 530px;
+ width: 530px;
}
input[class*="span"],
@@ -987,86 +988,86 @@ textarea[class*="span"], .row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"] {
- float: none;
- margin-left: 0;
+ float: none;
+ margin-left: 0;
}
input,
textarea,
.uneditable-input {
- margin-left: 0;
+ margin-left: 0;
}
input.span12,
textarea.span12,
.uneditable-input.span12 {
- width: 930px;
+ width: 930px;
}
input.span11,
textarea.span11,
.uneditable-input.span11 {
- width: 850px;
+ width: 850px;
}
input.span10,
textarea.span10,
.uneditable-input.span10 {
- width: 770px;
+ width: 770px;
}
input.span9,
textarea.span9,
.uneditable-input.span9 {
- width: 690px;
+ width: 690px;
}
input.span8,
textarea.span8,
.uneditable-input.span8 {
- width: 610px;
+ width: 610px;
}
input.span7,
textarea.span7,
.uneditable-input.span7 {
- width: 530px;
+ width: 530px;
}
input.span6,
textarea.span6,
.uneditable-input.span6 {
- width: 450px;
+ width: 450px;
}
input.span5,
textarea.span5,
.uneditable-input.span5 {
- width: 370px;
+ width: 370px;
}
input.span4,
textarea.span4,
.uneditable-input.span4 {
- width: 290px;
+ width: 290px;
}
input.span3,
textarea.span3,
.uneditable-input.span3 {
- width: 210px;
+ width: 210px;
}
input.span2,
textarea.span2,
.uneditable-input.span2 {
- width: 130px;
+ width: 130px;
}
input.span1,
textarea.span1,
.uneditable-input.span1 {
- width: 50px;
+ width: 50px;
}
input[disabled],
@@ -1075,180 +1076,180 @@ textarea[disabled], input[readonly],
select[readonly],
textarea[readonly] {
- cursor: not-allowed;
- background-color: #eeeeee;
- border-color: #ddd;
+ cursor: not-allowed;
+ background-color: #eeeeee;
+ border-color: #ddd;
}
input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][readonly],
input[type="checkbox"][readonly] {
- background-color: transparent;
+ background-color: transparent;
}
.control-group.warning > label,
.control-group.warning .help-block,
.control-group.warning .help-inline {
- color: #c09853;
+ color: #c09853;
}
.control-group.warning input,
.control-group.warning select,
.control-group.warning textarea {
- color: #c09853;
- border-color: #c09853;
+ color: #c09853;
+ border-color: #c09853;
}
.control-group.warning input:focus,
.control-group.warning select:focus,
.control-group.warning textarea:focus {
- border-color: #a47e3c;
- -webkit-box-shadow: 0 0 6px #dbc59e;
- -moz-box-shadow: 0 0 6px #dbc59e;
- box-shadow: 0 0 6px #dbc59e;
+ border-color: #a47e3c;
+ -webkit-box-shadow: 0 0 6px #dbc59e;
+ -moz-box-shadow: 0 0 6px #dbc59e;
+ box-shadow: 0 0 6px #dbc59e;
}
.control-group.warning .input-prepend .add-on,
.control-group.warning .input-append .add-on {
- color: #c09853;
- background-color: #fcf8e3;
- border-color: #c09853;
+ color: #c09853;
+ background-color: #fcf8e3;
+ border-color: #c09853;
}
.control-group.error > label,
.control-group.error .help-block,
.control-group.error .help-inline {
- color: #b94a48;
+ color: #b94a48;
}
.control-group.error input,
.control-group.error select,
.control-group.error textarea {
- color: #b94a48;
- border-color: #b94a48;
+ color: #b94a48;
+ border-color: #b94a48;
}
.control-group.error input:focus,
.control-group.error select:focus,
.control-group.error textarea:focus {
- border-color: #953b39;
- -webkit-box-shadow: 0 0 6px #d59392;
- -moz-box-shadow: 0 0 6px #d59392;
- box-shadow: 0 0 6px #d59392;
+ border-color: #953b39;
+ -webkit-box-shadow: 0 0 6px #d59392;
+ -moz-box-shadow: 0 0 6px #d59392;
+ box-shadow: 0 0 6px #d59392;
}
.control-group.error .input-prepend .add-on,
.control-group.error .input-append .add-on {
- color: #b94a48;
- background-color: #f2dede;
- border-color: #b94a48;
+ color: #b94a48;
+ background-color: #f2dede;
+ border-color: #b94a48;
}
.control-group.success > label,
.control-group.success .help-block,
.control-group.success .help-inline {
- color: #468847;
+ color: #468847;
}
.control-group.success input,
.control-group.success select,
.control-group.success textarea {
- color: #468847;
- border-color: #468847;
+ color: #468847;
+ border-color: #468847;
}
.control-group.success input:focus,
.control-group.success select:focus,
.control-group.success textarea:focus {
- border-color: #356635;
- -webkit-box-shadow: 0 0 6px #7aba7b;
- -moz-box-shadow: 0 0 6px #7aba7b;
- box-shadow: 0 0 6px #7aba7b;
+ border-color: #356635;
+ -webkit-box-shadow: 0 0 6px #7aba7b;
+ -moz-box-shadow: 0 0 6px #7aba7b;
+ box-shadow: 0 0 6px #7aba7b;
}
.control-group.success .input-prepend .add-on,
.control-group.success .input-append .add-on {
- color: #468847;
- background-color: #dff0d8;
- border-color: #468847;
+ color: #468847;
+ background-color: #dff0d8;
+ border-color: #468847;
}
input:focus:required:invalid,
textarea:focus:required:invalid,
select:focus:required:invalid {
- color: #b94a48;
- border-color: #ee5f5b;
+ color: #b94a48;
+ border-color: #ee5f5b;
}
input:focus:required:invalid:focus,
textarea:focus:required:invalid:focus,
select:focus:required:invalid:focus {
- border-color: #e9322d;
- -webkit-box-shadow: 0 0 6px #f8b9b7;
- -moz-box-shadow: 0 0 6px #f8b9b7;
- box-shadow: 0 0 6px #f8b9b7;
+ border-color: #e9322d;
+ -webkit-box-shadow: 0 0 6px #f8b9b7;
+ -moz-box-shadow: 0 0 6px #f8b9b7;
+ box-shadow: 0 0 6px #f8b9b7;
}
.form-actions {
- padding: 17px 20px 18px;
- margin-top: 18px;
- margin-bottom: 18px;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- *zoom: 1;
+ padding: 17px 20px 18px;
+ margin-top: 18px;
+ margin-bottom: 18px;
+ background-color: #f5f5f5;
+ border-top: 1px solid #ddd;
+ *zoom: 1;
}
.form-actions:before,
.form-actions:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.form-actions:after {
- clear: both;
+ clear: both;
}
.uneditable-input {
- overflow: hidden;
- white-space: nowrap;
- cursor: not-allowed;
- background-color: #ffffff;
- border-color: #eee;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
- -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
+ overflow: hidden;
+ white-space: nowrap;
+ cursor: not-allowed;
+ background-color: #ffffff;
+ border-color: #eee;
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
}
:-moz-placeholder {
- color: #999999;
+ color: #999999;
}
::-webkit-input-placeholder {
- color: #999999;
+ color: #999999;
}
.help-block,
.help-inline {
- color: #555555;
+ color: #555555;
}
.help-block {
- display: block;
- margin-bottom: 9px;
+ display: block;
+ margin-bottom: 9px;
}
.help-inline {
- display: inline-block;
- *display: inline;
- padding-left: 5px;
- vertical-align: middle;
- *zoom: 1;
+ display: inline-block;
+ *display: inline;
+ padding-left: 5px;
+ vertical-align: middle;
+ *zoom: 1;
}
.input-prepend,
.input-append {
- margin-bottom: 5px;
+ margin-bottom: 5px;
}
.input-prepend input,
@@ -1257,13 +1258,13 @@ select:focus:required:invalid:focus { .input-append select,
.input-prepend .uneditable-input,
.input-append .uneditable-input {
- position: relative;
- margin-bottom: 0;
- *margin-left: 0;
- vertical-align: middle;
- -webkit-border-radius: 0 3px 3px 0;
- -moz-border-radius: 0 3px 3px 0;
- border-radius: 0 3px 3px 0;
+ position: relative;
+ margin-bottom: 0;
+ *margin-left: 0;
+ vertical-align: middle;
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
}
.input-prepend input:focus,
@@ -1272,113 +1273,113 @@ select:focus:required:invalid:focus { .input-append select:focus,
.input-prepend .uneditable-input:focus,
.input-append .uneditable-input:focus {
- z-index: 2;
+ z-index: 2;
}
.input-prepend .uneditable-input,
.input-append .uneditable-input {
- border-left-color: #ccc;
+ border-left-color: #ccc;
}
.input-prepend .add-on,
.input-append .add-on {
- display: inline-block;
- width: auto;
- height: 18px;
- min-width: 16px;
- padding: 4px 5px;
- font-weight: normal;
- line-height: 18px;
- text-align: center;
- text-shadow: 0 1px 0 #ffffff;
- vertical-align: middle;
- background-color: #eeeeee;
- border: 1px solid #ccc;
+ display: inline-block;
+ width: auto;
+ height: 18px;
+ min-width: 16px;
+ padding: 4px 5px;
+ font-weight: normal;
+ line-height: 18px;
+ text-align: center;
+ text-shadow: 0 1px 0 #ffffff;
+ vertical-align: middle;
+ background-color: #eeeeee;
+ border: 1px solid #ccc;
}
.input-prepend .add-on,
.input-append .add-on,
.input-prepend .btn,
.input-append .btn {
- margin-left: -1px;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
+ margin-left: -1px;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
}
.input-prepend .active,
.input-append .active {
- background-color: #a9dba9;
- border-color: #46a546;
+ background-color: #a9dba9;
+ border-color: #46a546;
}
.input-prepend .add-on,
.input-prepend .btn {
- margin-right: -1px;
+ margin-right: -1px;
}
.input-prepend .add-on:first-child,
.input-prepend .btn:first-child {
- -webkit-border-radius: 3px 0 0 3px;
- -moz-border-radius: 3px 0 0 3px;
- border-radius: 3px 0 0 3px;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
}
.input-append input,
.input-append select,
.input-append .uneditable-input {
- -webkit-border-radius: 3px 0 0 3px;
- -moz-border-radius: 3px 0 0 3px;
- border-radius: 3px 0 0 3px;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
}
.input-append .uneditable-input {
- border-right-color: #ccc;
- border-left-color: #eee;
+ border-right-color: #ccc;
+ border-left-color: #eee;
}
.input-append .add-on:last-child,
.input-append .btn:last-child {
- -webkit-border-radius: 0 3px 3px 0;
- -moz-border-radius: 0 3px 3px 0;
- border-radius: 0 3px 3px 0;
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
}
.input-prepend.input-append input,
.input-prepend.input-append select,
.input-prepend.input-append .uneditable-input {
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
}
.input-prepend.input-append .add-on:first-child,
.input-prepend.input-append .btn:first-child {
- margin-right: -1px;
- -webkit-border-radius: 3px 0 0 3px;
- -moz-border-radius: 3px 0 0 3px;
- border-radius: 3px 0 0 3px;
+ margin-right: -1px;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
}
.input-prepend.input-append .add-on:last-child,
.input-prepend.input-append .btn:last-child {
- margin-left: -1px;
- -webkit-border-radius: 0 3px 3px 0;
- -moz-border-radius: 0 3px 3px 0;
- border-radius: 0 3px 3px 0;
+ margin-left: -1px;
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
}
.search-query {
- padding-right: 14px;
- padding-right: 4px \9;
- padding-left: 14px;
- padding-left: 4px \9;
- /* IE7-8 doesn't have border-radius, so don't indent the padding */
+ padding-right: 14px;
+ padding-right: 4px \9;
+ padding-left: 14px;
+ padding-left: 4px \9;
+ /* IE7-8 doesn't have border-radius, so don't indent the padding */
- margin-bottom: 0;
- -webkit-border-radius: 14px;
- -moz-border-radius: 14px;
- border-radius: 14px;
+ margin-bottom: 0;
+ -webkit-border-radius: 14px;
+ -moz-border-radius: 14px;
+ border-radius: 14px;
}
.form-search input,
@@ -1402,126 +1403,126 @@ select:focus:required:invalid:focus { .form-search .input-append,
.form-inline .input-append,
.form-horizontal .input-append {
- display: inline-block;
- *display: inline;
- margin-bottom: 0;
- *zoom: 1;
+ display: inline-block;
+ *display: inline;
+ margin-bottom: 0;
+ *zoom: 1;
}
.form-search .hide,
.form-inline .hide,
.form-horizontal .hide {
- display: none;
+ display: none;
}
.form-search label,
.form-inline label {
- display: inline-block;
+ display: inline-block;
}
.form-search .input-append,
.form-inline .input-append,
.form-search .input-prepend,
.form-inline .input-prepend {
- margin-bottom: 0;
+ margin-bottom: 0;
}
.form-search .radio,
.form-search .checkbox,
.form-inline .radio,
.form-inline .checkbox {
- padding-left: 0;
- margin-bottom: 0;
- vertical-align: middle;
+ padding-left: 0;
+ margin-bottom: 0;
+ vertical-align: middle;
}
.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"],
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
- float: left;
- margin-right: 3px;
- margin-left: 0;
+ float: left;
+ margin-right: 3px;
+ margin-left: 0;
}
.control-group {
- margin-bottom: 9px;
+ margin-bottom: 9px;
}
legend + .control-group {
- margin-top: 18px;
- -webkit-margin-top-collapse: separate;
+ margin-top: 18px;
+ -webkit-margin-top-collapse: separate;
}
.form-horizontal .control-group {
- margin-bottom: 18px;
- *zoom: 1;
+ margin-bottom: 18px;
+ *zoom: 1;
}
.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.form-horizontal .control-group:after {
- clear: both;
+ clear: both;
}
.form-horizontal .control-label {
- float: left;
- width: 140px;
- padding-top: 5px;
- text-align: right;
+ float: left;
+ width: 140px;
+ padding-top: 5px;
+ text-align: right;
}
.form-horizontal .controls {
- *display: inline-block;
- *padding-left: 20px;
- margin-left: 160px;
- *margin-left: 0;
+ *display: inline-block;
+ *padding-left: 20px;
+ margin-left: 160px;
+ *margin-left: 0;
}
.form-horizontal .controls:first-child {
- *padding-left: 160px;
+ *padding-left: 160px;
}
.form-horizontal .help-block {
- margin-top: 9px;
- margin-bottom: 0;
+ margin-top: 9px;
+ margin-bottom: 0;
}
.form-horizontal .form-actions {
- padding-left: 160px;
+ padding-left: 160px;
}
table {
- max-width: 100%;
- background-color: transparent;
- border-collapse: collapse;
- border-spacing: 0;
+ max-width: 100%;
+ background-color: transparent;
+ border-collapse: collapse;
+ border-spacing: 0;
}
.table {
- width: 100%;
- margin-bottom: 18px;
+ width: 100%;
+ margin-bottom: 18px;
}
.table th,
.table td {
- padding: 8px;
- line-height: 18px;
- text-align: left;
- vertical-align: top;
- border-top: 1px solid #dddddd;
+ padding: 8px;
+ line-height: 18px;
+ text-align: left;
+ vertical-align: top;
+ border-top: 1px solid #dddddd;
}
.table th {
- font-weight: bold;
+ font-weight: bold;
}
.table thead th {
- vertical-align: bottom;
+ vertical-align: bottom;
}
.table caption + thead tr:first-child th,
@@ -1530,31 +1531,31 @@ table { .table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
- border-top: 0;
+ border-top: 0;
}
.table tbody + tbody {
- border-top: 2px solid #dddddd;
+ border-top: 2px solid #dddddd;
}
.table-condensed th,
.table-condensed td {
- padding: 4px 5px;
+ padding: 4px 5px;
}
.table-bordered {
- border: 1px solid #dddddd;
- border-collapse: separate;
- *border-collapse: collapsed;
- border-left: 0;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ border: 1px solid #dddddd;
+ border-collapse: separate;
+ *border-collapse: collapsed;
+ border-left: 0;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.table-bordered th,
.table-bordered td {
- border-left: 1px solid #dddddd;
+ border-left: 1px solid #dddddd;
}
.table-bordered caption + thead tr:first-child th,
@@ -1566,1036 +1567,1036 @@ table { .table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
- border-top: 0;
+ border-top: 0;
}
.table-bordered thead:first-child tr:first-child th:first-child,
.table-bordered tbody:first-child tr:first-child td:first-child {
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-topleft: 4px;
+ -webkit-border-top-left-radius: 4px;
+ border-top-left-radius: 4px;
+ -moz-border-radius-topleft: 4px;
}
.table-bordered thead:first-child tr:first-child th:last-child,
.table-bordered tbody:first-child tr:first-child td:last-child {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -moz-border-radius-topright: 4px;
+ -webkit-border-top-right-radius: 4px;
+ border-top-right-radius: 4px;
+ -moz-border-radius-topright: 4px;
}
.table-bordered thead:last-child tr:last-child th:first-child,
.table-bordered tbody:last-child tr:last-child td:first-child {
- -webkit-border-radius: 0 0 0 4px;
- -moz-border-radius: 0 0 0 4px;
- border-radius: 0 0 0 4px;
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px;
+ -webkit-border-radius: 0 0 0 4px;
+ -moz-border-radius: 0 0 0 4px;
+ border-radius: 0 0 0 4px;
+ -webkit-border-bottom-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+ -moz-border-radius-bottomleft: 4px;
}
.table-bordered thead:last-child tr:last-child th:last-child,
.table-bordered tbody:last-child tr:last-child td:last-child {
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-bottomright: 4px;
+ -webkit-border-bottom-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
}
.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
- background-color: #f9f9f9;
+ background-color: #f9f9f9;
}
.table tbody tr:hover td,
.table tbody tr:hover th {
- background-color: #f5f5f5;
+ background-color: #f5f5f5;
}
table .span1 {
- float: none;
- width: 44px;
- margin-left: 0;
+ float: none;
+ width: 44px;
+ margin-left: 0;
}
table .span2 {
- float: none;
- width: 124px;
- margin-left: 0;
+ float: none;
+ width: 124px;
+ margin-left: 0;
}
table .span3 {
- float: none;
- width: 204px;
- margin-left: 0;
+ float: none;
+ width: 204px;
+ margin-left: 0;
}
table .span4 {
- float: none;
- width: 284px;
- margin-left: 0;
+ float: none;
+ width: 284px;
+ margin-left: 0;
}
table .span5 {
- float: none;
- width: 364px;
- margin-left: 0;
+ float: none;
+ width: 364px;
+ margin-left: 0;
}
table .span6 {
- float: none;
- width: 444px;
- margin-left: 0;
+ float: none;
+ width: 444px;
+ margin-left: 0;
}
table .span7 {
- float: none;
- width: 524px;
- margin-left: 0;
+ float: none;
+ width: 524px;
+ margin-left: 0;
}
table .span8 {
- float: none;
- width: 604px;
- margin-left: 0;
+ float: none;
+ width: 604px;
+ margin-left: 0;
}
table .span9 {
- float: none;
- width: 684px;
- margin-left: 0;
+ float: none;
+ width: 684px;
+ margin-left: 0;
}
table .span10 {
- float: none;
- width: 764px;
- margin-left: 0;
+ float: none;
+ width: 764px;
+ margin-left: 0;
}
table .span11 {
- float: none;
- width: 844px;
- margin-left: 0;
+ float: none;
+ width: 844px;
+ margin-left: 0;
}
table .span12 {
- float: none;
- width: 924px;
- margin-left: 0;
+ float: none;
+ width: 924px;
+ margin-left: 0;
}
table .span13 {
- float: none;
- width: 1004px;
- margin-left: 0;
+ float: none;
+ width: 1004px;
+ margin-left: 0;
}
table .span14 {
- float: none;
- width: 1084px;
- margin-left: 0;
+ float: none;
+ width: 1084px;
+ margin-left: 0;
}
table .span15 {
- float: none;
- width: 1164px;
- margin-left: 0;
+ float: none;
+ width: 1164px;
+ margin-left: 0;
}
table .span16 {
- float: none;
- width: 1244px;
- margin-left: 0;
+ float: none;
+ width: 1244px;
+ margin-left: 0;
}
table .span17 {
- float: none;
- width: 1324px;
- margin-left: 0;
+ float: none;
+ width: 1324px;
+ margin-left: 0;
}
table .span18 {
- float: none;
- width: 1404px;
- margin-left: 0;
+ float: none;
+ width: 1404px;
+ margin-left: 0;
}
table .span19 {
- float: none;
- width: 1484px;
- margin-left: 0;
+ float: none;
+ width: 1484px;
+ margin-left: 0;
}
table .span20 {
- float: none;
- width: 1564px;
- margin-left: 0;
+ float: none;
+ width: 1564px;
+ margin-left: 0;
}
table .span21 {
- float: none;
- width: 1644px;
- margin-left: 0;
+ float: none;
+ width: 1644px;
+ margin-left: 0;
}
table .span22 {
- float: none;
- width: 1724px;
- margin-left: 0;
+ float: none;
+ width: 1724px;
+ margin-left: 0;
}
table .span23 {
- float: none;
- width: 1804px;
- margin-left: 0;
+ float: none;
+ width: 1804px;
+ margin-left: 0;
}
table .span24 {
- float: none;
- width: 1884px;
- margin-left: 0;
+ float: none;
+ width: 1884px;
+ margin-left: 0;
}
[class^="icon-"],
[class*=" icon-"] {
- display: inline-block;
- width: 14px;
- height: 14px;
- *margin-right: .3em;
- line-height: 14px;
- vertical-align: text-top;
- background-image: url("../img/glyphicons-halflings.png");
- background-position: 14px 14px;
- background-repeat: no-repeat;
+ display: inline-block;
+ width: 14px;
+ height: 14px;
+ *margin-right: .3em;
+ line-height: 14px;
+ vertical-align: text-top;
+ background-image: url("../img/glyphicons-halflings.png");
+ background-position: 14px 14px;
+ background-repeat: no-repeat;
}
[class^="icon-"]:last-child,
[class*=" icon-"]:last-child {
- *margin-left: 0;
+ *margin-left: 0;
}
.icon-white {
- background-image: url("../img/glyphicons-halflings-white.png");
+ background-image: url("../img/glyphicons-halflings-white.png");
}
.icon-glass {
- background-position: 0 0;
+ background-position: 0 0;
}
.icon-music {
- background-position: -24px 0;
+ background-position: -24px 0;
}
.icon-search {
- background-position: -48px 0;
+ background-position: -48px 0;
}
.icon-envelope {
- background-position: -72px 0;
+ background-position: -72px 0;
}
.icon-heart {
- background-position: -96px 0;
+ background-position: -96px 0;
}
.icon-star {
- background-position: -120px 0;
+ background-position: -120px 0;
}
.icon-star-empty {
- background-position: -144px 0;
+ background-position: -144px 0;
}
.icon-user {
- background-position: -168px 0;
+ background-position: -168px 0;
}
.icon-film {
- background-position: -192px 0;
+ background-position: -192px 0;
}
.icon-th-large {
- background-position: -216px 0;
+ background-position: -216px 0;
}
.icon-th {
- background-position: -240px 0;
+ background-position: -240px 0;
}
.icon-th-list {
- background-position: -264px 0;
+ background-position: -264px 0;
}
.icon-ok {
- background-position: -288px 0;
+ background-position: -288px 0;
}
.icon-remove {
- background-position: -312px 0;
+ background-position: -312px 0;
}
.icon-zoom-in {
- background-position: -336px 0;
+ background-position: -336px 0;
}
.icon-zoom-out {
- background-position: -360px 0;
+ background-position: -360px 0;
}
.icon-off {
- background-position: -384px 0;
+ background-position: -384px 0;
}
.icon-signal {
- background-position: -408px 0;
+ background-position: -408px 0;
}
.icon-cog {
- background-position: -432px 0;
+ background-position: -432px 0;
}
.icon-trash {
- background-position: -456px 0;
+ background-position: -456px 0;
}
.icon-home {
- background-position: 0 -24px;
+ background-position: 0 -24px;
}
.icon-file {
- background-position: -24px -24px;
+ background-position: -24px -24px;
}
.icon-time {
- background-position: -48px -24px;
+ background-position: -48px -24px;
}
.icon-road {
- background-position: -72px -24px;
+ background-position: -72px -24px;
}
.icon-download-alt {
- background-position: -96px -24px;
+ background-position: -96px -24px;
}
.icon-download {
- background-position: -120px -24px;
+ background-position: -120px -24px;
}
.icon-upload {
- background-position: -144px -24px;
+ background-position: -144px -24px;
}
.icon-inbox {
- background-position: -168px -24px;
+ background-position: -168px -24px;
}
.icon-play-circle {
- background-position: -192px -24px;
+ background-position: -192px -24px;
}
.icon-repeat {
- background-position: -216px -24px;
+ background-position: -216px -24px;
}
.icon-refresh {
- background-position: -240px -24px;
+ background-position: -240px -24px;
}
.icon-list-alt {
- background-position: -264px -24px;
+ background-position: -264px -24px;
}
.icon-lock {
- background-position: -287px -24px;
+ background-position: -287px -24px;
}
.icon-flag {
- background-position: -312px -24px;
+ background-position: -312px -24px;
}
.icon-headphones {
- background-position: -336px -24px;
+ background-position: -336px -24px;
}
.icon-volume-off {
- background-position: -360px -24px;
+ background-position: -360px -24px;
}
.icon-volume-down {
- background-position: -384px -24px;
+ background-position: -384px -24px;
}
.icon-volume-up {
- background-position: -408px -24px;
+ background-position: -408px -24px;
}
.icon-qrcode {
- background-position: -432px -24px;
+ background-position: -432px -24px;
}
.icon-barcode {
- background-position: -456px -24px;
+ background-position: -456px -24px;
}
.icon-tag {
- background-position: 0 -48px;
+ background-position: 0 -48px;
}
.icon-tags {
- background-position: -25px -48px;
+ background-position: -25px -48px;
}
.icon-book {
- background-position: -48px -48px;
+ background-position: -48px -48px;
}
.icon-bookmark {
- background-position: -72px -48px;
+ background-position: -72px -48px;
}
.icon-print {
- background-position: -96px -48px;
+ background-position: -96px -48px;
}
.icon-camera {
- background-position: -120px -48px;
+ background-position: -120px -48px;
}
.icon-font {
- background-position: -144px -48px;
+ background-position: -144px -48px;
}
.icon-bold {
- background-position: -167px -48px;
+ background-position: -167px -48px;
}
.icon-italic {
- background-position: -192px -48px;
+ background-position: -192px -48px;
}
.icon-text-height {
- background-position: -216px -48px;
+ background-position: -216px -48px;
}
.icon-text-width {
- background-position: -240px -48px;
+ background-position: -240px -48px;
}
.icon-align-left {
- background-position: -264px -48px;
+ background-position: -264px -48px;
}
.icon-align-center {
- background-position: -288px -48px;
+ background-position: -288px -48px;
}
.icon-align-right {
- background-position: -312px -48px;
+ background-position: -312px -48px;
}
.icon-align-justify {
- background-position: -336px -48px;
+ background-position: -336px -48px;
}
.icon-list {
- background-position: -360px -48px;
+ background-position: -360px -48px;
}
.icon-indent-left {
- background-position: -384px -48px;
+ background-position: -384px -48px;
}
.icon-indent-right {
- background-position: -408px -48px;
+ background-position: -408px -48px;
}
.icon-facetime-video {
- background-position: -432px -48px;
+ background-position: -432px -48px;
}
.icon-picture {
- background-position: -456px -48px;
+ background-position: -456px -48px;
}
.icon-pencil {
- background-position: 0 -72px;
+ background-position: 0 -72px;
}
.icon-map-marker {
- background-position: -24px -72px;
+ background-position: -24px -72px;
}
.icon-adjust {
- background-position: -48px -72px;
+ background-position: -48px -72px;
}
.icon-tint {
- background-position: -72px -72px;
+ background-position: -72px -72px;
}
.icon-edit {
- background-position: -96px -72px;
+ background-position: -96px -72px;
}
.icon-share {
- background-position: -120px -72px;
+ background-position: -120px -72px;
}
.icon-check {
- background-position: -144px -72px;
+ background-position: -144px -72px;
}
.icon-move {
- background-position: -168px -72px;
+ background-position: -168px -72px;
}
.icon-step-backward {
- background-position: -192px -72px;
+ background-position: -192px -72px;
}
.icon-fast-backward {
- background-position: -216px -72px;
+ background-position: -216px -72px;
}
.icon-backward {
- background-position: -240px -72px;
+ background-position: -240px -72px;
}
.icon-play {
- background-position: -264px -72px;
+ background-position: -264px -72px;
}
.icon-pause {
- background-position: -288px -72px;
+ background-position: -288px -72px;
}
.icon-stop {
- background-position: -312px -72px;
+ background-position: -312px -72px;
}
.icon-forward {
- background-position: -336px -72px;
+ background-position: -336px -72px;
}
.icon-fast-forward {
- background-position: -360px -72px;
+ background-position: -360px -72px;
}
.icon-step-forward {
- background-position: -384px -72px;
+ background-position: -384px -72px;
}
.icon-eject {
- background-position: -408px -72px;
+ background-position: -408px -72px;
}
.icon-chevron-left {
- background-position: -432px -72px;
+ background-position: -432px -72px;
}
.icon-chevron-right {
- background-position: -456px -72px;
+ background-position: -456px -72px;
}
.icon-plus-sign {
- background-position: 0 -96px;
+ background-position: 0 -96px;
}
.icon-minus-sign {
- background-position: -24px -96px;
+ background-position: -24px -96px;
}
.icon-remove-sign {
- background-position: -48px -96px;
+ background-position: -48px -96px;
}
.icon-ok-sign {
- background-position: -72px -96px;
+ background-position: -72px -96px;
}
.icon-question-sign {
- background-position: -96px -96px;
+ background-position: -96px -96px;
}
.icon-info-sign {
- background-position: -120px -96px;
+ background-position: -120px -96px;
}
.icon-screenshot {
- background-position: -144px -96px;
+ background-position: -144px -96px;
}
.icon-remove-circle {
- background-position: -168px -96px;
+ background-position: -168px -96px;
}
.icon-ok-circle {
- background-position: -192px -96px;
+ background-position: -192px -96px;
}
.icon-ban-circle {
- background-position: -216px -96px;
+ background-position: -216px -96px;
}
.icon-arrow-left {
- background-position: -240px -96px;
+ background-position: -240px -96px;
}
.icon-arrow-right {
- background-position: -264px -96px;
+ background-position: -264px -96px;
}
.icon-arrow-up {
- background-position: -289px -96px;
+ background-position: -289px -96px;
}
.icon-arrow-down {
- background-position: -312px -96px;
+ background-position: -312px -96px;
}
.icon-share-alt {
- background-position: -336px -96px;
+ background-position: -336px -96px;
}
.icon-resize-full {
- background-position: -360px -96px;
+ background-position: -360px -96px;
}
.icon-resize-small {
- background-position: -384px -96px;
+ background-position: -384px -96px;
}
.icon-plus {
- background-position: -408px -96px;
+ background-position: -408px -96px;
}
.icon-minus {
- background-position: -433px -96px;
+ background-position: -433px -96px;
}
.icon-asterisk {
- background-position: -456px -96px;
+ background-position: -456px -96px;
}
.icon-exclamation-sign {
- background-position: 0 -120px;
+ background-position: 0 -120px;
}
.icon-gift {
- background-position: -24px -120px;
+ background-position: -24px -120px;
}
.icon-leaf {
- background-position: -48px -120px;
+ background-position: -48px -120px;
}
.icon-fire {
- background-position: -72px -120px;
+ background-position: -72px -120px;
}
.icon-eye-open {
- background-position: -96px -120px;
+ background-position: -96px -120px;
}
.icon-eye-close {
- background-position: -120px -120px;
+ background-position: -120px -120px;
}
.icon-warning-sign {
- background-position: -144px -120px;
+ background-position: -144px -120px;
}
.icon-plane {
- background-position: -168px -120px;
+ background-position: -168px -120px;
}
.icon-calendar {
- background-position: -192px -120px;
+ background-position: -192px -120px;
}
.icon-random {
- background-position: -216px -120px;
+ background-position: -216px -120px;
}
.icon-comment {
- background-position: -240px -120px;
+ background-position: -240px -120px;
}
.icon-magnet {
- background-position: -264px -120px;
+ background-position: -264px -120px;
}
.icon-chevron-up {
- background-position: -288px -120px;
+ background-position: -288px -120px;
}
.icon-chevron-down {
- background-position: -313px -119px;
+ background-position: -313px -119px;
}
.icon-retweet {
- background-position: -336px -120px;
+ background-position: -336px -120px;
}
.icon-shopping-cart {
- background-position: -360px -120px;
+ background-position: -360px -120px;
}
.icon-folder-close {
- background-position: -384px -120px;
+ background-position: -384px -120px;
}
.icon-folder-open {
- background-position: -408px -120px;
+ background-position: -408px -120px;
}
.icon-resize-vertical {
- background-position: -432px -119px;
+ background-position: -432px -119px;
}
.icon-resize-horizontal {
- background-position: -456px -118px;
+ background-position: -456px -118px;
}
.icon-hdd {
- background-position: 0 -144px;
+ background-position: 0 -144px;
}
.icon-bullhorn {
- background-position: -24px -144px;
+ background-position: -24px -144px;
}
.icon-bell {
- background-position: -48px -144px;
+ background-position: -48px -144px;
}
.icon-certificate {
- background-position: -72px -144px;
+ background-position: -72px -144px;
}
.icon-thumbs-up {
- background-position: -96px -144px;
+ background-position: -96px -144px;
}
.icon-thumbs-down {
- background-position: -120px -144px;
+ background-position: -120px -144px;
}
.icon-hand-right {
- background-position: -144px -144px;
+ background-position: -144px -144px;
}
.icon-hand-left {
- background-position: -168px -144px;
+ background-position: -168px -144px;
}
.icon-hand-up {
- background-position: -192px -144px;
+ background-position: -192px -144px;
}
.icon-hand-down {
- background-position: -216px -144px;
+ background-position: -216px -144px;
}
.icon-circle-arrow-right {
- background-position: -240px -144px;
+ background-position: -240px -144px;
}
.icon-circle-arrow-left {
- background-position: -264px -144px;
+ background-position: -264px -144px;
}
.icon-circle-arrow-up {
- background-position: -288px -144px;
+ background-position: -288px -144px;
}
.icon-circle-arrow-down {
- background-position: -312px -144px;
+ background-position: -312px -144px;
}
.icon-globe {
- background-position: -336px -144px;
+ background-position: -336px -144px;
}
.icon-wrench {
- background-position: -360px -144px;
+ background-position: -360px -144px;
}
.icon-tasks {
- background-position: -384px -144px;
+ background-position: -384px -144px;
}
.icon-filter {
- background-position: -408px -144px;
+ background-position: -408px -144px;
}
.icon-briefcase {
- background-position: -432px -144px;
+ background-position: -432px -144px;
}
.icon-fullscreen {
- background-position: -456px -144px;
+ background-position: -456px -144px;
}
.dropup,
.dropdown {
- position: relative;
+ position: relative;
}
.dropdown-toggle {
- *margin-bottom: -3px;
+ *margin-bottom: -3px;
}
.dropdown-toggle:active,
.open .dropdown-toggle {
- outline: 0;
+ outline: 0;
}
.caret {
- display: inline-block;
- width: 0;
- height: 0;
- vertical-align: top;
- border-top: 4px solid #000000;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
- content: "";
- opacity: 0.3;
- filter: alpha(opacity=30);
+ display: inline-block;
+ width: 0;
+ height: 0;
+ vertical-align: top;
+ border-top: 4px solid #000000;
+ border-right: 4px solid transparent;
+ border-left: 4px solid transparent;
+ content: "";
+ opacity: 0.3;
+ filter: alpha(opacity=30);
}
.dropdown .caret {
- margin-top: 8px;
- margin-left: 2px;
+ margin-top: 8px;
+ margin-left: 2px;
}
.dropdown:hover .caret,
.open .caret {
- opacity: 1;
- filter: alpha(opacity=100);
+ opacity: 1;
+ filter: alpha(opacity=100);
}
.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 4px 0;
- margin: 1px 0 0;
- list-style: none;
- background-color: #ffffff;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- *border-right-width: 2px;
- *border-bottom-width: 2px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding;
- background-clip: padding-box;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ z-index: 1000;
+ display: none;
+ float: left;
+ min-width: 160px;
+ padding: 4px 0;
+ margin: 1px 0 0;
+ list-style: none;
+ background-color: #ffffff;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ *border-right-width: 2px;
+ *border-bottom-width: 2px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding;
+ background-clip: padding-box;
}
.dropdown-menu.pull-right {
- right: 0;
- left: auto;
+ right: 0;
+ left: auto;
}
.dropdown-menu .divider {
- *width: 100%;
- height: 1px;
- margin: 8px 1px;
- *margin: -5px 0 5px;
- overflow: hidden;
- background-color: #e5e5e5;
- border-bottom: 1px solid #ffffff;
+ *width: 100%;
+ height: 1px;
+ margin: 8px 1px;
+ *margin: -5px 0 5px;
+ overflow: hidden;
+ background-color: #e5e5e5;
+ border-bottom: 1px solid #ffffff;
}
.dropdown-menu a {
- display: block;
- padding: 3px 15px;
- clear: both;
- font-weight: normal;
- line-height: 18px;
- color: #333333;
- white-space: nowrap;
+ display: block;
+ padding: 3px 15px;
+ clear: both;
+ font-weight: normal;
+ line-height: 18px;
+ color: #333333;
+ white-space: nowrap;
}
.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
- color: #ffffff;
- text-decoration: none;
- background-color: #0088cc;
+ color: #ffffff;
+ text-decoration: none;
+ background-color: #0088cc;
}
.open {
- *z-index: 1000;
+ *z-index: 1000;
}
.open .dropdown-menu {
- display: block;
+ display: block;
}
.pull-right .dropdown-menu {
- right: 0;
- left: auto;
+ right: 0;
+ left: auto;
}
.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
- border-top: 0;
- border-bottom: 4px solid #000000;
- content: "\2191";
+ border-top: 0;
+ border-bottom: 4px solid #000000;
+ content: "\2191";
}
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 1px;
+ top: auto;
+ bottom: 100%;
+ margin-bottom: 1px;
}
.typeahead {
- margin-top: 2px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ margin-top: 2px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #eee;
- border: 1px solid rgba(0, 0, 0, 0.05);
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
+ min-height: 20px;
+ padding: 19px;
+ margin-bottom: 20px;
+ background-color: #f5f5f5;
+ border: 1px solid #eee;
+ border: 1px solid rgba(0, 0, 0, 0.05);
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, 0.15);
+ border-color: #ddd;
+ border-color: rgba(0, 0, 0, 0.15);
}
.well-large {
- padding: 24px;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
+ padding: 24px;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
}
.well-small {
- padding: 9px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
+ padding: 9px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
}
.fade {
- opacity: 0;
- filter: alpha(opacity=0);
- -webkit-transition: opacity 0.15s linear;
- -moz-transition: opacity 0.15s linear;
- -ms-transition: opacity 0.15s linear;
- -o-transition: opacity 0.15s linear;
- transition: opacity 0.15s linear;
+ opacity: 0;
+ filter: alpha(opacity=0);
+ -webkit-transition: opacity 0.15s linear;
+ -moz-transition: opacity 0.15s linear;
+ -ms-transition: opacity 0.15s linear;
+ -o-transition: opacity 0.15s linear;
+ transition: opacity 0.15s linear;
}
.fade.in {
- opacity: 1;
- filter: alpha(opacity=100);
+ opacity: 1;
+ filter: alpha(opacity=100);
}
.collapse {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition: height 0.35s ease;
- -moz-transition: height 0.35s ease;
- -ms-transition: height 0.35s ease;
- -o-transition: height 0.35s ease;
- transition: height 0.35s ease;
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ -webkit-transition: height 0.35s ease;
+ -moz-transition: height 0.35s ease;
+ -ms-transition: height 0.35s ease;
+ -o-transition: height 0.35s ease;
+ transition: height 0.35s ease;
}
.collapse.in {
- height: auto;
+ height: auto;
}
.close {
- float: right;
- font-size: 20px;
- font-weight: bold;
- line-height: 18px;
- color: #000000;
- text-shadow: 0 1px 0 #ffffff;
- opacity: 0.2;
- filter: alpha(opacity=20);
+ float: right;
+ font-size: 20px;
+ font-weight: bold;
+ line-height: 18px;
+ color: #000000;
+ text-shadow: 0 1px 0 #ffffff;
+ opacity: 0.2;
+ filter: alpha(opacity=20);
}
.close:hover {
- color: #000000;
- text-decoration: none;
- cursor: pointer;
- opacity: 0.4;
- filter: alpha(opacity=40);
+ color: #000000;
+ text-decoration: none;
+ cursor: pointer;
+ opacity: 0.4;
+ filter: alpha(opacity=40);
}
button.close {
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
- -webkit-appearance: none;
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
}
.btn {
- display: inline-block;
- *display: inline;
- padding: 4px 10px 4px;
- margin-bottom: 0;
- *margin-left: .3em;
- font-size: 13px;
- line-height: 18px;
- *line-height: 20px;
- color: #333333;
- text-align: center;
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
- vertical-align: middle;
- cursor: pointer;
- background-color: #f5f5f5;
- *background-color: #e6e6e6;
- background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
- background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
- background-repeat: repeat-x;
- border: 1px solid #cccccc;
- *border: 0;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- border-color: #e6e6e6 #e6e6e6 #bfbfbf;
- border-bottom-color: #b3b3b3;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
- *zoom: 1;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ display: inline-block;
+ *display: inline;
+ padding: 4px 10px 4px;
+ margin-bottom: 0;
+ *margin-left: .3em;
+ font-size: 13px;
+ line-height: 18px;
+ *line-height: 20px;
+ color: #333333;
+ text-align: center;
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
+ vertical-align: middle;
+ cursor: pointer;
+ background-color: #f5f5f5;
+ *background-color: #e6e6e6;
+ background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
+ background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
+ background-repeat: repeat-x;
+ border: 1px solid #cccccc;
+ *border: 0;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
+ border-bottom-color: #b3b3b3;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ *zoom: 1;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn:hover,
@@ -2603,90 +2604,90 @@ button.close { .btn.active,
.btn.disabled,
.btn[disabled] {
- background-color: #e6e6e6;
- *background-color: #d9d9d9;
+ background-color: #e6e6e6;
+ *background-color: #d9d9d9;
}
.btn:active,
.btn.active {
- background-color: #cccccc \9;
+ background-color: #cccccc \9;
}
.btn:first-child {
- *margin-left: 0;
+ *margin-left: 0;
}
.btn:hover {
- color: #333333;
- text-decoration: none;
- background-color: #e6e6e6;
- *background-color: #d9d9d9;
- /* Buttons in IE7 don't get borders, so darken on hover */
+ color: #333333;
+ text-decoration: none;
+ background-color: #e6e6e6;
+ *background-color: #d9d9d9;
+ /* Buttons in IE7 don't get borders, so darken on hover */
- background-position: 0 -15px;
- -webkit-transition: background-position 0.1s linear;
- -moz-transition: background-position 0.1s linear;
- -ms-transition: background-position 0.1s linear;
- -o-transition: background-position 0.1s linear;
- transition: background-position 0.1s linear;
+ background-position: 0 -15px;
+ -webkit-transition: background-position 0.1s linear;
+ -moz-transition: background-position 0.1s linear;
+ -ms-transition: background-position 0.1s linear;
+ -o-transition: background-position 0.1s linear;
+ transition: background-position 0.1s linear;
}
.btn:focus {
- outline: thin dotted #333;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
+ outline: thin dotted #333;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
}
.btn.active,
.btn:active {
- background-color: #e6e6e6;
- background-color: #d9d9d9 \9;
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+ background-color: #e6e6e6;
+ background-color: #d9d9d9 \9;
+ background-image: none;
+ outline: 0;
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn.disabled,
.btn[disabled] {
- cursor: default;
- background-color: #e6e6e6;
- background-image: none;
- opacity: 0.65;
- filter: alpha(opacity=65);
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
+ cursor: default;
+ background-color: #e6e6e6;
+ background-image: none;
+ opacity: 0.65;
+ filter: alpha(opacity=65);
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
}
.btn-large {
- padding: 9px 14px;
- font-size: 15px;
- line-height: normal;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
+ padding: 9px 14px;
+ font-size: 15px;
+ line-height: normal;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
}
.btn-large [class^="icon-"] {
- margin-top: 1px;
+ margin-top: 1px;
}
.btn-small {
- padding: 5px 9px;
- font-size: 11px;
- line-height: 16px;
+ padding: 5px 9px;
+ font-size: 11px;
+ line-height: 16px;
}
.btn-small [class^="icon-"] {
- margin-top: -1px;
+ margin-top: -1px;
}
.btn-mini {
- padding: 2px 6px;
- font-size: 11px;
- line-height: 14px;
+ padding: 2px 6px;
+ font-size: 11px;
+ line-height: 14px;
}
.btn-primary,
@@ -2701,8 +2702,8 @@ button.close { .btn-info:hover,
.btn-inverse,
.btn-inverse:hover {
- color: #ffffff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ color: #ffffff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-primary.active,
@@ -2711,28 +2712,28 @@ button.close { .btn-success.active,
.btn-info.active,
.btn-inverse.active {
- color: rgba(255, 255, 255, 0.75);
+ color: rgba(255, 255, 255, 0.75);
}
.btn {
- border-color: #ccc;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ border-color: #ccc;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.btn-primary {
- background-color: #0074cc;
- *background-color: #0055cc;
- background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
- background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
- background-image: -o-linear-gradient(top, #0088cc, #0055cc);
- background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
- background-image: linear-gradient(top, #0088cc, #0055cc);
- background-repeat: repeat-x;
- border-color: #0055cc #0055cc #003580;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ background-color: #0074cc;
+ *background-color: #0055cc;
+ background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
+ background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
+ background-image: -o-linear-gradient(top, #0088cc, #0055cc);
+ background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
+ background-image: linear-gradient(top, #0088cc, #0055cc);
+ background-repeat: repeat-x;
+ border-color: #0055cc #0055cc #003580;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.btn-primary:hover,
@@ -2740,29 +2741,29 @@ button.close { .btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
- background-color: #0055cc;
- *background-color: #004ab3;
+ background-color: #0055cc;
+ *background-color: #004ab3;
}
.btn-primary:active,
.btn-primary.active {
- background-color: #004099 \9;
+ background-color: #004099 \9;
}
.btn-warning {
- background-color: #faa732;
- *background-color: #f89406;
- background-image: -ms-linear-gradient(top, #fbb450, #f89406);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
- background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
- background-image: -o-linear-gradient(top, #fbb450, #f89406);
- background-image: -moz-linear-gradient(top, #fbb450, #f89406);
- background-image: linear-gradient(top, #fbb450, #f89406);
- background-repeat: repeat-x;
- border-color: #f89406 #f89406 #ad6704;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ background-color: #faa732;
+ *background-color: #f89406;
+ background-image: -ms-linear-gradient(top, #fbb450, #f89406);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
+ background-image: linear-gradient(top, #fbb450, #f89406);
+ background-repeat: repeat-x;
+ border-color: #f89406 #f89406 #ad6704;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.btn-warning:hover,
@@ -2770,29 +2771,29 @@ button.close { .btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
- background-color: #f89406;
- *background-color: #df8505;
+ background-color: #f89406;
+ *background-color: #df8505;
}
.btn-warning:active,
.btn-warning.active {
- background-color: #c67605 \9;
+ background-color: #c67605 \9;
}
.btn-danger {
- background-color: #da4f49;
- *background-color: #bd362f;
- background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
- background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
- background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
- background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
- background-image: linear-gradient(top, #ee5f5b, #bd362f);
- background-repeat: repeat-x;
- border-color: #bd362f #bd362f #802420;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ background-color: #da4f49;
+ *background-color: #bd362f;
+ background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
+ background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
+ background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
+ background-image: linear-gradient(top, #ee5f5b, #bd362f);
+ background-repeat: repeat-x;
+ border-color: #bd362f #bd362f #802420;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.btn-danger:hover,
@@ -2800,29 +2801,29 @@ button.close { .btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
- background-color: #bd362f;
- *background-color: #a9302a;
+ background-color: #bd362f;
+ *background-color: #a9302a;
}
.btn-danger:active,
.btn-danger.active {
- background-color: #942a25 \9;
+ background-color: #942a25 \9;
}
.btn-success {
- background-color: #5bb75b;
- *background-color: #51a351;
- background-image: -ms-linear-gradient(top, #62c462, #51a351);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
- background-image: -webkit-linear-gradient(top, #62c462, #51a351);
- background-image: -o-linear-gradient(top, #62c462, #51a351);
- background-image: -moz-linear-gradient(top, #62c462, #51a351);
- background-image: linear-gradient(top, #62c462, #51a351);
- background-repeat: repeat-x;
- border-color: #51a351 #51a351 #387038;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ background-color: #5bb75b;
+ *background-color: #51a351;
+ background-image: -ms-linear-gradient(top, #62c462, #51a351);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
+ background-image: -webkit-linear-gradient(top, #62c462, #51a351);
+ background-image: -o-linear-gradient(top, #62c462, #51a351);
+ background-image: -moz-linear-gradient(top, #62c462, #51a351);
+ background-image: linear-gradient(top, #62c462, #51a351);
+ background-repeat: repeat-x;
+ border-color: #51a351 #51a351 #387038;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.btn-success:hover,
@@ -2830,29 +2831,29 @@ button.close { .btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
- background-color: #51a351;
- *background-color: #499249;
+ background-color: #51a351;
+ *background-color: #499249;
}
.btn-success:active,
.btn-success.active {
- background-color: #408140 \9;
+ background-color: #408140 \9;
}
.btn-info {
- background-color: #49afcd;
- *background-color: #2f96b4;
- background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
- background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
- background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
- background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
- background-image: linear-gradient(top, #5bc0de, #2f96b4);
- background-repeat: repeat-x;
- border-color: #2f96b4 #2f96b4 #1f6377;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ background-color: #49afcd;
+ *background-color: #2f96b4;
+ background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
+ background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
+ background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
+ background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
+ background-image: linear-gradient(top, #5bc0de, #2f96b4);
+ background-repeat: repeat-x;
+ border-color: #2f96b4 #2f96b4 #1f6377;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.btn-info:hover,
@@ -2860,29 +2861,29 @@ button.close { .btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
- background-color: #2f96b4;
- *background-color: #2a85a0;
+ background-color: #2f96b4;
+ *background-color: #2a85a0;
}
.btn-info:active,
.btn-info.active {
- background-color: #24748c \9;
+ background-color: #24748c \9;
}
.btn-inverse {
- background-color: #414141;
- *background-color: #222222;
- background-image: -ms-linear-gradient(top, #555555, #222222);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
- background-image: -webkit-linear-gradient(top, #555555, #222222);
- background-image: -o-linear-gradient(top, #555555, #222222);
- background-image: -moz-linear-gradient(top, #555555, #222222);
- background-image: linear-gradient(top, #555555, #222222);
- background-repeat: repeat-x;
- border-color: #222222 #222222 #000000;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ background-color: #414141;
+ *background-color: #222222;
+ background-image: -ms-linear-gradient(top, #555555, #222222);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
+ background-image: -webkit-linear-gradient(top, #555555, #222222);
+ background-image: -o-linear-gradient(top, #555555, #222222);
+ background-image: -moz-linear-gradient(top, #555555, #222222);
+ background-image: linear-gradient(top, #555555, #222222);
+ background-repeat: repeat-x;
+ border-color: #222222 #222222 #000000;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.btn-inverse:hover,
@@ -2890,232 +2891,232 @@ button.close { .btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
- background-color: #222222;
- *background-color: #151515;
+ background-color: #222222;
+ *background-color: #151515;
}
.btn-inverse:active,
.btn-inverse.active {
- background-color: #080808 \9;
+ background-color: #080808 \9;
}
button.btn,
input[type="submit"].btn {
- *padding-top: 2px;
- *padding-bottom: 2px;
+ *padding-top: 2px;
+ *padding-bottom: 2px;
}
button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
- padding: 0;
- border: 0;
+ padding: 0;
+ border: 0;
}
button.btn.btn-large,
input[type="submit"].btn.btn-large {
- *padding-top: 7px;
- *padding-bottom: 7px;
+ *padding-top: 7px;
+ *padding-bottom: 7px;
}
button.btn.btn-small,
input[type="submit"].btn.btn-small {
- *padding-top: 3px;
- *padding-bottom: 3px;
+ *padding-top: 3px;
+ *padding-bottom: 3px;
}
button.btn.btn-mini,
input[type="submit"].btn.btn-mini {
- *padding-top: 1px;
- *padding-bottom: 1px;
+ *padding-top: 1px;
+ *padding-bottom: 1px;
}
.btn-group {
- position: relative;
- *margin-left: .3em;
- *zoom: 1;
+ position: relative;
+ *margin-left: .3em;
+ *zoom: 1;
}
.btn-group:before,
.btn-group:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.btn-group:after {
- clear: both;
+ clear: both;
}
.btn-group:first-child {
- *margin-left: 0;
+ *margin-left: 0;
}
.btn-group + .btn-group {
- margin-left: 5px;
+ margin-left: 5px;
}
.btn-toolbar {
- margin-top: 9px;
- margin-bottom: 9px;
+ margin-top: 9px;
+ margin-bottom: 9px;
}
.btn-toolbar .btn-group {
- display: inline-block;
- *display: inline;
- /* IE7 inline-block hack */
+ display: inline-block;
+ *display: inline;
+ /* IE7 inline-block hack */
- *zoom: 1;
+ *zoom: 1;
}
.btn-group > .btn {
- position: relative;
- float: left;
- margin-left: -1px;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
+ position: relative;
+ float: left;
+ margin-left: -1px;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
}
.btn-group > .btn:first-child {
- margin-left: 0;
- -webkit-border-bottom-left-radius: 4px;
- border-bottom-left-radius: 4px;
- -webkit-border-top-left-radius: 4px;
- border-top-left-radius: 4px;
- -moz-border-radius-bottomleft: 4px;
- -moz-border-radius-topleft: 4px;
+ margin-left: 0;
+ -webkit-border-bottom-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+ -webkit-border-top-left-radius: 4px;
+ border-top-left-radius: 4px;
+ -moz-border-radius-bottomleft: 4px;
+ -moz-border-radius-topleft: 4px;
}
.btn-group > .btn:last-child,
.btn-group > .dropdown-toggle {
- -webkit-border-top-right-radius: 4px;
- border-top-right-radius: 4px;
- -webkit-border-bottom-right-radius: 4px;
- border-bottom-right-radius: 4px;
- -moz-border-radius-topright: 4px;
- -moz-border-radius-bottomright: 4px;
+ -webkit-border-top-right-radius: 4px;
+ border-top-right-radius: 4px;
+ -webkit-border-bottom-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ -moz-border-radius-topright: 4px;
+ -moz-border-radius-bottomright: 4px;
}
.btn-group > .btn.large:first-child {
- margin-left: 0;
- -webkit-border-bottom-left-radius: 6px;
- border-bottom-left-radius: 6px;
- -webkit-border-top-left-radius: 6px;
- border-top-left-radius: 6px;
- -moz-border-radius-bottomleft: 6px;
- -moz-border-radius-topleft: 6px;
+ margin-left: 0;
+ -webkit-border-bottom-left-radius: 6px;
+ border-bottom-left-radius: 6px;
+ -webkit-border-top-left-radius: 6px;
+ border-top-left-radius: 6px;
+ -moz-border-radius-bottomleft: 6px;
+ -moz-border-radius-topleft: 6px;
}
.btn-group > .btn.large:last-child,
.btn-group > .large.dropdown-toggle {
- -webkit-border-top-right-radius: 6px;
- border-top-right-radius: 6px;
- -webkit-border-bottom-right-radius: 6px;
- border-bottom-right-radius: 6px;
- -moz-border-radius-topright: 6px;
- -moz-border-radius-bottomright: 6px;
+ -webkit-border-top-right-radius: 6px;
+ border-top-right-radius: 6px;
+ -webkit-border-bottom-right-radius: 6px;
+ border-bottom-right-radius: 6px;
+ -moz-border-radius-topright: 6px;
+ -moz-border-radius-bottomright: 6px;
}
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active {
- z-index: 2;
+ z-index: 2;
}
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
- outline: 0;
+ outline: 0;
}
.btn-group > .dropdown-toggle {
- *padding-top: 4px;
- padding-right: 8px;
- *padding-bottom: 4px;
- padding-left: 8px;
- -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ *padding-top: 4px;
+ padding-right: 8px;
+ *padding-bottom: 4px;
+ padding-left: 8px;
+ -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-group > .btn-mini.dropdown-toggle {
- padding-right: 5px;
- padding-left: 5px;
+ padding-right: 5px;
+ padding-left: 5px;
}
.btn-group > .btn-small.dropdown-toggle {
- *padding-top: 4px;
- *padding-bottom: 4px;
+ *padding-top: 4px;
+ *padding-bottom: 4px;
}
.btn-group > .btn-large.dropdown-toggle {
- padding-right: 12px;
- padding-left: 12px;
+ padding-right: 12px;
+ padding-left: 12px;
}
.btn-group.open .dropdown-toggle {
- background-image: none;
- -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+ background-image: none;
+ -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-group.open .btn.dropdown-toggle {
- background-color: #e6e6e6;
+ background-color: #e6e6e6;
}
.btn-group.open .btn-primary.dropdown-toggle {
- background-color: #0055cc;
+ background-color: #0055cc;
}
.btn-group.open .btn-warning.dropdown-toggle {
- background-color: #f89406;
+ background-color: #f89406;
}
.btn-group.open .btn-danger.dropdown-toggle {
- background-color: #bd362f;
+ background-color: #bd362f;
}
.btn-group.open .btn-success.dropdown-toggle {
- background-color: #51a351;
+ background-color: #51a351;
}
.btn-group.open .btn-info.dropdown-toggle {
- background-color: #2f96b4;
+ background-color: #2f96b4;
}
.btn-group.open .btn-inverse.dropdown-toggle {
- background-color: #222222;
+ background-color: #222222;
}
.btn .caret {
- margin-top: 7px;
- margin-left: 0;
+ margin-top: 7px;
+ margin-left: 0;
}
.btn:hover .caret,
.open.btn-group .caret {
- opacity: 1;
- filter: alpha(opacity=100);
+ opacity: 1;
+ filter: alpha(opacity=100);
}
.btn-mini .caret {
- margin-top: 5px;
+ margin-top: 5px;
}
.btn-small .caret {
- margin-top: 6px;
+ margin-top: 6px;
}
.btn-large .caret {
- margin-top: 6px;
- border-top-width: 5px;
- border-right-width: 5px;
- border-left-width: 5px;
+ margin-top: 6px;
+ border-top-width: 5px;
+ border-right-width: 5px;
+ border-left-width: 5px;
}
.dropup .btn-large .caret {
- border-top: 0;
- border-bottom: 5px solid #000000;
+ border-top: 0;
+ border-bottom: 5px solid #000000;
}
.btn-primary .caret,
@@ -3124,723 +3125,723 @@ input[type="submit"].btn.btn-mini { .btn-info .caret,
.btn-success .caret,
.btn-inverse .caret {
- border-top-color: #ffffff;
- border-bottom-color: #ffffff;
- opacity: 0.75;
- filter: alpha(opacity=75);
+ border-top-color: #ffffff;
+ border-bottom-color: #ffffff;
+ opacity: 0.75;
+ filter: alpha(opacity=75);
}
.alert {
- padding: 8px 35px 8px 14px;
- margin-bottom: 18px;
- color: #c09853;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- background-color: #fcf8e3;
- border: 1px solid #fbeed5;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ padding: 8px 35px 8px 14px;
+ margin-bottom: 18px;
+ color: #c09853;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+ background-color: #fcf8e3;
+ border: 1px solid #fbeed5;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.alert-heading {
- color: inherit;
+ color: inherit;
}
.alert .close {
- position: relative;
- top: -2px;
- right: -21px;
- line-height: 18px;
+ position: relative;
+ top: -2px;
+ right: -21px;
+ line-height: 18px;
}
.alert-success {
- color: #468847;
- background-color: #dff0d8;
- border-color: #d6e9c6;
+ color: #468847;
+ background-color: #dff0d8;
+ border-color: #d6e9c6;
}
.alert-danger,
.alert-error {
- color: #b94a48;
- background-color: #f2dede;
- border-color: #eed3d7;
+ color: #b94a48;
+ background-color: #f2dede;
+ border-color: #eed3d7;
}
.alert-info {
- color: #3a87ad;
- background-color: #d9edf7;
- border-color: #bce8f1;
+ color: #3a87ad;
+ background-color: #d9edf7;
+ border-color: #bce8f1;
}
.alert-block {
- padding-top: 14px;
- padding-bottom: 14px;
+ padding-top: 14px;
+ padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
- margin-bottom: 0;
+ margin-bottom: 0;
}
.alert-block p + p {
- margin-top: 5px;
+ margin-top: 5px;
}
.nav {
- margin-bottom: 18px;
- margin-left: 0;
- list-style: none;
+ margin-bottom: 18px;
+ margin-left: 0;
+ list-style: none;
}
.nav > li > a {
- display: block;
+ display: block;
}
.nav > li > a:hover {
- text-decoration: none;
- background-color: #eeeeee;
+ text-decoration: none;
+ background-color: #eeeeee;
}
.nav > .pull-right {
- float: right;
+ float: right;
}
.nav .nav-header {
- display: block;
- padding: 3px 15px;
- font-size: 11px;
- font-weight: bold;
- line-height: 18px;
- color: #999999;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- text-transform: uppercase;
+ display: block;
+ padding: 3px 15px;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 18px;
+ color: #999999;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+ text-transform: uppercase;
}
.nav li + .nav-header {
- margin-top: 9px;
+ margin-top: 9px;
}
.nav-list {
- padding-right: 15px;
- padding-left: 15px;
- margin-bottom: 0;
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-bottom: 0;
}
.nav-list > li > a,
.nav-list .nav-header {
- margin-right: -15px;
- margin-left: -15px;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+ margin-right: -15px;
+ margin-left: -15px;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.nav-list > li > a {
- padding: 3px 15px;
+ padding: 3px 15px;
}
.nav-list > .active > a,
.nav-list > .active > a:hover {
- color: #ffffff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
- background-color: #0088cc;
+ color: #ffffff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
+ background-color: #0088cc;
}
.nav-list [class^="icon-"] {
- margin-right: 2px;
+ margin-right: 2px;
}
.nav-list .divider {
- *width: 100%;
- height: 1px;
- margin: 8px 1px;
- *margin: -5px 0 5px;
- overflow: hidden;
- background-color: #e5e5e5;
- border-bottom: 1px solid #ffffff;
+ *width: 100%;
+ height: 1px;
+ margin: 8px 1px;
+ *margin: -5px 0 5px;
+ overflow: hidden;
+ background-color: #e5e5e5;
+ border-bottom: 1px solid #ffffff;
}
.nav-tabs,
.nav-pills {
- *zoom: 1;
+ *zoom: 1;
}
.nav-tabs:before,
.nav-pills:before,
.nav-tabs:after,
.nav-pills:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.nav-tabs:after,
.nav-pills:after {
- clear: both;
+ clear: both;
}
.nav-tabs > li,
.nav-pills > li {
- float: left;
+ float: left;
}
.nav-tabs > li > a,
.nav-pills > li > a {
- padding-right: 12px;
- padding-left: 12px;
- margin-right: 2px;
- line-height: 14px;
+ padding-right: 12px;
+ padding-left: 12px;
+ margin-right: 2px;
+ line-height: 14px;
}
.nav-tabs {
- border-bottom: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
}
.nav-tabs > li {
- margin-bottom: -1px;
+ margin-bottom: -1px;
}
.nav-tabs > li > a {
- padding-top: 8px;
- padding-bottom: 8px;
- line-height: 18px;
- border: 1px solid transparent;
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
+ padding-top: 8px;
+ padding-bottom: 8px;
+ line-height: 18px;
+ border: 1px solid transparent;
+ -webkit-border-radius: 4px 4px 0 0;
+ -moz-border-radius: 4px 4px 0 0;
+ border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover {
- border-color: #eeeeee #eeeeee #dddddd;
+ border-color: #eeeeee #eeeeee #dddddd;
}
.nav-tabs > .active > a,
.nav-tabs > .active > a:hover {
- color: #555555;
- cursor: default;
- background-color: #ffffff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
+ color: #555555;
+ cursor: default;
+ background-color: #ffffff;
+ border: 1px solid #ddd;
+ border-bottom-color: transparent;
}
.nav-pills > li > a {
- padding-top: 8px;
- padding-bottom: 8px;
- margin-top: 2px;
- margin-bottom: 2px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
+ padding-top: 8px;
+ padding-bottom: 8px;
+ margin-top: 2px;
+ margin-bottom: 2px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
}
.nav-pills > .active > a,
.nav-pills > .active > a:hover {
- color: #ffffff;
- background-color: #0088cc;
+ color: #ffffff;
+ background-color: #0088cc;
}
.nav-stacked > li {
- float: none;
+ float: none;
}
.nav-stacked > li > a {
- margin-right: 0;
+ margin-right: 0;
}
.nav-tabs.nav-stacked {
- border-bottom: 0;
+ border-bottom: 0;
}
.nav-tabs.nav-stacked > li > a {
- border: 1px solid #ddd;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
+ border: 1px solid #ddd;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
}
.nav-tabs.nav-stacked > li:first-child > a {
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
+ -webkit-border-radius: 4px 4px 0 0;
+ -moz-border-radius: 4px 4px 0 0;
+ border-radius: 4px 4px 0 0;
}
.nav-tabs.nav-stacked > li:last-child > a {
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
+ -webkit-border-radius: 0 0 4px 4px;
+ -moz-border-radius: 0 0 4px 4px;
+ border-radius: 0 0 4px 4px;
}
.nav-tabs.nav-stacked > li > a:hover {
- z-index: 2;
- border-color: #ddd;
+ z-index: 2;
+ border-color: #ddd;
}
.nav-pills.nav-stacked > li > a {
- margin-bottom: 3px;
+ margin-bottom: 3px;
}
.nav-pills.nav-stacked > li:last-child > a {
- margin-bottom: 1px;
+ margin-bottom: 1px;
}
.nav-tabs .dropdown-menu {
- -webkit-border-radius: 0 0 5px 5px;
- -moz-border-radius: 0 0 5px 5px;
- border-radius: 0 0 5px 5px;
+ -webkit-border-radius: 0 0 5px 5px;
+ -moz-border-radius: 0 0 5px 5px;
+ border-radius: 0 0 5px 5px;
}
.nav-pills .dropdown-menu {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.nav-tabs .dropdown-toggle .caret,
.nav-pills .dropdown-toggle .caret {
- margin-top: 6px;
- border-top-color: #0088cc;
- border-bottom-color: #0088cc;
+ margin-top: 6px;
+ border-top-color: #0088cc;
+ border-bottom-color: #0088cc;
}
.nav-tabs .dropdown-toggle:hover .caret,
.nav-pills .dropdown-toggle:hover .caret {
- border-top-color: #005580;
- border-bottom-color: #005580;
+ border-top-color: #005580;
+ border-bottom-color: #005580;
}
.nav-tabs .active .dropdown-toggle .caret,
.nav-pills .active .dropdown-toggle .caret {
- border-top-color: #333333;
- border-bottom-color: #333333;
+ border-top-color: #333333;
+ border-bottom-color: #333333;
}
.nav > .dropdown.active > a:hover {
- color: #000000;
- cursor: pointer;
+ color: #000000;
+ cursor: pointer;
}
.nav-tabs .open .dropdown-toggle,
.nav-pills .open .dropdown-toggle,
.nav > li.dropdown.open.active > a:hover {
- color: #ffffff;
- background-color: #999999;
- border-color: #999999;
+ color: #ffffff;
+ background-color: #999999;
+ border-color: #999999;
}
.nav li.dropdown.open .caret,
.nav li.dropdown.open.active .caret,
.nav li.dropdown.open a:hover .caret {
- border-top-color: #ffffff;
- border-bottom-color: #ffffff;
- opacity: 1;
- filter: alpha(opacity=100);
+ border-top-color: #ffffff;
+ border-bottom-color: #ffffff;
+ opacity: 1;
+ filter: alpha(opacity=100);
}
.tabs-stacked .open > a:hover {
- border-color: #999999;
+ border-color: #999999;
}
.tabbable {
- *zoom: 1;
+ *zoom: 1;
}
.tabbable:before,
.tabbable:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.tabbable:after {
- clear: both;
+ clear: both;
}
.tab-content {
- overflow: auto;
+ overflow: auto;
}
.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
- border-bottom: 0;
+ border-bottom: 0;
}
.tab-content > .tab-pane,
.pill-content > .pill-pane {
- display: none;
+ display: none;
}
.tab-content > .active,
.pill-content > .active {
- display: block;
+ display: block;
}
.tabs-below > .nav-tabs {
- border-top: 1px solid #ddd;
+ border-top: 1px solid #ddd;
}
.tabs-below > .nav-tabs > li {
- margin-top: -1px;
- margin-bottom: 0;
+ margin-top: -1px;
+ margin-bottom: 0;
}
.tabs-below > .nav-tabs > li > a {
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
+ -webkit-border-radius: 0 0 4px 4px;
+ -moz-border-radius: 0 0 4px 4px;
+ border-radius: 0 0 4px 4px;
}
.tabs-below > .nav-tabs > li > a:hover {
- border-top-color: #ddd;
- border-bottom-color: transparent;
+ border-top-color: #ddd;
+ border-bottom-color: transparent;
}
.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover {
- border-color: transparent #ddd #ddd #ddd;
+ border-color: transparent #ddd #ddd #ddd;
}
.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
- float: none;
+ float: none;
}
.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
- min-width: 74px;
- margin-right: 0;
- margin-bottom: 3px;
+ min-width: 74px;
+ margin-right: 0;
+ margin-bottom: 3px;
}
.tabs-left > .nav-tabs {
- float: left;
- margin-right: 19px;
- border-right: 1px solid #ddd;
+ float: left;
+ margin-right: 19px;
+ border-right: 1px solid #ddd;
}
.tabs-left > .nav-tabs > li > a {
- margin-right: -1px;
- -webkit-border-radius: 4px 0 0 4px;
- -moz-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
+ margin-right: -1px;
+ -webkit-border-radius: 4px 0 0 4px;
+ -moz-border-radius: 4px 0 0 4px;
+ border-radius: 4px 0 0 4px;
}
.tabs-left > .nav-tabs > li > a:hover {
- border-color: #eeeeee #dddddd #eeeeee #eeeeee;
+ border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}
.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover {
- border-color: #ddd transparent #ddd #ddd;
- *border-right-color: #ffffff;
+ border-color: #ddd transparent #ddd #ddd;
+ *border-right-color: #ffffff;
}
.tabs-right > .nav-tabs {
- float: right;
- margin-left: 19px;
- border-left: 1px solid #ddd;
+ float: right;
+ margin-left: 19px;
+ border-left: 1px solid #ddd;
}
.tabs-right > .nav-tabs > li > a {
- margin-left: -1px;
- -webkit-border-radius: 0 4px 4px 0;
- -moz-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
+ margin-left: -1px;
+ -webkit-border-radius: 0 4px 4px 0;
+ -moz-border-radius: 0 4px 4px 0;
+ border-radius: 0 4px 4px 0;
}
.tabs-right > .nav-tabs > li > a:hover {
- border-color: #eeeeee #eeeeee #eeeeee #dddddd;
+ border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}
.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover {
- border-color: #ddd #ddd #ddd transparent;
- *border-left-color: #ffffff;
+ border-color: #ddd #ddd #ddd transparent;
+ *border-left-color: #ffffff;
}
.navbar {
- *position: relative;
- *z-index: 2;
- margin-bottom: 18px;
- overflow: visible;
+ *position: relative;
+ *z-index: 2;
+ margin-bottom: 18px;
+ overflow: visible;
}
.navbar-inner {
- min-height: 40px;
- padding-right: 20px;
- padding-left: 20px;
- background-color: #2c2c2c;
- background-image: -moz-linear-gradient(top, #333333, #222222);
- background-image: -ms-linear-gradient(top, #333333, #222222);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
- background-image: -webkit-linear-gradient(top, #333333, #222222);
- background-image: -o-linear-gradient(top, #333333, #222222);
- background-image: linear-gradient(top, #333333, #222222);
- background-repeat: repeat-x;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+ min-height: 40px;
+ padding-right: 20px;
+ padding-left: 20px;
+ background-color: #2c2c2c;
+ background-image: -moz-linear-gradient(top, #333333, #222222);
+ background-image: -ms-linear-gradient(top, #333333, #222222);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
+ background-image: -webkit-linear-gradient(top, #333333, #222222);
+ background-image: -o-linear-gradient(top, #333333, #222222);
+ background-image: linear-gradient(top, #333333, #222222);
+ background-repeat: repeat-x;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.navbar .container {
- width: auto;
+ width: auto;
}
.nav-collapse.collapse {
- height: auto;
+ height: auto;
}
.navbar {
- color: #999999;
+ color: #999999;
}
.navbar .brand:hover {
- text-decoration: none;
+ text-decoration: none;
}
.navbar .brand {
- display: block;
- float: left;
- padding: 8px 20px 12px;
- margin-left: -20px;
- font-size: 20px;
- font-weight: 200;
- line-height: 1;
- color: #999999;
+ display: block;
+ float: left;
+ padding: 8px 20px 12px;
+ margin-left: -20px;
+ font-size: 20px;
+ font-weight: 200;
+ line-height: 1;
+ color: #999999;
}
.navbar .navbar-text {
- margin-bottom: 0;
- line-height: 40px;
+ margin-bottom: 0;
+ line-height: 40px;
}
.navbar .navbar-link {
- color: #999999;
+ color: #999999;
}
.navbar .navbar-link:hover {
- color: #ffffff;
+ color: #ffffff;
}
.navbar .btn,
.navbar .btn-group {
- margin-top: 5px;
+ margin-top: 5px;
}
.navbar .btn-group .btn {
- margin: 0;
+ margin: 0;
}
.navbar-form {
- margin-bottom: 0;
- *zoom: 1;
+ margin-bottom: 0;
+ *zoom: 1;
}
.navbar-form:before,
.navbar-form:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.navbar-form:after {
- clear: both;
+ clear: both;
}
.navbar-form input,
.navbar-form select,
.navbar-form .radio,
.navbar-form .checkbox {
- margin-top: 5px;
+ margin-top: 5px;
}
.navbar-form input,
.navbar-form select {
- display: inline-block;
- margin-bottom: 0;
+ display: inline-block;
+ margin-bottom: 0;
}
.navbar-form input[type="image"],
.navbar-form input[type="checkbox"],
.navbar-form input[type="radio"] {
- margin-top: 3px;
+ margin-top: 3px;
}
.navbar-form .input-append,
.navbar-form .input-prepend {
- margin-top: 6px;
- white-space: nowrap;
+ margin-top: 6px;
+ white-space: nowrap;
}
.navbar-form .input-append input,
.navbar-form .input-prepend input {
- margin-top: 0;
+ margin-top: 0;
}
.navbar-search {
- position: relative;
- float: left;
- margin-top: 6px;
- margin-bottom: 0;
+ position: relative;
+ float: left;
+ margin-top: 6px;
+ margin-bottom: 0;
}
.navbar-search .search-query {
- padding: 4px 9px;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 13px;
- font-weight: normal;
- line-height: 1;
- color: #ffffff;
- background-color: #626262;
- border: 1px solid #151515;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
- -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
- -webkit-transition: none;
- -moz-transition: none;
- -ms-transition: none;
- -o-transition: none;
- transition: none;
+ padding: 4px 9px;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ font-weight: normal;
+ line-height: 1;
+ color: #ffffff;
+ background-color: #626262;
+ border: 1px solid #151515;
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
+ -webkit-transition: none;
+ -moz-transition: none;
+ -ms-transition: none;
+ -o-transition: none;
+ transition: none;
}
.navbar-search .search-query:-moz-placeholder {
- color: #cccccc;
+ color: #cccccc;
}
.navbar-search .search-query::-webkit-input-placeholder {
- color: #cccccc;
+ color: #cccccc;
}
.navbar-search .search-query:focus,
.navbar-search .search-query.focused {
- padding: 5px 10px;
- color: #333333;
- text-shadow: 0 1px 0 #ffffff;
- background-color: #ffffff;
- border: 0;
- outline: 0;
- -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
- -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
+ padding: 5px 10px;
+ color: #333333;
+ text-shadow: 0 1px 0 #ffffff;
+ background-color: #ffffff;
+ border: 0;
+ outline: 0;
+ -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
+ -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}
.navbar-fixed-top,
.navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030;
- margin-bottom: 0;
+ position: fixed;
+ right: 0;
+ left: 0;
+ z-index: 1030;
+ margin-bottom: 0;
}
.navbar-fixed-top .navbar-inner,
.navbar-fixed-bottom .navbar-inner {
- padding-right: 0;
- padding-left: 0;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
+ padding-right: 0;
+ padding-left: 0;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
}
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
- width: 940px;
+ width: 940px;
}
.navbar-fixed-top {
- top: 0;
+ top: 0;
}
.navbar-fixed-bottom {
- bottom: 0;
+ bottom: 0;
}
.navbar .nav {
- position: relative;
- left: 0;
- display: block;
- float: left;
- margin: 0 10px 0 0;
+ position: relative;
+ left: 0;
+ display: block;
+ float: left;
+ margin: 0 10px 0 0;
}
.navbar .nav.pull-right {
- float: right;
+ float: right;
}
.navbar .nav > li {
- display: block;
- float: left;
+ display: block;
+ float: left;
}
.navbar .nav > li > a {
- float: none;
- padding: 9px 10px 11px;
- line-height: 19px;
- color: #999999;
- text-decoration: none;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ float: none;
+ padding: 9px 10px 11px;
+ line-height: 19px;
+ color: #999999;
+ text-decoration: none;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.navbar .btn {
- display: inline-block;
- padding: 4px 10px 4px;
- margin: 5px 5px 6px;
- line-height: 18px;
+ display: inline-block;
+ padding: 4px 10px 4px;
+ margin: 5px 5px 6px;
+ line-height: 18px;
}
.navbar .btn-group {
- padding: 5px 5px 6px;
- margin: 0;
+ padding: 5px 5px 6px;
+ margin: 0;
}
.navbar .nav > li > a:hover {
- color: #ffffff;
- text-decoration: none;
- background-color: transparent;
+ color: #ffffff;
+ text-decoration: none;
+ background-color: transparent;
}
.navbar .nav .active > a,
.navbar .nav .active > a:hover {
- color: #ffffff;
- text-decoration: none;
- background-color: #222222;
+ color: #ffffff;
+ text-decoration: none;
+ background-color: #222222;
}
.navbar .divider-vertical {
- width: 1px;
- height: 40px;
- margin: 0 9px;
- overflow: hidden;
- background-color: #222222;
- border-right: 1px solid #333333;
+ width: 1px;
+ height: 40px;
+ margin: 0 9px;
+ overflow: hidden;
+ background-color: #222222;
+ border-right: 1px solid #333333;
}
.navbar .nav.pull-right {
- margin-right: 0;
- margin-left: 10px;
+ margin-right: 0;
+ margin-left: 10px;
}
.navbar .btn-navbar {
- display: none;
- float: right;
- padding: 7px 10px;
- margin-right: 5px;
- margin-left: 5px;
- background-color: #2c2c2c;
- *background-color: #222222;
- background-image: -ms-linear-gradient(top, #333333, #222222);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
- background-image: -webkit-linear-gradient(top, #333333, #222222);
- background-image: -o-linear-gradient(top, #333333, #222222);
- background-image: linear-gradient(top, #333333, #222222);
- background-image: -moz-linear-gradient(top, #333333, #222222);
- background-repeat: repeat-x;
- border-color: #222222 #222222 #000000;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
+ display: none;
+ float: right;
+ padding: 7px 10px;
+ margin-right: 5px;
+ margin-left: 5px;
+ background-color: #2c2c2c;
+ *background-color: #222222;
+ background-image: -ms-linear-gradient(top, #333333, #222222);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
+ background-image: -webkit-linear-gradient(top, #333333, #222222);
+ background-image: -o-linear-gradient(top, #333333, #222222);
+ background-image: linear-gradient(top, #333333, #222222);
+ background-image: -moz-linear-gradient(top, #333333, #222222);
+ background-repeat: repeat-x;
+ border-color: #222222 #222222 #000000;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
}
.navbar .btn-navbar:hover,
@@ -3848,1118 +3849,1118 @@ input[type="submit"].btn.btn-mini { .navbar .btn-navbar.active,
.navbar .btn-navbar.disabled,
.navbar .btn-navbar[disabled] {
- background-color: #222222;
- *background-color: #151515;
+ background-color: #222222;
+ *background-color: #151515;
}
.navbar .btn-navbar:active,
.navbar .btn-navbar.active {
- background-color: #080808 \9;
+ background-color: #080808 \9;
}
.navbar .btn-navbar .icon-bar {
- display: block;
- width: 18px;
- height: 2px;
- background-color: #f5f5f5;
- -webkit-border-radius: 1px;
- -moz-border-radius: 1px;
- border-radius: 1px;
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
+ display: block;
+ width: 18px;
+ height: 2px;
+ background-color: #f5f5f5;
+ -webkit-border-radius: 1px;
+ -moz-border-radius: 1px;
+ border-radius: 1px;
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
+ -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.btn-navbar .icon-bar + .icon-bar {
- margin-top: 3px;
+ margin-top: 3px;
}
.navbar .dropdown-menu:before {
- position: absolute;
- top: -7px;
- left: 9px;
- display: inline-block;
- border-right: 7px solid transparent;
- border-bottom: 7px solid #ccc;
- border-left: 7px solid transparent;
- border-bottom-color: rgba(0, 0, 0, 0.2);
- content: '';
+ position: absolute;
+ top: -7px;
+ left: 9px;
+ display: inline-block;
+ border-right: 7px solid transparent;
+ border-bottom: 7px solid #ccc;
+ border-left: 7px solid transparent;
+ border-bottom-color: rgba(0, 0, 0, 0.2);
+ content: '';
}
.navbar .dropdown-menu:after {
- position: absolute;
- top: -6px;
- left: 10px;
- display: inline-block;
- border-right: 6px solid transparent;
- border-bottom: 6px solid #ffffff;
- border-left: 6px solid transparent;
- content: '';
+ position: absolute;
+ top: -6px;
+ left: 10px;
+ display: inline-block;
+ border-right: 6px solid transparent;
+ border-bottom: 6px solid #ffffff;
+ border-left: 6px solid transparent;
+ content: '';
}
.navbar-fixed-bottom .dropdown-menu:before {
- top: auto;
- bottom: -7px;
- border-top: 7px solid #ccc;
- border-bottom: 0;
- border-top-color: rgba(0, 0, 0, 0.2);
+ top: auto;
+ bottom: -7px;
+ border-top: 7px solid #ccc;
+ border-bottom: 0;
+ border-top-color: rgba(0, 0, 0, 0.2);
}
.navbar-fixed-bottom .dropdown-menu:after {
- top: auto;
- bottom: -6px;
- border-top: 6px solid #ffffff;
- border-bottom: 0;
+ top: auto;
+ bottom: -6px;
+ border-top: 6px solid #ffffff;
+ border-bottom: 0;
}
.navbar .nav li.dropdown .dropdown-toggle .caret,
.navbar .nav li.dropdown.open .caret {
- border-top-color: #ffffff;
- border-bottom-color: #ffffff;
+ border-top-color: #ffffff;
+ border-bottom-color: #ffffff;
}
.navbar .nav li.dropdown.active .caret {
- opacity: 1;
- filter: alpha(opacity=100);
+ opacity: 1;
+ filter: alpha(opacity=100);
}
.navbar .nav li.dropdown.open > .dropdown-toggle,
.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
- background-color: transparent;
+ background-color: transparent;
}
.navbar .nav li.dropdown.active > .dropdown-toggle:hover {
- color: #ffffff;
+ color: #ffffff;
}
.navbar .pull-right .dropdown-menu,
.navbar .dropdown-menu.pull-right {
- right: 0;
- left: auto;
+ right: 0;
+ left: auto;
}
.navbar .pull-right .dropdown-menu:before,
.navbar .dropdown-menu.pull-right:before {
- right: 12px;
- left: auto;
+ right: 12px;
+ left: auto;
}
.navbar .pull-right .dropdown-menu:after,
.navbar .dropdown-menu.pull-right:after {
- right: 13px;
- left: auto;
+ right: 13px;
+ left: auto;
}
.breadcrumb {
- padding: 7px 14px;
- margin: 0 0 18px;
- list-style: none;
- background-color: #fbfbfb;
- background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
- background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
- background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
- background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
- background-image: linear-gradient(top, #ffffff, #f5f5f5);
- background-repeat: repeat-x;
- border: 1px solid #ddd;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
- -webkit-box-shadow: inset 0 1px 0 #ffffff;
- -moz-box-shadow: inset 0 1px 0 #ffffff;
- box-shadow: inset 0 1px 0 #ffffff;
+ padding: 7px 14px;
+ margin: 0 0 18px;
+ list-style: none;
+ background-color: #fbfbfb;
+ background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
+ background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
+ background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
+ background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
+ background-image: linear-gradient(top, #ffffff, #f5f5f5);
+ background-repeat: repeat-x;
+ border: 1px solid #ddd;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
+ -webkit-box-shadow: inset 0 1px 0 #ffffff;
+ -moz-box-shadow: inset 0 1px 0 #ffffff;
+ box-shadow: inset 0 1px 0 #ffffff;
}
.breadcrumb li {
- display: inline-block;
- *display: inline;
- text-shadow: 0 1px 0 #ffffff;
- *zoom: 1;
+ display: inline-block;
+ *display: inline;
+ text-shadow: 0 1px 0 #ffffff;
+ *zoom: 1;
}
.breadcrumb .divider {
- padding: 0 5px;
- color: #999999;
+ padding: 0 5px;
+ color: #999999;
}
.breadcrumb .active a {
- color: #333333;
+ color: #333333;
}
.pagination {
- height: 36px;
- margin: 18px 0;
+ height: 36px;
+ margin: 18px 0;
}
.pagination ul {
- display: inline-block;
- *display: inline;
- margin-bottom: 0;
- margin-left: 0;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- *zoom: 1;
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
+ display: inline-block;
+ *display: inline;
+ margin-bottom: 0;
+ margin-left: 0;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ *zoom: 1;
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
+ -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pagination li {
- display: inline;
+ display: inline;
}
.pagination a {
- float: left;
- padding: 0 14px;
- line-height: 34px;
- text-decoration: none;
- border: 1px solid #ddd;
- border-left-width: 0;
+ float: left;
+ padding: 0 14px;
+ line-height: 34px;
+ text-decoration: none;
+ border: 1px solid #ddd;
+ border-left-width: 0;
}
.pagination a:hover,
.pagination .active a {
- background-color: #f5f5f5;
+ background-color: #f5f5f5;
}
.pagination .active a {
- color: #999999;
- cursor: default;
+ color: #999999;
+ cursor: default;
}
.pagination .disabled span,
.pagination .disabled a,
.pagination .disabled a:hover {
- color: #999999;
- cursor: default;
- background-color: transparent;
+ color: #999999;
+ cursor: default;
+ background-color: transparent;
}
.pagination li:first-child a {
- border-left-width: 1px;
- -webkit-border-radius: 3px 0 0 3px;
- -moz-border-radius: 3px 0 0 3px;
- border-radius: 3px 0 0 3px;
+ border-left-width: 1px;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
}
.pagination li:last-child a {
- -webkit-border-radius: 0 3px 3px 0;
- -moz-border-radius: 0 3px 3px 0;
- border-radius: 0 3px 3px 0;
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
}
.pagination-centered {
- text-align: center;
+ text-align: center;
}
.pagination-right {
- text-align: right;
+ text-align: right;
}
.pager {
- margin-bottom: 18px;
- margin-left: 0;
- text-align: center;
- list-style: none;
- *zoom: 1;
+ margin-bottom: 18px;
+ margin-left: 0;
+ text-align: center;
+ list-style: none;
+ *zoom: 1;
}
.pager:before,
.pager:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.pager:after {
- clear: both;
+ clear: both;
}
.pager li {
- display: inline;
+ display: inline;
}
.pager a {
- display: inline-block;
- padding: 5px 14px;
- background-color: #fff;
- border: 1px solid #ddd;
- -webkit-border-radius: 15px;
- -moz-border-radius: 15px;
- border-radius: 15px;
+ display: inline-block;
+ padding: 5px 14px;
+ background-color: #fff;
+ border: 1px solid #ddd;
+ -webkit-border-radius: 15px;
+ -moz-border-radius: 15px;
+ border-radius: 15px;
}
.pager a:hover {
- text-decoration: none;
- background-color: #f5f5f5;
+ text-decoration: none;
+ background-color: #f5f5f5;
}
.pager .next a {
- float: right;
+ float: right;
}
.pager .previous a {
- float: left;
+ float: left;
}
.pager .disabled a,
.pager .disabled a:hover {
- color: #999999;
- cursor: default;
- background-color: #fff;
+ color: #999999;
+ cursor: default;
+ background-color: #fff;
}
.modal-open .dropdown-menu {
- z-index: 2050;
+ z-index: 2050;
}
.modal-open .dropdown.open {
- *z-index: 2050;
+ *z-index: 2050;
}
.modal-open .popover {
- z-index: 2060;
+ z-index: 2060;
}
.modal-open .tooltip {
- z-index: 2070;
+ z-index: 2070;
}
.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- background-color: #000000;
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1040;
+ background-color: #000000;
}
.modal-backdrop.fade {
- opacity: 0;
+ opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
- opacity: 0.8;
- filter: alpha(opacity=80);
+ opacity: 0.8;
+ filter: alpha(opacity=80);
}
.modal {
- position: fixed;
- top: 50%;
- left: 50%;
- z-index: 1050;
- width: 560px;
- margin: -250px 0 0 -280px;
- overflow: auto;
- background-color: #ffffff;
- border: 1px solid #999;
- border: 1px solid rgba(0, 0, 0, 0.3);
- *border: 1px solid #999;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding-box;
- background-clip: padding-box;
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ z-index: 1050;
+ width: 560px;
+ margin: -250px 0 0 -280px;
+ overflow: auto;
+ background-color: #ffffff;
+ border: 1px solid #999;
+ border: 1px solid rgba(0, 0, 0, 0.3);
+ *border: 1px solid #999;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding-box;
+ background-clip: padding-box;
}
.modal.fade {
- top: -25%;
- -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
- -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
- -ms-transition: opacity 0.3s linear, top 0.3s ease-out;
- -o-transition: opacity 0.3s linear, top 0.3s ease-out;
- transition: opacity 0.3s linear, top 0.3s ease-out;
+ top: -25%;
+ -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
+ -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
+ -ms-transition: opacity 0.3s linear, top 0.3s ease-out;
+ -o-transition: opacity 0.3s linear, top 0.3s ease-out;
+ transition: opacity 0.3s linear, top 0.3s ease-out;
}
.modal.fade.in {
- top: 50%;
+ top: 50%;
}
.modal-header {
- padding: 9px 15px;
- border-bottom: 1px solid #eee;
+ padding: 9px 15px;
+ border-bottom: 1px solid #eee;
}
.modal-header .close {
- margin-top: 2px;
+ margin-top: 2px;
}
.modal-body {
- max-height: 400px;
- padding: 15px;
- overflow-y: auto;
+ max-height: 400px;
+ padding: 15px;
+ overflow-y: auto;
}
.modal-form {
- margin-bottom: 0;
+ margin-bottom: 0;
}
.modal-footer {
- padding: 14px 15px 15px;
- margin-bottom: 0;
- text-align: right;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- -webkit-border-radius: 0 0 6px 6px;
- -moz-border-radius: 0 0 6px 6px;
- border-radius: 0 0 6px 6px;
- *zoom: 1;
- -webkit-box-shadow: inset 0 1px 0 #ffffff;
- -moz-box-shadow: inset 0 1px 0 #ffffff;
- box-shadow: inset 0 1px 0 #ffffff;
+ padding: 14px 15px 15px;
+ margin-bottom: 0;
+ text-align: right;
+ background-color: #f5f5f5;
+ border-top: 1px solid #ddd;
+ -webkit-border-radius: 0 0 6px 6px;
+ -moz-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+ *zoom: 1;
+ -webkit-box-shadow: inset 0 1px 0 #ffffff;
+ -moz-box-shadow: inset 0 1px 0 #ffffff;
+ box-shadow: inset 0 1px 0 #ffffff;
}
.modal-footer:before,
.modal-footer:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.modal-footer:after {
- clear: both;
+ clear: both;
}
.modal-footer .btn + .btn {
- margin-bottom: 0;
- margin-left: 5px;
+ margin-bottom: 0;
+ margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
- margin-left: -1px;
+ margin-left: -1px;
}
.tooltip {
- position: absolute;
- z-index: 1020;
- display: block;
- padding: 5px;
- font-size: 11px;
- opacity: 0;
- filter: alpha(opacity=0);
- visibility: visible;
+ position: absolute;
+ z-index: 1020;
+ display: block;
+ padding: 5px;
+ font-size: 11px;
+ opacity: 0;
+ filter: alpha(opacity=0);
+ visibility: visible;
}
.tooltip.in {
- opacity: 0.8;
- filter: alpha(opacity=80);
+ opacity: 0.8;
+ filter: alpha(opacity=80);
}
.tooltip.top {
- margin-top: -2px;
+ margin-top: -2px;
}
.tooltip.right {
- margin-left: 2px;
+ margin-left: 2px;
}
.tooltip.bottom {
- margin-top: 2px;
+ margin-top: 2px;
}
.tooltip.left {
- margin-left: -2px;
+ margin-left: -2px;
}
.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-top: 5px solid #000000;
- border-right: 5px solid transparent;
- border-left: 5px solid transparent;
+ bottom: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-top: 5px solid #000000;
+ border-right: 5px solid transparent;
+ border-left: 5px solid transparent;
}
.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-top: 5px solid transparent;
- border-bottom: 5px solid transparent;
- border-left: 5px solid #000000;
+ top: 50%;
+ right: 0;
+ margin-top: -5px;
+ border-top: 5px solid transparent;
+ border-bottom: 5px solid transparent;
+ border-left: 5px solid #000000;
}
.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-right: 5px solid transparent;
- border-bottom: 5px solid #000000;
- border-left: 5px solid transparent;
+ top: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-right: 5px solid transparent;
+ border-bottom: 5px solid #000000;
+ border-left: 5px solid transparent;
}
.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-top: 5px solid transparent;
- border-right: 5px solid #000000;
- border-bottom: 5px solid transparent;
+ top: 50%;
+ left: 0;
+ margin-top: -5px;
+ border-top: 5px solid transparent;
+ border-right: 5px solid #000000;
+ border-bottom: 5px solid transparent;
}
.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #ffffff;
- text-align: center;
- text-decoration: none;
- background-color: #000000;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ max-width: 200px;
+ padding: 3px 8px;
+ color: #ffffff;
+ text-align: center;
+ text-decoration: none;
+ background-color: #000000;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
+ position: absolute;
+ width: 0;
+ height: 0;
}
.popover {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1010;
- display: none;
- padding: 5px;
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 1010;
+ display: none;
+ padding: 5px;
}
.popover.top {
- margin-top: -5px;
+ margin-top: -5px;
}
.popover.right {
- margin-left: 5px;
+ margin-left: 5px;
}
.popover.bottom {
- margin-top: 5px;
+ margin-top: 5px;
}
.popover.left {
- margin-left: -5px;
+ margin-left: -5px;
}
.popover.top .arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-top: 5px solid #000000;
- border-right: 5px solid transparent;
- border-left: 5px solid transparent;
+ bottom: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-top: 5px solid #000000;
+ border-right: 5px solid transparent;
+ border-left: 5px solid transparent;
}
.popover.right .arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-top: 5px solid transparent;
- border-right: 5px solid #000000;
- border-bottom: 5px solid transparent;
+ top: 50%;
+ left: 0;
+ margin-top: -5px;
+ border-top: 5px solid transparent;
+ border-right: 5px solid #000000;
+ border-bottom: 5px solid transparent;
}
.popover.bottom .arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-right: 5px solid transparent;
- border-bottom: 5px solid #000000;
- border-left: 5px solid transparent;
+ top: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-right: 5px solid transparent;
+ border-bottom: 5px solid #000000;
+ border-left: 5px solid transparent;
}
.popover.left .arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-top: 5px solid transparent;
- border-bottom: 5px solid transparent;
- border-left: 5px solid #000000;
+ top: 50%;
+ right: 0;
+ margin-top: -5px;
+ border-top: 5px solid transparent;
+ border-bottom: 5px solid transparent;
+ border-left: 5px solid #000000;
}
.popover .arrow {
- position: absolute;
- width: 0;
- height: 0;
+ position: absolute;
+ width: 0;
+ height: 0;
}
.popover-inner {
- width: 280px;
- padding: 3px;
- overflow: hidden;
- background: #000000;
- background: rgba(0, 0, 0, 0.8);
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
- box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ width: 280px;
+ padding: 3px;
+ overflow: hidden;
+ background: #000000;
+ background: rgba(0, 0, 0, 0.8);
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
.popover-title {
- padding: 9px 15px;
- line-height: 1;
- background-color: #f5f5f5;
- border-bottom: 1px solid #eee;
- -webkit-border-radius: 3px 3px 0 0;
- -moz-border-radius: 3px 3px 0 0;
- border-radius: 3px 3px 0 0;
+ padding: 9px 15px;
+ line-height: 1;
+ background-color: #f5f5f5;
+ border-bottom: 1px solid #eee;
+ -webkit-border-radius: 3px 3px 0 0;
+ -moz-border-radius: 3px 3px 0 0;
+ border-radius: 3px 3px 0 0;
}
.popover-content {
- padding: 14px;
- background-color: #ffffff;
- -webkit-border-radius: 0 0 3px 3px;
- -moz-border-radius: 0 0 3px 3px;
- border-radius: 0 0 3px 3px;
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding-box;
- background-clip: padding-box;
+ padding: 14px;
+ background-color: #ffffff;
+ -webkit-border-radius: 0 0 3px 3px;
+ -moz-border-radius: 0 0 3px 3px;
+ border-radius: 0 0 3px 3px;
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding-box;
+ background-clip: padding-box;
}
.popover-content p,
.popover-content ul,
.popover-content ol {
- margin-bottom: 0;
+ margin-bottom: 0;
}
.thumbnails {
- margin-left: -20px;
- list-style: none;
- *zoom: 1;
+ margin-left: -20px;
+ list-style: none;
+ *zoom: 1;
}
.thumbnails:before,
.thumbnails:after {
- display: table;
- content: "";
+ display: table;
+ content: "";
}
.thumbnails:after {
- clear: both;
+ clear: both;
}
.row-fluid .thumbnails {
- margin-left: 0;
+ margin-left: 0;
}
.thumbnails > li {
- float: left;
- margin-bottom: 18px;
- margin-left: 20px;
+ float: left;
+ margin-bottom: 18px;
+ margin-left: 20px;
}
.thumbnail {
- display: block;
- padding: 4px;
- line-height: 1;
- border: 1px solid #ddd;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
- -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
+ display: block;
+ padding: 4px;
+ line-height: 1;
+ border: 1px solid #ddd;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
}
a.thumbnail:hover {
- border-color: #0088cc;
- -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
- -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
- box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
+ border-color: #0088cc;
+ -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
+ -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
+ box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}
.thumbnail > img {
- display: block;
- max-width: 100%;
- margin-right: auto;
- margin-left: auto;
+ display: block;
+ max-width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
.thumbnail .caption {
- padding: 9px;
+ padding: 9px;
}
.label,
.badge {
- font-size: 10.998px;
- font-weight: bold;
- line-height: 14px;
- color: #ffffff;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- white-space: nowrap;
- vertical-align: baseline;
- background-color: #999999;
+ font-size: 10.998px;
+ font-weight: bold;
+ line-height: 14px;
+ color: #ffffff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ white-space: nowrap;
+ vertical-align: baseline;
+ background-color: #999999;
}
.label {
- padding: 1px 4px 2px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
+ padding: 1px 4px 2px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
}
.badge {
- padding: 1px 9px 2px;
- -webkit-border-radius: 9px;
- -moz-border-radius: 9px;
- border-radius: 9px;
+ padding: 1px 9px 2px;
+ -webkit-border-radius: 9px;
+ -moz-border-radius: 9px;
+ border-radius: 9px;
}
a.label:hover,
a.badge:hover {
- color: #ffffff;
- text-decoration: none;
- cursor: pointer;
+ color: #ffffff;
+ text-decoration: none;
+ cursor: pointer;
}
.label-important,
.badge-important {
- background-color: #b94a48;
+ background-color: #b94a48;
}
.label-important[href],
.badge-important[href] {
- background-color: #953b39;
+ background-color: #953b39;
}
.label-warning,
.badge-warning {
- background-color: #f89406;
+ background-color: #f89406;
}
.label-warning[href],
.badge-warning[href] {
- background-color: #c67605;
+ background-color: #c67605;
}
.label-success,
.badge-success {
- background-color: #468847;
+ background-color: #468847;
}
.label-success[href],
.badge-success[href] {
- background-color: #356635;
+ background-color: #356635;
}
.label-info,
.badge-info {
- background-color: #3a87ad;
+ background-color: #3a87ad;
}
.label-info[href],
.badge-info[href] {
- background-color: #2d6987;
+ background-color: #2d6987;
}
.label-inverse,
.badge-inverse {
- background-color: #333333;
+ background-color: #333333;
}
.label-inverse[href],
.badge-inverse[href] {
- background-color: #1a1a1a;
+ background-color: #1a1a1a;
}
@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
}
@-moz-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
}
@-ms-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
}
@-o-keyframes progress-bar-stripes {
- from {
- background-position: 0 0;
- }
- to {
- background-position: 40px 0;
- }
+ from {
+ background-position: 0 0;
+ }
+ to {
+ background-position: 40px 0;
+ }
}
@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
}
.progress {
- height: 18px;
- margin-bottom: 18px;
- overflow: hidden;
- background-color: #f7f7f7;
- background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
- background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
- background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
- background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
- background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
- background-repeat: repeat-x;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+ height: 18px;
+ margin-bottom: 18px;
+ overflow: hidden;
+ background-color: #f7f7f7;
+ background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
+ background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
+ background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
+ background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
+ background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
+ background-repeat: repeat-x;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.progress .bar {
- width: 0;
- height: 18px;
- font-size: 12px;
- color: #ffffff;
- text-align: center;
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
- background-color: #0e90d2;
- background-image: -moz-linear-gradient(top, #149bdf, #0480be);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
- background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
- background-image: -o-linear-gradient(top, #149bdf, #0480be);
- background-image: linear-gradient(top, #149bdf, #0480be);
- background-image: -ms-linear-gradient(top, #149bdf, #0480be);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-transition: width 0.6s ease;
- -moz-transition: width 0.6s ease;
- -ms-transition: width 0.6s ease;
- -o-transition: width 0.6s ease;
- transition: width 0.6s ease;
+ width: 0;
+ height: 18px;
+ font-size: 12px;
+ color: #ffffff;
+ text-align: center;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ background-color: #0e90d2;
+ background-image: -moz-linear-gradient(top, #149bdf, #0480be);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
+ background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
+ background-image: -o-linear-gradient(top, #149bdf, #0480be);
+ background-image: linear-gradient(top, #149bdf, #0480be);
+ background-image: -ms-linear-gradient(top, #149bdf, #0480be);
+ background-repeat: repeat-x;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
+ -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ -webkit-transition: width 0.6s ease;
+ -moz-transition: width 0.6s ease;
+ -ms-transition: width 0.6s ease;
+ -o-transition: width 0.6s ease;
+ transition: width 0.6s ease;
}
.progress-striped .bar {
- background-color: #149bdf;
- background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
- background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- -webkit-background-size: 40px 40px;
- -moz-background-size: 40px 40px;
- -o-background-size: 40px 40px;
- background-size: 40px 40px;
+ background-color: #149bdf;
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ -webkit-background-size: 40px 40px;
+ -moz-background-size: 40px 40px;
+ -o-background-size: 40px 40px;
+ background-size: 40px 40px;
}
.progress.active .bar {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- -moz-animation: progress-bar-stripes 2s linear infinite;
- -ms-animation: progress-bar-stripes 2s linear infinite;
- -o-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite;
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
+ -moz-animation: progress-bar-stripes 2s linear infinite;
+ -ms-animation: progress-bar-stripes 2s linear infinite;
+ -o-animation: progress-bar-stripes 2s linear infinite;
+ animation: progress-bar-stripes 2s linear infinite;
}
.progress-danger .bar {
- background-color: #dd514c;
- background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
- background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
- background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
- background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
- background-image: linear-gradient(top, #ee5f5b, #c43c35);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
+ background-color: #dd514c;
+ background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
+ background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
+ background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
+ background-image: linear-gradient(top, #ee5f5b, #c43c35);
+ background-repeat: repeat-x;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}
.progress-danger.progress-striped .bar {
- background-color: #ee5f5b;
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
- background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-color: #ee5f5b;
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-success .bar {
- background-color: #5eb95e;
- background-image: -moz-linear-gradient(top, #62c462, #57a957);
- background-image: -ms-linear-gradient(top, #62c462, #57a957);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
- background-image: -webkit-linear-gradient(top, #62c462, #57a957);
- background-image: -o-linear-gradient(top, #62c462, #57a957);
- background-image: linear-gradient(top, #62c462, #57a957);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
+ background-color: #5eb95e;
+ background-image: -moz-linear-gradient(top, #62c462, #57a957);
+ background-image: -ms-linear-gradient(top, #62c462, #57a957);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
+ background-image: -webkit-linear-gradient(top, #62c462, #57a957);
+ background-image: -o-linear-gradient(top, #62c462, #57a957);
+ background-image: linear-gradient(top, #62c462, #57a957);
+ background-repeat: repeat-x;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}
.progress-success.progress-striped .bar {
- background-color: #62c462;
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
- background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-color: #62c462;
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-info .bar {
- background-color: #4bb1cf;
- background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
- background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
- background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
- background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
- background-image: linear-gradient(top, #5bc0de, #339bb9);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
+ background-color: #4bb1cf;
+ background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
+ background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
+ background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
+ background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
+ background-image: linear-gradient(top, #5bc0de, #339bb9);
+ background-repeat: repeat-x;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}
.progress-info.progress-striped .bar {
- background-color: #5bc0de;
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
- background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-color: #5bc0de;
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-warning .bar {
- background-color: #faa732;
- background-image: -moz-linear-gradient(top, #fbb450, #f89406);
- background-image: -ms-linear-gradient(top, #fbb450, #f89406);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
- background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
- background-image: -o-linear-gradient(top, #fbb450, #f89406);
- background-image: linear-gradient(top, #fbb450, #f89406);
- background-repeat: repeat-x;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
+ background-color: #faa732;
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
+ background-image: -ms-linear-gradient(top, #fbb450, #f89406);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
+ background-image: linear-gradient(top, #fbb450, #f89406);
+ background-repeat: repeat-x;
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}
.progress-warning.progress-striped .bar {
- background-color: #fbb450;
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
- background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-color: #fbb450;
+ background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
+ background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.accordion {
- margin-bottom: 18px;
+ margin-bottom: 18px;
}
.accordion-group {
- margin-bottom: 2px;
- border: 1px solid #e5e5e5;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ margin-bottom: 2px;
+ border: 1px solid #e5e5e5;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.accordion-heading {
- border-bottom: 0;
+ border-bottom: 0;
}
.accordion-heading .accordion-toggle {
- display: block;
- padding: 8px 15px;
+ display: block;
+ padding: 8px 15px;
}
.accordion-toggle {
- cursor: pointer;
+ cursor: pointer;
}
.accordion-inner {
- padding: 9px 15px;
- border-top: 1px solid #e5e5e5;
+ padding: 9px 15px;
+ border-top: 1px solid #e5e5e5;
}
.carousel {
- position: relative;
- margin-bottom: 18px;
- line-height: 1;
+ position: relative;
+ margin-bottom: 18px;
+ line-height: 1;
}
.carousel-inner {
- position: relative;
- width: 100%;
- overflow: hidden;
+ position: relative;
+ width: 100%;
+ overflow: hidden;
}
.carousel .item {
- position: relative;
- display: none;
- -webkit-transition: 0.6s ease-in-out left;
- -moz-transition: 0.6s ease-in-out left;
- -ms-transition: 0.6s ease-in-out left;
- -o-transition: 0.6s ease-in-out left;
- transition: 0.6s ease-in-out left;
+ position: relative;
+ display: none;
+ -webkit-transition: 0.6s ease-in-out left;
+ -moz-transition: 0.6s ease-in-out left;
+ -ms-transition: 0.6s ease-in-out left;
+ -o-transition: 0.6s ease-in-out left;
+ transition: 0.6s ease-in-out left;
}
.carousel .item > img {
- display: block;
- line-height: 1;
+ display: block;
+ line-height: 1;
}
.carousel .active,
.carousel .next,
.carousel .prev {
- display: block;
+ display: block;
}
.carousel .active {
- left: 0;
+ left: 0;
}
.carousel .next,
.carousel .prev {
- position: absolute;
- top: 0;
- width: 100%;
+ position: absolute;
+ top: 0;
+ width: 100%;
}
.carousel .next {
- left: 100%;
+ left: 100%;
}
.carousel .prev {
- left: -100%;
+ left: -100%;
}
.carousel .next.left,
.carousel .prev.right {
- left: 0;
+ left: 0;
}
.carousel .active.left {
- left: -100%;
+ left: -100%;
}
.carousel .active.right {
- left: 100%;
+ left: 100%;
}
.carousel-control {
- position: absolute;
- top: 40%;
- left: 15px;
- width: 40px;
- height: 40px;
- margin-top: -20px;
- font-size: 60px;
- font-weight: 100;
- line-height: 30px;
- color: #ffffff;
- text-align: center;
- background: #222222;
- border: 3px solid #ffffff;
- -webkit-border-radius: 23px;
- -moz-border-radius: 23px;
- border-radius: 23px;
- opacity: 0.5;
- filter: alpha(opacity=50);
+ position: absolute;
+ top: 40%;
+ left: 15px;
+ width: 40px;
+ height: 40px;
+ margin-top: -20px;
+ font-size: 60px;
+ font-weight: 100;
+ line-height: 30px;
+ color: #ffffff;
+ text-align: center;
+ background: #222222;
+ border: 3px solid #ffffff;
+ -webkit-border-radius: 23px;
+ -moz-border-radius: 23px;
+ border-radius: 23px;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
}
.carousel-control.right {
- right: 15px;
- left: auto;
+ right: 15px;
+ left: auto;
}
.carousel-control:hover {
- color: #ffffff;
- text-decoration: none;
- opacity: 0.9;
- filter: alpha(opacity=90);
+ color: #ffffff;
+ text-decoration: none;
+ opacity: 0.9;
+ filter: alpha(opacity=90);
}
.carousel-caption {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- padding: 10px 15px 5px;
- background: #333333;
- background: rgba(0, 0, 0, 0.75);
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ padding: 10px 15px 5px;
+ background: #333333;
+ background: rgba(0, 0, 0, 0.75);
}
.carousel-caption h4,
.carousel-caption p {
- color: #ffffff;
+ color: #ffffff;
}
.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- background-color: #eeeeee;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
+ padding: 60px;
+ margin-bottom: 30px;
+ background-color: #eeeeee;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
}
.hero-unit h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- color: inherit;
+ margin-bottom: 0;
+ font-size: 60px;
+ line-height: 1;
+ letter-spacing: -1px;
+ color: inherit;
}
.hero-unit p {
- font-size: 18px;
- font-weight: 200;
- line-height: 27px;
- color: inherit;
+ font-size: 18px;
+ font-weight: 200;
+ line-height: 27px;
+ color: inherit;
}
.pull-right {
- float: right;
+ float: right;
}
.pull-left {
- float: left;
+ float: left;
}
.hide {
- display: none;
+ display: none;
}
.show {
- display: block;
+ display: block;
}
.invisible {
- visibility: hidden;
+ visibility: hidden;
}
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/skill.css b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/skill.css index f1882653..d24a2680 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/skill.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/skill.css @@ -14,76 +14,84 @@ * limitations under the License.
*/
body {
- font-family: 'Open Sans', sans-serif;
- /*background-color: #f1f3fa;*/
- width: '100%';
- height: '100%';
- margin-top: 10px;
+ font-family: 'Open Sans', sans-serif;
+ /*background-color: #f1f3fa;*/
+ width: '100%';
+ height: '100%';
+ margin-top: 10px;
}
-div.skills-sunburst{
- font-size: 12px;
- font-weight: 400;
- text-align:center;
+
+div.skills-sunburst {
+ font-size: 12px;
+ font-weight: 400;
+ text-align: center;
}
#skillmap .skills-wrapper {
- margin-top: 10px;
- overflow: auto;
+ margin-top: 10px;
+ overflow: auto;
}
+
#skillmap .skills-sunburst {
- float: left;
- width: 500px;
- margin-left: -80px;
+ float: left;
+ width: 500px;
+ margin-left: -80px;
}
+
#skillmap .skills-sunburst svg {
- font: 11px 'Source Sans Pro', sans-serif;
- font-weight: 900;
-
- cursor: pointer;
+ font: 11px 'Source Sans Pro', sans-serif;
+ font-weight: 900;
+
+ cursor: pointer;
}
+
#skillmap .skills-chart {
- float: right;
- font-family: 'Source Sans Pro', sans-serif;
- font-size: 15px;
- margin: 80px 20px 0 0;
+ float: right;
+ font-family: 'Source Sans Pro', sans-serif;
+ font-size: 15px;
+ margin: 80px 20px 0 0;
}
+
#skillmap .skills-chart .breadcumb-text {
- font-size: 13px;
- font-weight: 700;
+ font-size: 13px;
+ font-weight: 700;
}
+
#skillmap .skills-chart #skills-chart-line {
- fill: none;
- stroke-width: 3.5px;
+ fill: none;
+ stroke-width: 3.5px;
}
+
#skillmap .skills-chart .axis path,
#skillmap .skills-chart .axis line {
- fill: none;
+ fill: none;
}
+
#skillmap .skills-chart .x-axis path,
#skillmap .skills-chart .y-axis path {
- stroke: #444;
- stroke-width: 1px;
- shape-rendering: geometricPrecision;
+ stroke: #444;
+ stroke-width: 1px;
+ shape-rendering: geometricPrecision;
}
#explanation {
- position: absolute;
- top: 165px;
- left: 170px;
- width: 140px;
- text-align: center;
- color: #666;
- margin-top:30px;
+ position: absolute;
+ top: 165px;
+ left: 170px;
+ width: 140px;
+ text-align: center;
+ color: #666;
+ margin-top: 30px;
}
#percentage {
- font-size: 2em;
+ font-size: 2em;
}
-#endlabel{
- font-sizte:1.5em;
+#endlabel {
+ font-sizte: 1.5em;
}
-div.skills-sunburst text{
- text-anchor: middle;
+div.skills-sunburst text {
+ text-anchor: middle;
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vim.css b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vim.css index ab7b8750..680919b2 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vim.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vim.css @@ -14,469 +14,463 @@ * limitations under the License.
*/
body {
- font-family: microsoft yahei !important;
+ font-family: microsoft yahei !important;
}
/* blue pill (inspired by iTunes)
*******************************************************************************/
.grey {
- background-color: #e5e5e5;
- color: #333;
+ background-color: #e5e5e5;
+ color: #333;
}
.blue {
- background-color: #5b9bd1;
- border-radius: 20px;
- color: #fff;
- font-weight: bold;
- padding: 8px 0;
- text-align: center;
- width: 100px;
+ background-color: #5b9bd1;
+ border-radius: 20px;
+ color: #fff;
+ font-weight: bold;
+ padding: 8px 0;
+ text-align: center;
+ width: 100px;
}
.blue:hover {
- background-color: #e8f3fd;
- color: #5b9bd1;
+ background-color: #e8f3fd;
+ color: #5b9bd1;
}
.blue.selected {
- border: 0;
- background-color: #5b9bd1;
- color: #fff;
+ border: 0;
+ background-color: #5b9bd1;
+ color: #fff;
}
.blue.selected:hover {
- border: 0;
- background-color: #5b9bd1;
- color: #fff;
+ border: 0;
+ background-color: #5b9bd1;
+ color: #fff;
}
a {
- font-weight: bold;
- text-decoration: none;
+ font-weight: bold;
+ text-decoration: none;
}
p {
- color: #444;
- font-size: 14px;
- font-weight: normal;
- line-height: 21px;
- margin: 0 0 12px 0;
+ color: #444;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 21px;
+ margin: 0 0 12px 0;
}
p.credit {
- border-top: 1px solid #ccc;
- font-size: 14px;
- line-height: 140%;
- margin: 36px 0 12px 0;
- padding: 8px 0 0 0;
- text-align: center;
+ border-top: 1px solid #ccc;
+ font-size: 14px;
+ line-height: 140%;
+ margin: 36px 0 12px 0;
+ padding: 8px 0 0 0;
+ text-align: center;
}
ul.column {
- float: left;
- list-style: none;
- width: 675px;
+ float: left;
+ list-style: none;
+ width: 675px;
}
ul.column li {
- background: #eee;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -webkit-box-shadow: inset 0 1px 1px 0 #c7c7c7;
- box-shadow: inset 0 1px 1px 0 #c7c7c7;
- float: left;
- margin: 10px 0 0 10px;
- display: block;
- height: 150px;
- text-align: center;
- width: 215px;
+ background: #eee;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ -webkit-box-shadow: inset 0 1px 1px 0 #c7c7c7;
+ box-shadow: inset 0 1px 1px 0 #c7c7c7;
+ float: left;
+ margin: 10px 0 0 10px;
+ display: block;
+ height: 150px;
+ text-align: center;
+ width: 215px;
}
/* Clear Floated Elements
------------------------------------------------------------------------------*/
-.column:after,.button-collection:after,.clearfix:after,div.project-info:after
- {
- clear: both;
- content: ' ';
- display: block;
- font-size: 0;
- line-height: 0;
- visibility: hidden;
- width: 0;
- height: 0;
+.column:after, .button-collection:after, .clearfix:after, div.project-info:after {
+ clear: both;
+ content: ' ';
+ display: block;
+ font-size: 0;
+ line-height: 0;
+ visibility: hidden;
+ width: 0;
+ height: 0;
}
.container-fluid {
- background-color: white !important;
- min-height: 500px;
+ background-color: white !important;
+ min-height: 500px;
}
.nav-tabs {
- border: 0;
+ border: 0;
}
-.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus
- {
- border: 0;
- border-top: 3px solid #F3565D;
+.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
+ border: 0;
+ border-top: 3px solid #F3565D;
}
-.nav-tabs>li>a {
- border-radius: 0;
+.nav-tabs > li > a {
+ border-radius: 0;
}
-.nav-tabs>li>a:hover {
- background-color: #f1f3fa;
- border: 1Px solid #f1f3fa;
+.nav-tabs > li > a:hover {
+ background-color: #f1f3fa;
+ border: 1Px solid #f1f3fa;
}
.c3 {
- margin-top: 120px;
+ margin-top: 120px;
}
.skills-chart-breadcrumb {
-
+
}
.blue:selected {
- border: 0;
- background-color: #5b9bd1;
+ border: 0;
+ background-color: #5b9bd1;
}
.btn {
- /* border-width: 0; */
- /* padding: 7px 14px; */
- /* font-size: 14px; */
- /* outline: none !important; */
- /* background-image: none !important; */
- /* filter: none; */
- /* -webkit-box-shadow: none; */
- -moz-box-shadow: none;
- /* box-shadow: none; */
- /* text-shadow: none; */
+ /* border-width: 0; */
+ /* padding: 7px 14px; */
+ /* font-size: 14px; */
+ /* outline: none !important; */
+ /* background-image: none !important; */
+ /* filter: none; */
+ /* -webkit-box-shadow: none; */
+ -moz-box-shadow: none;
+ /* box-shadow: none; */
+ /* text-shadow: none; */
}
select {
- border-width: 1px;
- padding: 4px 1px;
- border-radius: 4px;
+ border-width: 1px;
+ padding: 4px 1px;
+ border-radius: 4px;
}
.input-sm {
- padding: 4px 10px;
+ padding: 4px 10px;
}
.btn-block {
- display: block;
- width: 100%;
- padding-left: 0;
- padding-right: 0;
+ display: block;
+ width: 100%;
+ padding-left: 0;
+ padding-right: 0;
}
/* Bootstrap buttons */
-
-.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active
- {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
+.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
+ color: #333;
+ background-color: #ededed;
+ border-color: #b3b3b3;
}
.open .btn-default.dropdown-toggle {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
+ color: #333;
+ background-color: #ededed;
+ border-color: #b3b3b3;
}
-.btn-default:active,.btn-default.active {
- background-image: none;
- background-color: #e0e0e0;
- font-weight: bold;
+.btn-default:active, .btn-default.active {
+ background-image: none;
+ background-color: #e0e0e0;
+ font-weight: bold;
}
-.btn-default:active:hover,.btn-default.active:hover {
- background-color: #e6e6e6;
+.btn-default:active:hover, .btn-default.active:hover {
+ background-color: #e6e6e6;
}
.open .btn-default.dropdown-toggle {
- background-image: none;
+ background-image: none;
}
-.btn-default.disabled,.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled:active,.btn-default.disabled.active,.btn-default[disabled],.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled]:active,.btn-default[disabled].active,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default.active
- {
- background-color: #fff;
- border-color: #ccc;
+.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
+ background-color: #fff;
+ border-color: #ccc;
}
.btn-default .badge {
- color: #fff;
- background-color: #333;
+ color: #fff;
+ background-color: #333;
}
-
-.btn-default>i[class^="icon-"],.btn-default>i[class*="icon-"] {
- color: #8c8c8c;
+.btn-default > i[class^="icon-"], .btn-default > i[class*="icon-"] {
+ color: #8c8c8c;
}
div[data-name="tab_zone"] div {
- background-color: #f1f3fa;
- padding: 0px;
+ background-color: #f1f3fa;
+ padding: 0px;
}
div[data-name="cond_zone"] div {
- background-color: #fff;
- margin-top: 15px;
- margin-bottom: 15px;
-}
-
-
-
-
-.input{
- width:250px;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
- -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
+ background-color: #fff;
+ margin-top: 15px;
+ margin-bottom: 15px;
+}
+
+.input {
+ width: 250px;
+ height: 34px;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #555;
+ background-color: #fff;
+ background-image: none;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
div.separator {
- margin: 20px;
+ margin: 20px;
}
div.separator div {
- text-align: center;
- line-height: 0;
+ text-align: center;
+ line-height: 0;
}
div.separator-line {
- height: 1px !important;
- width: 100%;
- background: #ddd;
- overflow: hidden;
+ height: 1px !important;
+ width: 100%;
+ background: #ddd;
+ overflow: hidden;
}
.dropdown-toggle {
- color: #5b9bd1;
+ color: #5b9bd1;
}
.calendar-date {
- color: #5b9bd1;
+ color: #5b9bd1;
}
.range_inputs {
- color: #5b9bd1;
+ color: #5b9bd1;
}
-.btn.dropdown-toggle,.btn-group .btn.dropdown-toggle,.btn:hover,.btn:disabled,.btn[disabled],.btn:focus,.btn:active,.btn.active
- {
- outline: none !important;
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
+.btn.dropdown-toggle, .btn-group .btn.dropdown-toggle, .btn:hover, .btn:disabled, .btn[disabled], .btn:focus, .btn:active, .btn.active {
+ outline: none !important;
+ background-image: none !important;
+ filter: none;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+ text-shadow: none;
}
#skills-chart-breadcrumb {
- margin-bottom: 10px
+ margin-bottom: 10px
}
/*增加daterangepicker的css*/
input[name="daterange"] {
- width: 220px;
- line-height: 0;
- height: 31px;
- vertical-align: top;
- margin-top: 2px;
+ width: 220px;
+ line-height: 0;
+ height: 31px;
+ vertical-align: top;
+ margin-top: 2px;
}
.daterangepicker .ranges {
- width: 205px;
+ width: 205px;
}
.daterangepicker .ranges input {
- width: 95px !important;
+ width: 95px !important;
}
td.details-control {
- background: url('../images/details_open.png') no-repeat center center;
- cursor: pointer;
+ background: url('../images/details_open.png') no-repeat center center;
+ cursor: pointer;
}
tr.shown td.details-control {
- background: url('../images/details_close.png') no-repeat center center;
+ background: url('../images/details_close.png') no-repeat center center;
}
.details table td {
- word-wrap: break-word;
- word-break: normal;
- border-top: 1px solid #dddddd;
+ word-wrap: break-word;
+ word-break: normal;
+ border-top: 1px solid #dddddd;
}
-.details table tr:first-child td {
- border-top: none;
+.details table tr:first-child td {
+ border-top: none;
}
.details table {
- table-layout: fixed;
- width: 100%;
+ table-layout: fixed;
+ width: 100%;
}
td.title {
- width: 10%;
+ width: 10%;
}
-table.dataTable tbody th,table.dataTable tbody td {
- padding: 8px 10px;
+table.dataTable tbody th, table.dataTable tbody td {
+ padding: 8px 10px;
}
-div.dataTables_length,div.dataTables_info {
- display: inline;
+div.dataTables_length, div.dataTables_info {
+ display: inline;
}
div.dataTables_paginate {
- display: inline;
- float: right;
+ display: inline;
+ float: right;
}
div.pagination-panel {
- margin-right: 10px;
+ margin-right: 10px;
}
input.pagination-panel-input {
- width: 50px;
+ width: 50px;
}
#ict_res_table_div {
- margin-top: 15px;
+ margin-top: 15px;
}
#ict_res_table_div label {
- font-weight: 100;
+ font-weight: 100;
}
-.daterangepicker .daterangepicker_start_input label,.daterangepicker .daterangepicker_end_input label
- {
- color: #5b9bd1;
+.daterangepicker .daterangepicker_start_input label, .daterangepicker .daterangepicker_end_input label {
+ color: #5b9bd1;
}
.daterangepicker .ranges .input-mini {
- color: #5b9bd1;
+ color: #5b9bd1;
}
.cancelBtn {
- padding: 5px 10px 5px 10px;
+ padding: 5px 10px 5px 10px;
}
-.btn:focus,.btn:active:focus,.btn.active:focus {
- outline: 0;
+.btn:focus, .btn:active:focus, .btn.active:focus {
+ outline: 0;
}
-#ict_res_table_div table {
- width: 100% !important;
+#ict_res_table_div table {
+ width: 100% !important;
}
.control-label .required {
- color: #e02222;
- font-size: 12px;
- padding-left: 2px;
+ color: #e02222;
+ font-size: 12px;
+ padding-left: 2px;
}
-#ict_vim_table tbody tr{
- cursor:pointer;
+#ict_vim_table tbody tr {
+ cursor: pointer;
}
-
/*卡片面板样式*/
.animated-panel {
- -webkit-animation-duration: .5s;
- animation-duration: .5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
+ -webkit-animation-duration: .5s;
+ animation-duration: .5s;
+ -webkit-animation-fill-mode: both;
+ animation-fill-mode: both;
}
.hpanel {
- background-color: none;
- border: none;
- box-shadow: none;
- margin-bottom: 25px;
-
+ background-color: none;
+ border: none;
+ box-shadow: none;
+ margin-bottom: 25px;
+
}
.hpanel .panel-body {
- border: 1px solid #e4e5e7;
- border-radius: 2px;
- padding: 20px;
- position: relative;
+ border: 1px solid #e4e5e7;
+ border-radius: 2px;
+ padding: 20px;
+ position: relative;
}
+
.h-200 {
- min-height: 220px;
+ min-height: 220px;
}
+
.m-t-xl {
- margin-top: 40px;
+ margin-top: 40px;
}
+
.text-success {
- color: #0d638f;
+ color: #0d638f;
}
+
.hpanel > .panel-footer {
- color: inherit;
- border: 1px solid #e4e5e7;
- border-top: none;
- font-size: 90%;
- background: #f7f9fa;
- height:40px;
- padding: 5px 15px;
+ color: inherit;
+ border: 1px solid #e4e5e7;
+ border-top: none;
+ font-size: 90%;
+ background: #f7f9fa;
+ height: 40px;
+ padding: 5px 15px;
}
-.color_cloud{
- color:#ccc;
+
+.color_cloud {
+ color: #ccc;
}
-.stats-title{
+
+.stats-title {
}
-h3{
- margin-top: 10px;
- margin-bottom: 40px;
- font-weight: 200;
+h3 {
+ margin-top: 10px;
+ margin-bottom: 40px;
+ font-weight: 200;
}
-.blue-font{
- color:#428bca;
+.blue-font {
+ color: #428bca;
}
-.hpanel > .panel-footer .pull-right a{
- margin-left: 5px;
+.hpanel > .panel-footer .pull-right a {
+ margin-left: 5px;
}
-.hpanel > .panel-footer .pull-right .btn{
+.hpanel > .panel-footer .pull-right .btn {
min-width: 30px !important;
}
-.refresh-status-text{
- float: right;
+.refresh-status-text {
+ float: right;
}
.font {
- margin-bottom: 15px;
+ margin-bottom: 15px;
}
-.hpanel_show{
- cursor: pointer;
- background-color: #f7f9fa;
+.hpanel_show {
+ cursor: pointer;
+ background-color: #f7f9fa;
}
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vimChart.css b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vimChart.css index 0af68c56..bb79d8e9 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vimChart.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/css/vimChart.css @@ -14,33 +14,32 @@ * limitations under the License.
*/
body {
- color: #333;
- font-family: "Microsoft yahei", Verdana, Arial, Helvetica, sans-serif !important;
- padding: 0px !important;
- margin: 0px !important;
- direction: ltr;
- background-color: #f1f3fa !important;
+ color: #333;
+ font-family: "Microsoft yahei", Verdana, Arial, Helvetica, sans-serif !important;
+ padding: 0px !important;
+ margin: 0px !important;
+ direction: ltr;
+ background-color: #f1f3fa !important;
}
-.row{
- margin-left: 0px;
- margin-right: 0px;
+.row {
+ margin-left: 0px;
+ margin-right: 0px;
}
select {
- border-width: 1px;
- padding: 4px 1px;
- border-radius: 4px;
+ border-width: 1px;
+ padding: 4px 1px;
+ border-radius: 4px;
}
.container-fluid {
- background-color: #fff;
+ background-color: #fff;
}
-
.titlefont {
- font-size: 16px;
- margin-left: 10px;
+ font-size: 16px;
+ margin-left: 10px;
}
.separator-line {
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/i18n/loadi18nApp.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/i18n/loadi18nApp.js index 5549e5b3..e37a0489 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/i18n/loadi18nApp.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/i18n/loadi18nApp.js @@ -13,25 +13,25 @@ * See the License for the specific language governing permissions and
* limitations under the License.
*/
-function loadPropertiesSideMenu(lang, propertiesFileNamePrefix, propertiesFilePath){
+function loadPropertiesSideMenu(lang, propertiesFileNamePrefix, propertiesFilePath) {
jQuery.i18n.properties({
- language:lang,
- name:propertiesFileNamePrefix,
- path:propertiesFilePath, // 资源文件路径
- mode:'map', // 用 Map 的方式使用资源文件中的值
- callback: function() {// 加载成功后设置显示内容
+ language: lang,
+ name: propertiesFileNamePrefix,
+ path: propertiesFilePath, // 资源文件路径
+ mode: 'map', // 用 Map 的方式使用资源文件中的值
+ callback: function () {// 加载成功后设置显示内容
var i18nItems = $('[name_i18n=com_zte_conductor_ui_i18n]');
- for(var i=0;i<i18nItems.length;i++){
+ for (var i = 0; i < i18nItems.length; i++) {
var $item = $(i18nItems.eq(i));
var itemId = $item.attr('id_i18n');
var itemTitle = $item.attr('title');
/** id存在时元素内容需要国际化,title存在时元素title需要国际化 */
- if(typeof($item.attr("title")) == "string"){
+ if (typeof($item.attr("title")) == "string") {
$item.attr("title", ($.i18n.prop(itemTitle)));
}
- if(undefined != itemId && typeof($item.attr("placeholder"))=="undefined"){
+ if (undefined != itemId && typeof($item.attr("placeholder")) == "undefined") {
$item.text($.i18n.prop(itemId));
- }else if(undefined != itemId && typeof($item.attr("placeholder"))!="undefined"){
+ } else if (undefined != itemId && typeof($item.attr("placeholder")) != "undefined") {
$item.attr("placeholder", $.i18n.prop(itemId));
}
}
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/client-cometd.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/client-cometd.js index 5f9a5dc0..d7373668 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/client-cometd.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/client-cometd.js @@ -16,48 +16,48 @@ /**
* Created by 10184303 on 15-11-17.
*/
-
-$(function(){
- var registerCometdMessage = function(url, callback) {
- var cometd = new $.Cometd();
+
+$(function () {
+ var registerCometdMessage = function (url, callback) {
+ var cometd = new $.Cometd();
var cometdURL = location.protocol + "//" + location.host + "/api/nsocnotification/v1";
cometd.configure({
- url : cometdURL,
- logLevel : "debug"
+ url: cometdURL,
+ logLevel: "debug"
});
- cometd.addListener("/meta/handshake", function(handshake){
- if(handshake.successful === true) {
- cometd.batch(function(){
- cometd.subscribe(url, function(message){
+ cometd.addListener("/meta/handshake", function (handshake) {
+ if (handshake.successful === true) {
+ cometd.batch(function () {
+ cometd.subscribe(url, function (message) {
callback.call(this, message.data);
});
});
}
});
cometd.handshake();
-}
- registerCometdMessage("/VIMstatus", function(data){
- var alarmArray= JSON.parse(data.greeting);
- console.log(data.greeting);
- for(var i=0;i<alarmArray.length;i++){
- vm.vimStatusTime = alarmArray[i].checkTime;
- for(var n=0;n<vm.vimInfo.length;n++){
- if(alarmArray[i].id==vm.vimInfo[n].oid && alarmArray[i].hostStorageInfo == ""){
- vm.vimInfo[n].status=alarmArray[i].status;
- vm.vimInfo[n].errorInfo=alarmArray[i].alarmContent;
- break;
- }
- if(alarmArray[i].id==vm.vimInfo[n].oid && alarmArray[i].hostStorageInfo.length != ""){
- vm.vimInfo[n].status= "inactive";
- vm.vimInfo[n].errorInfo = alarmArray[i].hostStorageInfo;
- break;
- }
+ }
+ registerCometdMessage("/VIMstatus", function (data) {
+ var alarmArray = JSON.parse(data.greeting);
+ console.log(data.greeting);
+ for (var i = 0; i < alarmArray.length; i++) {
+ vm.vimStatusTime = alarmArray[i].checkTime;
+ for (var n = 0; n < vm.vimInfo.length; n++) {
+ if (alarmArray[i].id == vm.vimInfo[n].oid && alarmArray[i].hostStorageInfo == "") {
+ vm.vimInfo[n].status = alarmArray[i].status;
+ vm.vimInfo[n].errorInfo = alarmArray[i].alarmContent;
+ break;
+ }
+ if (alarmArray[i].id == vm.vimInfo[n].oid && alarmArray[i].hostStorageInfo.length != "") {
+ vm.vimInfo[n].status = "inactive";
+ vm.vimInfo[n].errorInfo = alarmArray[i].hostStorageInfo;
+ break;
+ }
- }
- }
+ }
+ }
- setTimeout('resUtil.tooltipVimStatus()',5000);
- });
+ setTimeout('resUtil.tooltipVimStatus()', 5000);
+ });
});
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/jqBootstrapValidation.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/jqBootstrapValidation.js index d57e07d2..7efebf89 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/jqBootstrapValidation.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/jqBootstrapValidation.js @@ -23,905 +23,903 @@ * http://ReactiveRaven.github.com/jqBootstrapValidation/
*/
-(function( $ ){
+(function ($) {
- var createdElements = [];
+ var createdElements = [];
- var defaults = {
- options: {
- prependExistingHelpBlock: false,
- sniffHtml: true, // sniff for 'required', 'maxlength', etc
- preventSubmit: true, // stop the form submit event from firing if validation fails
- submitError: false, // function called if there is an error when trying to submit
- submitSuccess: false, // function called just before a successful submit event is sent to the server
+ var defaults = {
+ options: {
+ prependExistingHelpBlock: false,
+ sniffHtml: true, // sniff for 'required', 'maxlength', etc
+ preventSubmit: true, // stop the form submit event from firing if validation fails
+ submitError: false, // function called if there is an error when trying to submit
+ submitSuccess: false, // function called just before a successful submit event is sent to the server
semanticallyStrict: false, // set to true to tidy up generated HTML output
- autoAdd: {
- helpBlocks: true
- },
+ autoAdd: {
+ helpBlocks: true
+ },
filter: function () {
// return $(this).is(":visible"); // only validate elements you can see
return true; // validate everything
}
- },
- methods: {
- init : function( options ) {
-
- var settings = $.extend(true, {}, defaults);
-
- settings.options = $.extend(true, settings.options, options);
-
- var $siblingElements = this;
-
- var uniqueForms = $.unique(
- $siblingElements.map( function () {
- return $(this).parents("form")[0];
- }).toArray()
- );
-
- $(uniqueForms).bind("submit", function (e) {
- var $form = $(this);
- var warningsFound = 0;
- var $inputs = $form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);
- $inputs.trigger("submit.validation").trigger("validationLostFocus.validation");
-
- $inputs.each(function (i, el) {
- var $this = $(el),
- $controlGroup = $this.parents(".control-group").first();
- if (
- $controlGroup.hasClass("warning")
- ) {
- $controlGroup.removeClass("warning").addClass("error");
- warningsFound++;
- }
- });
+ },
+ methods: {
+ init: function (options) {
- $inputs.trigger("validationLostFocus.validation");
+ var settings = $.extend(true, {}, defaults);
- if (warningsFound) {
- if (settings.options.preventSubmit) {
- e.preventDefault();
- }
- $form.addClass("error");
- if ($.isFunction(settings.options.submitError)) {
- settings.options.submitError($form, e, $inputs.jqBootstrapValidation("collectErrors", true));
- }
- } else {
- $form.removeClass("error");
- if ($.isFunction(settings.options.submitSuccess)) {
- settings.options.submitSuccess($form, e);
- }
- }
- });
-
- return this.each(function(){
-
- // Get references to everything we're interested in
- var $this = $(this),
- $controlGroup = $this.parents(".control-group").first(),
- $helpBlock = $controlGroup.find(".help-block").first(),
- $form = $this.parents("form").first(),
- validatorNames = [];
-
- // create message container if not exists
- if (!$helpBlock.length && settings.options.autoAdd && settings.options.autoAdd.helpBlocks) {
- $helpBlock = $('<div class="help-block" />');
- $controlGroup.find('.controls').append($helpBlock);
- createdElements.push($helpBlock[0]);
- }
-
- // =============================================================
- // SNIFF HTML FOR VALIDATORS
- // =============================================================
-
- // *snort sniff snuffle*
-
- if (settings.options.sniffHtml) {
- var message = "";
- // ---------------------------------------------------------
- // PATTERN
- // ---------------------------------------------------------
- if ($this.attr("pattern") !== undefined) {
- message = "Not in the expected format<!-- data-validation-pattern-message to override -->";
- if ($this.data("validationPatternMessage")) {
- message = $this.data("validationPatternMessage");
- }
- $this.data("validationPatternMessage", message);
- $this.data("validationPatternRegex", $this.attr("pattern"));
- }
- // ---------------------------------------------------------
- // MAX
- // ---------------------------------------------------------
- if ($this.attr("max") !== undefined || $this.attr("aria-valuemax") !== undefined) {
- var max = ($this.attr("max") !== undefined ? $this.attr("max") : $this.attr("aria-valuemax"));
- message = "Too high: Maximum of '" + max + "'<!-- data-validation-max-message to override -->";
- if ($this.data("validationMaxMessage")) {
- message = $this.data("validationMaxMessage");
- }
- $this.data("validationMaxMessage", message);
- $this.data("validationMaxMax", max);
- }
- // ---------------------------------------------------------
- // MIN
- // ---------------------------------------------------------
- if ($this.attr("min") !== undefined || $this.attr("aria-valuemin") !== undefined) {
- var min = ($this.attr("min") !== undefined ? $this.attr("min") : $this.attr("aria-valuemin"));
- message = "Too low: Minimum of '" + min + "'<!-- data-validation-min-message to override -->";
- if ($this.data("validationMinMessage")) {
- message = $this.data("validationMinMessage");
- }
- $this.data("validationMinMessage", message);
- $this.data("validationMinMin", min);
- }
- // ---------------------------------------------------------
- // MAXLENGTH
- // ---------------------------------------------------------
- if ($this.attr("maxlength") !== undefined) {
- message = "Too long: Maximum of '" + $this.attr("maxlength") + "' characters<!-- data-validation-maxlength-message to override -->";
- if ($this.data("validationMaxlengthMessage")) {
- message = $this.data("validationMaxlengthMessage");
- }
- $this.data("validationMaxlengthMessage", message);
- $this.data("validationMaxlengthMaxlength", $this.attr("maxlength"));
- }
- // ---------------------------------------------------------
- // MINLENGTH
- // ---------------------------------------------------------
- if ($this.attr("minlength") !== undefined) {
- message = "Too short: Minimum of '" + $this.attr("minlength") + "' characters<!-- data-validation-minlength-message to override -->";
- if ($this.data("validationMinlengthMessage")) {
- message = $this.data("validationMinlengthMessage");
- }
- $this.data("validationMinlengthMessage", message);
- $this.data("validationMinlengthMinlength", $this.attr("minlength"));
- }
- // ---------------------------------------------------------
- // REQUIRED
- // ---------------------------------------------------------
- if ($this.attr("required") !== undefined || $this.attr("aria-required") !== undefined) {
- message = settings.builtInValidators.required.message;
- if ($this.data("validationRequiredMessage")) {
- message = $this.data("validationRequiredMessage");
- }
- $this.data("validationRequiredMessage", message);
- }
- // ---------------------------------------------------------
- // NUMBER
- // ---------------------------------------------------------
- if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "number") {
- message = settings.builtInValidators.number.message;
- if ($this.data("validationNumberMessage")) {
- message = $this.data("validationNumberMessage");
- }
- $this.data("validationNumberMessage", message);
- }
- // ---------------------------------------------------------
- // EMAIL
- // ---------------------------------------------------------
- if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "email") {
- message = "Not a valid email address<!-- data-validator-validemail-message to override -->";
- if ($this.data("validationValidemailMessage")) {
- message = $this.data("validationValidemailMessage");
- } else if ($this.data("validationEmailMessage")) {
- message = $this.data("validationEmailMessage");
- }
- $this.data("validationValidemailMessage", message);
- }
- // ---------------------------------------------------------
- // MINCHECKED
- // ---------------------------------------------------------
- if ($this.attr("minchecked") !== undefined) {
- message = "Not enough options checked; Minimum of '" + $this.attr("minchecked") + "' required<!-- data-validation-minchecked-message to override -->";
- if ($this.data("validationMincheckedMessage")) {
- message = $this.data("validationMincheckedMessage");
- }
- $this.data("validationMincheckedMessage", message);
- $this.data("validationMincheckedMinchecked", $this.attr("minchecked"));
- }
- // ---------------------------------------------------------
- // MAXCHECKED
- // ---------------------------------------------------------
- if ($this.attr("maxchecked") !== undefined) {
- message = "Too many options checked; Maximum of '" + $this.attr("maxchecked") + "' required<!-- data-validation-maxchecked-message to override -->";
- if ($this.data("validationMaxcheckedMessage")) {
- message = $this.data("validationMaxcheckedMessage");
- }
- $this.data("validationMaxcheckedMessage", message);
- $this.data("validationMaxcheckedMaxchecked", $this.attr("maxchecked"));
- }
- }
-
- // =============================================================
- // COLLECT VALIDATOR NAMES
- // =============================================================
-
- // Get named validators
- if ($this.data("validation") !== undefined) {
- validatorNames = $this.data("validation").split(",");
- }
-
- // Get extra ones defined on the element's data attributes
- $.each($this.data(), function (i, el) {
- var parts = i.replace(/([A-Z])/g, ",$1").split(",");
- if (parts[0] === "validation" && parts[1]) {
- validatorNames.push(parts[1]);
- }
- });
-
- // =============================================================
- // NORMALISE VALIDATOR NAMES
- // =============================================================
-
- var validatorNamesToInspect = validatorNames;
- var newValidatorNamesToInspect = [];
-
- do // repeatedly expand 'shortcut' validators into their real validators
- {
- // Uppercase only the first letter of each name
- $.each(validatorNames, function (i, el) {
- validatorNames[i] = formatValidatorName(el);
- });
-
- // Remove duplicate validator names
- validatorNames = $.unique(validatorNames);
-
- // Pull out the new validator names from each shortcut
- newValidatorNamesToInspect = [];
- $.each(validatorNamesToInspect, function(i, el) {
- if ($this.data("validation" + el + "Shortcut") !== undefined) {
- // Are these custom validators?
- // Pull them out!
- $.each($this.data("validation" + el + "Shortcut").split(","), function(i2, el2) {
- newValidatorNamesToInspect.push(el2);
+ settings.options = $.extend(true, settings.options, options);
+
+ var $siblingElements = this;
+
+ var uniqueForms = $.unique(
+ $siblingElements.map(function () {
+ return $(this).parents("form")[0];
+ }).toArray()
+ );
+
+ $(uniqueForms).bind("submit", function (e) {
+ var $form = $(this);
+ var warningsFound = 0;
+ var $inputs = $form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);
+ $inputs.trigger("submit.validation").trigger("validationLostFocus.validation");
+
+ $inputs.each(function (i, el) {
+ var $this = $(el),
+ $controlGroup = $this.parents(".control-group").first();
+ if (
+ $controlGroup.hasClass("warning")
+ ) {
+ $controlGroup.removeClass("warning").addClass("error");
+ warningsFound++;
+ }
+ });
+
+ $inputs.trigger("validationLostFocus.validation");
+
+ if (warningsFound) {
+ if (settings.options.preventSubmit) {
+ e.preventDefault();
+ }
+ $form.addClass("error");
+ if ($.isFunction(settings.options.submitError)) {
+ settings.options.submitError($form, e, $inputs.jqBootstrapValidation("collectErrors", true));
+ }
+ } else {
+ $form.removeClass("error");
+ if ($.isFunction(settings.options.submitSuccess)) {
+ settings.options.submitSuccess($form, e);
+ }
+ }
});
- } else if (settings.builtInValidators[el.toLowerCase()]) {
- // Is this a recognised built-in?
- // Pull it out!
- var validator = settings.builtInValidators[el.toLowerCase()];
- if (validator.type.toLowerCase() === "shortcut") {
- $.each(validator.shortcut.split(","), function (i, el) {
- el = formatValidatorName(el);
- newValidatorNamesToInspect.push(el);
- validatorNames.push(el);
- });
- }
- }
- });
-
- validatorNamesToInspect = newValidatorNamesToInspect;
-
- } while (validatorNamesToInspect.length > 0)
-
- // =============================================================
- // SET UP VALIDATOR ARRAYS
- // =============================================================
-
- var validators = {};
-
- $.each(validatorNames, function (i, el) {
- // Set up the 'override' message
- var message = $this.data("validation" + el + "Message");
- var hasOverrideMessage = (message !== undefined);
- var foundValidator = false;
- message =
- (
- message
- ? message
- : "'" + el + "' validation failed <!-- Add attribute 'data-validation-" + el.toLowerCase() + "-message' to input to change this message -->"
- )
- ;
- $.each(
- settings.validatorTypes,
- function (validatorType, validatorTemplate) {
- if (validators[validatorType] === undefined) {
- validators[validatorType] = [];
- }
- if (!foundValidator && $this.data("validation" + el + formatValidatorName(validatorTemplate.name)) !== undefined) {
- validators[validatorType].push(
- $.extend(
- true,
- {
- name: formatValidatorName(validatorTemplate.name),
- message: message
- },
- validatorTemplate.init($this, el)
- )
- );
- foundValidator = true;
- }
- }
- );
-
- if (!foundValidator && settings.builtInValidators[el.toLowerCase()]) {
-
- var validator = $.extend(true, {}, settings.builtInValidators[el.toLowerCase()]);
- if (hasOverrideMessage) {
- validator.message = message;
- }
- var validatorType = validator.type.toLowerCase();
-
- if (validatorType === "shortcut") {
- foundValidator = true;
- } else {
- $.each(
- settings.validatorTypes,
- function (validatorTemplateType, validatorTemplate) {
- if (validators[validatorTemplateType] === undefined) {
- validators[validatorTemplateType] = [];
+ return this.each(function () {
+
+ // Get references to everything we're interested in
+ var $this = $(this),
+ $controlGroup = $this.parents(".control-group").first(),
+ $helpBlock = $controlGroup.find(".help-block").first(),
+ $form = $this.parents("form").first(),
+ validatorNames = [];
+
+ // create message container if not exists
+ if (!$helpBlock.length && settings.options.autoAdd && settings.options.autoAdd.helpBlocks) {
+ $helpBlock = $('<div class="help-block" />');
+ $controlGroup.find('.controls').append($helpBlock);
+ createdElements.push($helpBlock[0]);
+ }
+
+ // =============================================================
+ // SNIFF HTML FOR VALIDATORS
+ // =============================================================
+
+ // *snort sniff snuffle*
+
+ if (settings.options.sniffHtml) {
+ var message = "";
+ // ---------------------------------------------------------
+ // PATTERN
+ // ---------------------------------------------------------
+ if ($this.attr("pattern") !== undefined) {
+ message = "Not in the expected format<!-- data-validation-pattern-message to override -->";
+ if ($this.data("validationPatternMessage")) {
+ message = $this.data("validationPatternMessage");
+ }
+ $this.data("validationPatternMessage", message);
+ $this.data("validationPatternRegex", $this.attr("pattern"));
+ }
+ // ---------------------------------------------------------
+ // MAX
+ // ---------------------------------------------------------
+ if ($this.attr("max") !== undefined || $this.attr("aria-valuemax") !== undefined) {
+ var max = ($this.attr("max") !== undefined ? $this.attr("max") : $this.attr("aria-valuemax"));
+ message = "Too high: Maximum of '" + max + "'<!-- data-validation-max-message to override -->";
+ if ($this.data("validationMaxMessage")) {
+ message = $this.data("validationMaxMessage");
+ }
+ $this.data("validationMaxMessage", message);
+ $this.data("validationMaxMax", max);
+ }
+ // ---------------------------------------------------------
+ // MIN
+ // ---------------------------------------------------------
+ if ($this.attr("min") !== undefined || $this.attr("aria-valuemin") !== undefined) {
+ var min = ($this.attr("min") !== undefined ? $this.attr("min") : $this.attr("aria-valuemin"));
+ message = "Too low: Minimum of '" + min + "'<!-- data-validation-min-message to override -->";
+ if ($this.data("validationMinMessage")) {
+ message = $this.data("validationMinMessage");
+ }
+ $this.data("validationMinMessage", message);
+ $this.data("validationMinMin", min);
+ }
+ // ---------------------------------------------------------
+ // MAXLENGTH
+ // ---------------------------------------------------------
+ if ($this.attr("maxlength") !== undefined) {
+ message = "Too long: Maximum of '" + $this.attr("maxlength") + "' characters<!-- data-validation-maxlength-message to override -->";
+ if ($this.data("validationMaxlengthMessage")) {
+ message = $this.data("validationMaxlengthMessage");
+ }
+ $this.data("validationMaxlengthMessage", message);
+ $this.data("validationMaxlengthMaxlength", $this.attr("maxlength"));
+ }
+ // ---------------------------------------------------------
+ // MINLENGTH
+ // ---------------------------------------------------------
+ if ($this.attr("minlength") !== undefined) {
+ message = "Too short: Minimum of '" + $this.attr("minlength") + "' characters<!-- data-validation-minlength-message to override -->";
+ if ($this.data("validationMinlengthMessage")) {
+ message = $this.data("validationMinlengthMessage");
+ }
+ $this.data("validationMinlengthMessage", message);
+ $this.data("validationMinlengthMinlength", $this.attr("minlength"));
+ }
+ // ---------------------------------------------------------
+ // REQUIRED
+ // ---------------------------------------------------------
+ if ($this.attr("required") !== undefined || $this.attr("aria-required") !== undefined) {
+ message = settings.builtInValidators.required.message;
+ if ($this.data("validationRequiredMessage")) {
+ message = $this.data("validationRequiredMessage");
+ }
+ $this.data("validationRequiredMessage", message);
+ }
+ // ---------------------------------------------------------
+ // NUMBER
+ // ---------------------------------------------------------
+ if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "number") {
+ message = settings.builtInValidators.number.message;
+ if ($this.data("validationNumberMessage")) {
+ message = $this.data("validationNumberMessage");
+ }
+ $this.data("validationNumberMessage", message);
+ }
+ // ---------------------------------------------------------
+ // EMAIL
+ // ---------------------------------------------------------
+ if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "email") {
+ message = "Not a valid email address<!-- data-validator-validemail-message to override -->";
+ if ($this.data("validationValidemailMessage")) {
+ message = $this.data("validationValidemailMessage");
+ } else if ($this.data("validationEmailMessage")) {
+ message = $this.data("validationEmailMessage");
+ }
+ $this.data("validationValidemailMessage", message);
+ }
+ // ---------------------------------------------------------
+ // MINCHECKED
+ // ---------------------------------------------------------
+ if ($this.attr("minchecked") !== undefined) {
+ message = "Not enough options checked; Minimum of '" + $this.attr("minchecked") + "' required<!-- data-validation-minchecked-message to override -->";
+ if ($this.data("validationMincheckedMessage")) {
+ message = $this.data("validationMincheckedMessage");
+ }
+ $this.data("validationMincheckedMessage", message);
+ $this.data("validationMincheckedMinchecked", $this.attr("minchecked"));
+ }
+ // ---------------------------------------------------------
+ // MAXCHECKED
+ // ---------------------------------------------------------
+ if ($this.attr("maxchecked") !== undefined) {
+ message = "Too many options checked; Maximum of '" + $this.attr("maxchecked") + "' required<!-- data-validation-maxchecked-message to override -->";
+ if ($this.data("validationMaxcheckedMessage")) {
+ message = $this.data("validationMaxcheckedMessage");
+ }
+ $this.data("validationMaxcheckedMessage", message);
+ $this.data("validationMaxcheckedMaxchecked", $this.attr("maxchecked"));
+ }
+ }
+
+ // =============================================================
+ // COLLECT VALIDATOR NAMES
+ // =============================================================
+
+ // Get named validators
+ if ($this.data("validation") !== undefined) {
+ validatorNames = $this.data("validation").split(",");
}
- if (!foundValidator && validatorType === validatorTemplateType.toLowerCase()) {
- $this.data("validation" + el + formatValidatorName(validatorTemplate.name), validator[validatorTemplate.name.toLowerCase()]);
- validators[validatorType].push(
- $.extend(
- validator,
- validatorTemplate.init($this, el)
+
+ // Get extra ones defined on the element's data attributes
+ $.each($this.data(), function (i, el) {
+ var parts = i.replace(/([A-Z])/g, ",$1").split(",");
+ if (parts[0] === "validation" && parts[1]) {
+ validatorNames.push(parts[1]);
+ }
+ });
+
+ // =============================================================
+ // NORMALISE VALIDATOR NAMES
+ // =============================================================
+
+ var validatorNamesToInspect = validatorNames;
+ var newValidatorNamesToInspect = [];
+
+ do // repeatedly expand 'shortcut' validators into their real validators
+ {
+ // Uppercase only the first letter of each name
+ $.each(validatorNames, function (i, el) {
+ validatorNames[i] = formatValidatorName(el);
+ });
+
+ // Remove duplicate validator names
+ validatorNames = $.unique(validatorNames);
+
+ // Pull out the new validator names from each shortcut
+ newValidatorNamesToInspect = [];
+ $.each(validatorNamesToInspect, function (i, el) {
+ if ($this.data("validation" + el + "Shortcut") !== undefined) {
+ // Are these custom validators?
+ // Pull them out!
+ $.each($this.data("validation" + el + "Shortcut").split(","), function (i2, el2) {
+ newValidatorNamesToInspect.push(el2);
+ });
+ } else if (settings.builtInValidators[el.toLowerCase()]) {
+ // Is this a recognised built-in?
+ // Pull it out!
+ var validator = settings.builtInValidators[el.toLowerCase()];
+ if (validator.type.toLowerCase() === "shortcut") {
+ $.each(validator.shortcut.split(","), function (i, el) {
+ el = formatValidatorName(el);
+ newValidatorNamesToInspect.push(el);
+ validatorNames.push(el);
+ });
+ }
+ }
+ });
+
+ validatorNamesToInspect = newValidatorNamesToInspect;
+
+ } while (validatorNamesToInspect.length > 0)
+
+ // =============================================================
+ // SET UP VALIDATOR ARRAYS
+ // =============================================================
+
+ var validators = {};
+
+ $.each(validatorNames, function (i, el) {
+ // Set up the 'override' message
+ var message = $this.data("validation" + el + "Message");
+ var hasOverrideMessage = (message !== undefined);
+ var foundValidator = false;
+ message =
+ (
+ message
+ ? message
+ : "'" + el + "' validation failed <!-- Add attribute 'data-validation-" + el.toLowerCase() + "-message' to input to change this message -->"
+ )
+ ;
+
+ $.each(
+ settings.validatorTypes,
+ function (validatorType, validatorTemplate) {
+ if (validators[validatorType] === undefined) {
+ validators[validatorType] = [];
+ }
+ if (!foundValidator && $this.data("validation" + el + formatValidatorName(validatorTemplate.name)) !== undefined) {
+ validators[validatorType].push(
+ $.extend(
+ true,
+ {
+ name: formatValidatorName(validatorTemplate.name),
+ message: message
+ },
+ validatorTemplate.init($this, el)
+ )
+ );
+ foundValidator = true;
+ }
+ }
+ );
+
+ if (!foundValidator && settings.builtInValidators[el.toLowerCase()]) {
+
+ var validator = $.extend(true, {}, settings.builtInValidators[el.toLowerCase()]);
+ if (hasOverrideMessage) {
+ validator.message = message;
+ }
+ var validatorType = validator.type.toLowerCase();
+
+ if (validatorType === "shortcut") {
+ foundValidator = true;
+ } else {
+ $.each(
+ settings.validatorTypes,
+ function (validatorTemplateType, validatorTemplate) {
+ if (validators[validatorTemplateType] === undefined) {
+ validators[validatorTemplateType] = [];
+ }
+ if (!foundValidator && validatorType === validatorTemplateType.toLowerCase()) {
+ $this.data("validation" + el + formatValidatorName(validatorTemplate.name), validator[validatorTemplate.name.toLowerCase()]);
+ validators[validatorType].push(
+ $.extend(
+ validator,
+ validatorTemplate.init($this, el)
+ )
+ );
+ foundValidator = true;
+ }
+ }
+ );
+ }
+ }
+
+ if (!foundValidator) {
+ $.error("Cannot find validation info for '" + el + "'");
+ }
+ });
+
+ // =============================================================
+ // STORE FALLBACK VALUES
+ // =============================================================
+
+ $helpBlock.data(
+ "original-contents",
+ (
+ $helpBlock.data("original-contents")
+ ? $helpBlock.data("original-contents")
+ : $helpBlock.html()
+ )
+ );
+
+ $helpBlock.data(
+ "original-role",
+ (
+ $helpBlock.data("original-role")
+ ? $helpBlock.data("original-role")
+ : $helpBlock.attr("role")
+ )
+ );
+
+ $controlGroup.data(
+ "original-classes",
+ (
+ $controlGroup.data("original-clases")
+ ? $controlGroup.data("original-classes")
+ : $controlGroup.attr("class")
)
- );
- foundValidator = true;
+ );
+
+ $this.data(
+ "original-aria-invalid",
+ (
+ $this.data("original-aria-invalid")
+ ? $this.data("original-aria-invalid")
+ : $this.attr("aria-invalid")
+ )
+ );
+
+ // =============================================================
+ // VALIDATION
+ // =============================================================
+
+ $this.bind(
+ "validation.validation",
+ function (event, params) {
+
+ var value = getValue($this);
+
+ // Get a list of the errors to apply
+ var errorsFound = [];
+
+ $.each(validators, function (validatorType, validatorTypeArray) {
+ if (value || value.length || (params && params.includeEmpty) || (!!settings.validatorTypes[validatorType].blockSubmit && params && !!params.submitting)) {
+ $.each(validatorTypeArray, function (i, validator) {
+ if (settings.validatorTypes[validatorType].validate($this, value, validator)) {
+ errorsFound.push(validator.message);
+ }
+ });
+ }
+ });
+
+ return errorsFound;
+ }
+ );
+
+ $this.bind(
+ "getValidators.validation",
+ function () {
+ return validators;
+ }
+ );
+
+ // =============================================================
+ // WATCH FOR CHANGES
+ // =============================================================
+ $this.bind(
+ "submit.validation",
+ function () {
+ return $this.triggerHandler("change.validation", {submitting: true});
+ }
+ );
+ $this.bind(
+ [
+ "keyup",
+ "focus",
+ "blur",
+ "click",
+ "keydown",
+ "keypress",
+ "change"
+ ].join(".validation ") + ".validation",
+ function (e, params) {
+
+ var value = getValue($this);
+
+ var errorsFound = [];
+
+ $controlGroup.find("input,textarea,select").each(function (i, el) {
+ var oldCount = errorsFound.length;
+ $.each($(el).triggerHandler("validation.validation", params), function (j, message) {
+ errorsFound.push(message);
+ });
+ if (errorsFound.length > oldCount) {
+ $(el).attr("aria-invalid", "true");
+ } else {
+ var original = $this.data("original-aria-invalid");
+ $(el).attr("aria-invalid", (original !== undefined ? original : false));
+ }
+ });
+
+ $form.find("input,select,textarea").not($this).not("[name=\"" + $this.attr("name") + "\"]").trigger("validationLostFocus.validation");
+
+ errorsFound = $.unique(errorsFound.sort());
+
+ // Were there any errors?
+ if (errorsFound.length) {
+ // Better flag it up as a warning.
+ $controlGroup.removeClass("success error").addClass("warning");
+
+ // How many errors did we find?
+ if (settings.options.semanticallyStrict && errorsFound.length === 1) {
+ // Only one? Being strict? Just output it.
+ $helpBlock.html(errorsFound[0] +
+ ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
+ } else {
+ // Multiple? Being sloppy? Glue them together into an UL.
+ $helpBlock.html("<ul role=\"alert\"><li>" + errorsFound.join("</li><li>") + "</li></ul>" +
+ ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
+ }
+ } else {
+ $controlGroup.removeClass("warning error success");
+ if (value.length > 0) {
+ $controlGroup.addClass("success");
+ }
+ $helpBlock.html($helpBlock.data("original-contents"));
+ }
+
+ if (e.type === "blur") {
+ $controlGroup.removeClass("success");
+ }
+ }
+ );
+ $this.bind("validationLostFocus.validation", function () {
+ $controlGroup.removeClass("success");
+ });
+ });
+ },
+ destroy: function () {
+
+ return this.each(
+ function () {
+
+ var
+ $this = $(this),
+ $controlGroup = $this.parents(".control-group").first(),
+ $helpBlock = $controlGroup.find(".help-block").first();
+
+ // remove our events
+ $this.unbind('.validation'); // events are namespaced.
+ // reset help text
+ $helpBlock.html($helpBlock.data("original-contents"));
+ // reset classes
+ $controlGroup.attr("class", $controlGroup.data("original-classes"));
+ // reset aria
+ $this.attr("aria-invalid", $this.data("original-aria-invalid"));
+ // reset role
+ $helpBlock.attr("role", $this.data("original-role"));
+ // remove all elements we created
+ if (createdElements.indexOf($helpBlock[0]) > -1) {
+ $helpBlock.remove();
+ }
+
}
- }
);
- }
- }
- if (! foundValidator) {
- $.error("Cannot find validation info for '" + el + "'");
- }
- });
-
- // =============================================================
- // STORE FALLBACK VALUES
- // =============================================================
-
- $helpBlock.data(
- "original-contents",
- (
- $helpBlock.data("original-contents")
- ? $helpBlock.data("original-contents")
- : $helpBlock.html()
- )
- );
-
- $helpBlock.data(
- "original-role",
- (
- $helpBlock.data("original-role")
- ? $helpBlock.data("original-role")
- : $helpBlock.attr("role")
- )
- );
-
- $controlGroup.data(
- "original-classes",
- (
- $controlGroup.data("original-clases")
- ? $controlGroup.data("original-classes")
- : $controlGroup.attr("class")
- )
- );
-
- $this.data(
- "original-aria-invalid",
- (
- $this.data("original-aria-invalid")
- ? $this.data("original-aria-invalid")
- : $this.attr("aria-invalid")
- )
- );
+ },
+ collectErrors: function (includeEmpty) {
+
+ var errorMessages = {};
+ this.each(function (i, el) {
+ var $el = $(el);
+ var name = $el.attr("name");
+ var errors = $el.triggerHandler("validation.validation", {includeEmpty: true});
+ errorMessages[name] = $.extend(true, errors, errorMessages[name]);
+ });
+
+ $.each(errorMessages, function (i, el) {
+ if (el.length === 0) {
+ delete errorMessages[i];
+ }
+ });
+
+ return errorMessages;
- // =============================================================
- // VALIDATION
- // =============================================================
+ },
+ hasErrors: function () {
- $this.bind(
- "validation.validation",
- function (event, params) {
+ var errorMessages = [];
- var value = getValue($this);
+ this.each(function (i, el) {
+ errorMessages = errorMessages.concat(
+ $(el).triggerHandler("getValidators.validation") ? $(el).triggerHandler("validation.validation", {submitting: true}) : []
+ );
+ });
- // Get a list of the errors to apply
- var errorsFound = [];
+ return (errorMessages.length > 0);
+ },
+ override: function (newDefaults) {
+ defaults = $.extend(true, defaults, newDefaults);
+ }
+ },
+ validatorTypes: {
+ callback: {
+ name: "callback",
+ init: function ($this, name) {
+ return {
+ validatorName: name,
+ callback: $this.data("validation" + name + "Callback"),
+ lastValue: $this.val(),
+ lastValid: true,
+ lastFinished: true
+ };
+ },
+ validate: function ($this, value, validator) {
+ if (validator.lastValue === value && validator.lastFinished) {
+ return !validator.lastValid;
+ }
- $.each(validators, function (validatorType, validatorTypeArray) {
- if (value || value.length || (params && params.includeEmpty) || (!!settings.validatorTypes[validatorType].blockSubmit && params && !!params.submitting)) {
- $.each(validatorTypeArray, function (i, validator) {
- if (settings.validatorTypes[validatorType].validate($this, value, validator)) {
- errorsFound.push(validator.message);
+ if (validator.lastFinished === true) {
+ validator.lastValue = value;
+ validator.lastValid = true;
+ validator.lastFinished = false;
+
+ var rrjqbvValidator = validator;
+ var rrjqbvThis = $this;
+ executeFunctionByName(
+ validator.callback,
+ window,
+ $this,
+ value,
+ function (data) {
+ if (rrjqbvValidator.lastValue === data.value) {
+ rrjqbvValidator.lastValid = data.valid;
+ if (data.message) {
+ rrjqbvValidator.message = data.message;
+ }
+ rrjqbvValidator.lastFinished = true;
+ rrjqbvThis.data("validation" + rrjqbvValidator.validatorName + "Message", rrjqbvValidator.message);
+ // Timeout is set to avoid problems with the events being considered 'already fired'
+ setTimeout(function () {
+ rrjqbvThis.trigger("change.validation");
+ }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
+ }
+ }
+ );
}
- });
+
+ return false;
+
}
- });
+ },
+ ajax: {
+ name: "ajax",
+ init: function ($this, name) {
+ return {
+ validatorName: name,
+ url: $this.data("validation" + name + "Ajax"),
+ lastValue: $this.val(),
+ lastValid: true,
+ lastFinished: true
+ };
+ },
+ validate: function ($this, value, validator) {
+ if ("" + validator.lastValue === "" + value && validator.lastFinished === true) {
+ return validator.lastValid === false;
+ }
- return errorsFound;
- }
- );
+ if (validator.lastFinished === true) {
+ validator.lastValue = value;
+ validator.lastValid = true;
+ validator.lastFinished = false;
+ $.ajax({
+ url: validator.url,
+ data: "value=" + value + "&field=" + $this.attr("name"),
+ dataType: "json",
+ success: function (data) {
+ if ("" + validator.lastValue === "" + data.value) {
+ validator.lastValid = !!(data.valid);
+ if (data.message) {
+ validator.message = data.message;
+ }
+ validator.lastFinished = true;
+ $this.data("validation" + validator.validatorName + "Message", validator.message);
+ // Timeout is set to avoid problems with the events being considered 'already fired'
+ setTimeout(function () {
+ $this.trigger("change.validation");
+ }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
+ }
+ },
+ failure: function () {
+ validator.lastValid = true;
+ validator.message = "ajax call failed";
+ validator.lastFinished = true;
+ $this.data("validation" + validator.validatorName + "Message", validator.message);
+ // Timeout is set to avoid problems with the events being considered 'already fired'
+ setTimeout(function () {
+ $this.trigger("change.validation");
+ }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
+ }
+ });
+ }
+
+ return false;
- $this.bind(
- "getValidators.validation",
- function () {
- return validators;
- }
- );
-
- // =============================================================
- // WATCH FOR CHANGES
- // =============================================================
- $this.bind(
- "submit.validation",
- function () {
- return $this.triggerHandler("change.validation", {submitting: true});
- }
- );
- $this.bind(
- [
- "keyup",
- "focus",
- "blur",
- "click",
- "keydown",
- "keypress",
- "change"
- ].join(".validation ") + ".validation",
- function (e, params) {
-
- var value = getValue($this);
-
- var errorsFound = [];
-
- $controlGroup.find("input,textarea,select").each(function (i, el) {
- var oldCount = errorsFound.length;
- $.each($(el).triggerHandler("validation.validation", params), function (j, message) {
- errorsFound.push(message);
- });
- if (errorsFound.length > oldCount) {
- $(el).attr("aria-invalid", "true");
- } else {
- var original = $this.data("original-aria-invalid");
- $(el).attr("aria-invalid", (original !== undefined ? original : false));
}
- });
-
- $form.find("input,select,textarea").not($this).not("[name=\"" + $this.attr("name") + "\"]").trigger("validationLostFocus.validation");
-
- errorsFound = $.unique(errorsFound.sort());
-
- // Were there any errors?
- if (errorsFound.length) {
- // Better flag it up as a warning.
- $controlGroup.removeClass("success error").addClass("warning");
-
- // How many errors did we find?
- if (settings.options.semanticallyStrict && errorsFound.length === 1) {
- // Only one? Being strict? Just output it.
- $helpBlock.html(errorsFound[0] +
- ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
- } else {
- // Multiple? Being sloppy? Glue them together into an UL.
- $helpBlock.html("<ul role=\"alert\"><li>" + errorsFound.join("</li><li>") + "</li></ul>" +
- ( settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : "" ));
+ },
+ regex: {
+ name: "regex",
+ init: function ($this, name) {
+ return {regex: regexFromString($this.data("validation" + name + "Regex"))};
+ },
+ validate: function ($this, value, validator) {
+ return (!validator.regex.test(value) && !validator.negative)
+ || (validator.regex.test(value) && validator.negative);
}
- } else {
- $controlGroup.removeClass("warning error success");
- if (value.length > 0) {
- $controlGroup.addClass("success");
+ },
+ required: {
+ name: "required",
+ init: function ($this, name) {
+ return {};
+ },
+ validate: function ($this, value, validator) {
+ return !!(value.length === 0 && !validator.negative)
+ || !!(value.length > 0 && validator.negative);
+ },
+ blockSubmit: true
+ },
+ match: {
+ name: "match",
+ init: function ($this, name) {
+ var element = $this.parents("form").first().find("[name=\"" + $this.data("validation" + name + "Match") + "\"]").first();
+ element.bind("validation.validation", function () {
+ $this.trigger("change.validation", {submitting: true});
+ });
+ return {"element": element};
+ },
+ validate: function ($this, value, validator) {
+ return (value !== validator.element.val() && !validator.negative)
+ || (value === validator.element.val() && validator.negative);
+ },
+ blockSubmit: true
+ },
+ max: {
+ name: "max",
+ init: function ($this, name) {
+ return {max: $this.data("validation" + name + "Max")};
+ },
+ validate: function ($this, value, validator) {
+ return (parseFloat(value, 10) > parseFloat(validator.max, 10) && !validator.negative)
+ || (parseFloat(value, 10) <= parseFloat(validator.max, 10) && validator.negative);
}
- $helpBlock.html($helpBlock.data("original-contents"));
- }
-
- if (e.type === "blur") {
- $controlGroup.removeClass("success");
- }
+ },
+ min: {
+ name: "min",
+ init: function ($this, name) {
+ return {min: $this.data("validation" + name + "Min")};
+ },
+ validate: function ($this, value, validator) {
+ return (parseFloat(value) < parseFloat(validator.min) && !validator.negative)
+ || (parseFloat(value) >= parseFloat(validator.min) && validator.negative);
+ }
+ },
+ maxlength: {
+ name: "maxlength",
+ init: function ($this, name) {
+ return {maxlength: $this.data("validation" + name + "Maxlength")};
+ },
+ validate: function ($this, value, validator) {
+ return ((value.length > validator.maxlength) && !validator.negative)
+ || ((value.length <= validator.maxlength) && validator.negative);
+ }
+ },
+ minlength: {
+ name: "minlength",
+ init: function ($this, name) {
+ return {minlength: $this.data("validation" + name + "Minlength")};
+ },
+ validate: function ($this, value, validator) {
+ return ((value.length < validator.minlength) && !validator.negative)
+ || ((value.length >= validator.minlength) && validator.negative);
+ }
+ },
+ maxchecked: {
+ name: "maxchecked",
+ init: function ($this, name) {
+ var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
+ elements.bind("click.validation", function () {
+ $this.trigger("change.validation", {includeEmpty: true});
+ });
+ return {maxchecked: $this.data("validation" + name + "Maxchecked"), elements: elements};
+ },
+ validate: function ($this, value, validator) {
+ return (validator.elements.filter(":checked").length > validator.maxchecked && !validator.negative)
+ || (validator.elements.filter(":checked").length <= validator.maxchecked && validator.negative);
+ },
+ blockSubmit: true
+ },
+ minchecked: {
+ name: "minchecked",
+ init: function ($this, name) {
+ var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
+ elements.bind("click.validation", function () {
+ $this.trigger("change.validation", {includeEmpty: true});
+ });
+ return {minchecked: $this.data("validation" + name + "Minchecked"), elements: elements};
+ },
+ validate: function ($this, value, validator) {
+ return (validator.elements.filter(":checked").length < validator.minchecked && !validator.negative)
+ || (validator.elements.filter(":checked").length >= validator.minchecked && validator.negative);
+ },
+ blockSubmit: true
}
- );
- $this.bind("validationLostFocus.validation", function () {
- $controlGroup.removeClass("success");
- });
- });
- },
- destroy : function( ) {
-
- return this.each(
- function() {
-
- var
- $this = $(this),
- $controlGroup = $this.parents(".control-group").first(),
- $helpBlock = $controlGroup.find(".help-block").first();
-
- // remove our events
- $this.unbind('.validation'); // events are namespaced.
- // reset help text
- $helpBlock.html($helpBlock.data("original-contents"));
- // reset classes
- $controlGroup.attr("class", $controlGroup.data("original-classes"));
- // reset aria
- $this.attr("aria-invalid", $this.data("original-aria-invalid"));
- // reset role
- $helpBlock.attr("role", $this.data("original-role"));
- // remove all elements we created
- if (createdElements.indexOf($helpBlock[0]) > -1) {
- $helpBlock.remove();
- }
-
- }
- );
-
- },
- collectErrors : function(includeEmpty) {
-
- var errorMessages = {};
- this.each(function (i, el) {
- var $el = $(el);
- var name = $el.attr("name");
- var errors = $el.triggerHandler("validation.validation", {includeEmpty: true});
- errorMessages[name] = $.extend(true, errors, errorMessages[name]);
- });
-
- $.each(errorMessages, function (i, el) {
- if (el.length === 0) {
- delete errorMessages[i];
- }
- });
-
- return errorMessages;
-
- },
- hasErrors: function() {
-
- var errorMessages = [];
-
- this.each(function (i, el) {
- errorMessages = errorMessages.concat(
- $(el).triggerHandler("getValidators.validation") ? $(el).triggerHandler("validation.validation", {submitting: true}) : []
- );
- });
-
- return (errorMessages.length > 0);
- },
- override : function (newDefaults) {
- defaults = $.extend(true, defaults, newDefaults);
- }
- },
- validatorTypes: {
- callback: {
- name: "callback",
- init: function ($this, name) {
- return {
- validatorName: name,
- callback: $this.data("validation" + name + "Callback"),
- lastValue: $this.val(),
- lastValid: true,
- lastFinished: true
- };
},
- validate: function ($this, value, validator) {
- if (validator.lastValue === value && validator.lastFinished) {
- return !validator.lastValid;
- }
-
- if (validator.lastFinished === true)
- {
- validator.lastValue = value;
- validator.lastValid = true;
- validator.lastFinished = false;
-
- var rrjqbvValidator = validator;
- var rrjqbvThis = $this;
- executeFunctionByName(
- validator.callback,
- window,
- $this,
- value,
- function (data) {
- if (rrjqbvValidator.lastValue === data.value) {
- rrjqbvValidator.lastValid = data.valid;
- if (data.message) {
- rrjqbvValidator.message = data.message;
- }
- rrjqbvValidator.lastFinished = true;
- rrjqbvThis.data("validation" + rrjqbvValidator.validatorName + "Message", rrjqbvValidator.message);
- // Timeout is set to avoid problems with the events being considered 'already fired'
- setTimeout(function () {
- rrjqbvThis.trigger("change.validation");
- }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
- }
- }
- );
- }
-
- return false;
-
+ builtInValidators: {
+ email: {
+ name: "Email",
+ type: "shortcut",
+ shortcut: "validemail"
+ },
+ validemail: {
+ name: "Validemail",
+ type: "regex",
+ regex: "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\.[A-Za-z]{2,4}",
+ message: "Not a valid email address<!-- data-validator-validemail-message to override -->"
+ },
+ passwordagain: {
+ name: "Passwordagain",
+ type: "match",
+ match: "password",
+ message: "Does not match the given password<!-- data-validator-paswordagain-message to override -->"
+ },
+ positive: {
+ name: "Positive",
+ type: "shortcut",
+ shortcut: "number,positivenumber"
+ },
+ negative: {
+ name: "Negative",
+ type: "shortcut",
+ shortcut: "number,negativenumber"
+ },
+ number: {
+ name: "Number",
+ type: "regex",
+ regex: "([+-]?\\\d+(\\\.\\\d*)?([eE][+-]?[0-9]+)?)?",
+ message: "Must be a number<!-- data-validator-number-message to override -->"
+ },
+ integer: {
+ name: "Integer",
+ type: "regex",
+ regex: "[+-]?\\\d+",
+ message: "No decimal places allowed<!-- data-validator-integer-message to override -->"
+ },
+ positivenumber: {
+ name: "Positivenumber",
+ type: "min",
+ min: 0,
+ message: "Must be a positive number<!-- data-validator-positivenumber-message to override -->"
+ },
+ negativenumber: {
+ name: "Negativenumber",
+ type: "max",
+ max: 0,
+ message: "Must be a negative number<!-- data-validator-negativenumber-message to override -->"
+ },
+ required: {
+ name: "Required",
+ type: "required",
+ message: "This is required<!-- data-validator-required-message to override -->"
+ },
+ checkone: {
+ name: "Checkone",
+ type: "minchecked",
+ minchecked: 1,
+ message: "Check at least one option<!-- data-validation-checkone-message to override -->"
+ }
}
- },
- ajax: {
- name: "ajax",
- init: function ($this, name) {
- return {
- validatorName: name,
- url: $this.data("validation" + name + "Ajax"),
- lastValue: $this.val(),
- lastValid: true,
- lastFinished: true
- };
- },
- validate: function ($this, value, validator) {
- if (""+validator.lastValue === ""+value && validator.lastFinished === true) {
- return validator.lastValid === false;
- }
-
- if (validator.lastFinished === true)
- {
- validator.lastValue = value;
- validator.lastValid = true;
- validator.lastFinished = false;
- $.ajax({
- url: validator.url,
- data: "value=" + value + "&field=" + $this.attr("name"),
- dataType: "json",
- success: function (data) {
- if (""+validator.lastValue === ""+data.value) {
- validator.lastValid = !!(data.valid);
- if (data.message) {
- validator.message = data.message;
- }
- validator.lastFinished = true;
- $this.data("validation" + validator.validatorName + "Message", validator.message);
- // Timeout is set to avoid problems with the events being considered 'already fired'
- setTimeout(function () {
- $this.trigger("change.validation");
- }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
+ };
+
+ var formatValidatorName = function (name) {
+ return name
+ .toLowerCase()
+ .replace(
+ /(^|\s)([a-z])/g,
+ function (m, p1, p2) {
+ return p1 + p2.toUpperCase();
}
- },
- failure: function () {
- validator.lastValid = true;
- validator.message = "ajax call failed";
- validator.lastFinished = true;
- $this.data("validation" + validator.validatorName + "Message", validator.message);
- // Timeout is set to avoid problems with the events being considered 'already fired'
- setTimeout(function () {
- $this.trigger("change.validation");
- }, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
- }
- });
- }
-
- return false;
+ )
+ ;
+ };
+
+ var getValue = function ($this) {
+ // Extract the value we're talking about
+ var value = $this.val();
+ var type = $this.attr("type");
+ if (type === "checkbox") {
+ value = ($this.is(":checked") ? value : "");
+ }
+ if (type === "radio") {
+ value = ($('input[name="' + $this.attr("name") + '"]:checked').length > 0 ? value : "");
+ }
+ return value;
+ };
+
+ function regexFromString(inputstring) {
+ return new RegExp("^" + inputstring + "$");
+ }
+ /**
+ * Thanks to Jason Bunting via StackOverflow.com
+ *
+ * http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string#answer-359910
+ * Short link: http://tinyurl.com/executeFunctionByName
+ **/
+ function executeFunctionByName(functionName, context /*, args*/) {
+ var args = Array.prototype.slice.call(arguments).splice(2);
+ var namespaces = functionName.split(".");
+ var func = namespaces.pop();
+ for (var i = 0; i < namespaces.length; i++) {
+ context = context[namespaces[i]];
}
- },
- regex: {
- name: "regex",
- init: function ($this, name) {
- return {regex: regexFromString($this.data("validation" + name + "Regex"))};
- },
- validate: function ($this, value, validator) {
- return (!validator.regex.test(value) && ! validator.negative)
- || (validator.regex.test(value) && validator.negative);
- }
- },
- required: {
- name: "required",
- init: function ($this, name) {
- return {};
- },
- validate: function ($this, value, validator) {
- return !!(value.length === 0 && ! validator.negative)
- || !!(value.length > 0 && validator.negative);
- },
- blockSubmit: true
- },
- match: {
- name: "match",
- init: function ($this, name) {
- var element = $this.parents("form").first().find("[name=\"" + $this.data("validation" + name + "Match") + "\"]").first();
- element.bind("validation.validation", function () {
- $this.trigger("change.validation", {submitting: true});
- });
- return {"element": element};
- },
- validate: function ($this, value, validator) {
- return (value !== validator.element.val() && ! validator.negative)
- || (value === validator.element.val() && validator.negative);
- },
- blockSubmit: true
- },
- max: {
- name: "max",
- init: function ($this, name) {
- return {max: $this.data("validation" + name + "Max")};
- },
- validate: function ($this, value, validator) {
- return (parseFloat(value, 10) > parseFloat(validator.max, 10) && ! validator.negative)
- || (parseFloat(value, 10) <= parseFloat(validator.max, 10) && validator.negative);
- }
- },
- min: {
- name: "min",
- init: function ($this, name) {
- return {min: $this.data("validation" + name + "Min")};
- },
- validate: function ($this, value, validator) {
- return (parseFloat(value) < parseFloat(validator.min) && ! validator.negative)
- || (parseFloat(value) >= parseFloat(validator.min) && validator.negative);
- }
- },
- maxlength: {
- name: "maxlength",
- init: function ($this, name) {
- return {maxlength: $this.data("validation" + name + "Maxlength")};
- },
- validate: function ($this, value, validator) {
- return ((value.length > validator.maxlength) && ! validator.negative)
- || ((value.length <= validator.maxlength) && validator.negative);
- }
- },
- minlength: {
- name: "minlength",
- init: function ($this, name) {
- return {minlength: $this.data("validation" + name + "Minlength")};
- },
- validate: function ($this, value, validator) {
- return ((value.length < validator.minlength) && ! validator.negative)
- || ((value.length >= validator.minlength) && validator.negative);
- }
- },
- maxchecked: {
- name: "maxchecked",
- init: function ($this, name) {
- var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
- elements.bind("click.validation", function () {
- $this.trigger("change.validation", {includeEmpty: true});
- });
- return {maxchecked: $this.data("validation" + name + "Maxchecked"), elements: elements};
- },
- validate: function ($this, value, validator) {
- return (validator.elements.filter(":checked").length > validator.maxchecked && ! validator.negative)
- || (validator.elements.filter(":checked").length <= validator.maxchecked && validator.negative);
- },
- blockSubmit: true
- },
- minchecked: {
- name: "minchecked",
- init: function ($this, name) {
- var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
- elements.bind("click.validation", function () {
- $this.trigger("change.validation", {includeEmpty: true});
- });
- return {minchecked: $this.data("validation" + name + "Minchecked"), elements: elements};
- },
- validate: function ($this, value, validator) {
- return (validator.elements.filter(":checked").length < validator.minchecked && ! validator.negative)
- || (validator.elements.filter(":checked").length >= validator.minchecked && validator.negative);
- },
- blockSubmit: true
- }
- },
- builtInValidators: {
- email: {
- name: "Email",
- type: "shortcut",
- shortcut: "validemail"
- },
- validemail: {
- name: "Validemail",
- type: "regex",
- regex: "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\.[A-Za-z]{2,4}",
- message: "Not a valid email address<!-- data-validator-validemail-message to override -->"
- },
- passwordagain: {
- name: "Passwordagain",
- type: "match",
- match: "password",
- message: "Does not match the given password<!-- data-validator-paswordagain-message to override -->"
- },
- positive: {
- name: "Positive",
- type: "shortcut",
- shortcut: "number,positivenumber"
- },
- negative: {
- name: "Negative",
- type: "shortcut",
- shortcut: "number,negativenumber"
- },
- number: {
- name: "Number",
- type: "regex",
- regex: "([+-]?\\\d+(\\\.\\\d*)?([eE][+-]?[0-9]+)?)?",
- message: "Must be a number<!-- data-validator-number-message to override -->"
- },
- integer: {
- name: "Integer",
- type: "regex",
- regex: "[+-]?\\\d+",
- message: "No decimal places allowed<!-- data-validator-integer-message to override -->"
- },
- positivenumber: {
- name: "Positivenumber",
- type: "min",
- min: 0,
- message: "Must be a positive number<!-- data-validator-positivenumber-message to override -->"
- },
- negativenumber: {
- name: "Negativenumber",
- type: "max",
- max: 0,
- message: "Must be a negative number<!-- data-validator-negativenumber-message to override -->"
- },
- required: {
- name: "Required",
- type: "required",
- message: "This is required<!-- data-validator-required-message to override -->"
- },
- checkone: {
- name: "Checkone",
- type: "minchecked",
- minchecked: 1,
- message: "Check at least one option<!-- data-validation-checkone-message to override -->"
- }
- }
- };
-
- var formatValidatorName = function (name) {
- return name
- .toLowerCase()
- .replace(
- /(^|\s)([a-z])/g ,
- function(m,p1,p2) {
- return p1+p2.toUpperCase();
- }
- )
- ;
- };
-
- var getValue = function ($this) {
- // Extract the value we're talking about
- var value = $this.val();
- var type = $this.attr("type");
- if (type === "checkbox") {
- value = ($this.is(":checked") ? value : "");
- }
- if (type === "radio") {
- value = ($('input[name="' + $this.attr("name") + '"]:checked').length > 0 ? value : "");
- }
- return value;
- };
-
- function regexFromString(inputstring) {
- return new RegExp("^" + inputstring + "$");
- }
-
- /**
- * Thanks to Jason Bunting via StackOverflow.com
- *
- * http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string#answer-359910
- * Short link: http://tinyurl.com/executeFunctionByName
- **/
- function executeFunctionByName(functionName, context /*, args*/) {
- var args = Array.prototype.slice.call(arguments).splice(2);
- var namespaces = functionName.split(".");
- var func = namespaces.pop();
- for(var i = 0; i < namespaces.length; i++) {
- context = context[namespaces[i]];
+ return context[func].apply(this, args);
}
- return context[func].apply(this, args);
- }
- $.fn.jqBootstrapValidation = function( method ) {
+ $.fn.jqBootstrapValidation = function (method) {
- if ( defaults.methods[method] ) {
- return defaults.methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
- } else if ( typeof method === 'object' || ! method ) {
- return defaults.methods.init.apply( this, arguments );
- } else {
- $.error( 'Method ' + method + ' does not exist on jQuery.jqBootstrapValidation' );
- return null;
- }
+ if (defaults.methods[method]) {
+ return defaults.methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
+ } else if (typeof method === 'object' || !method) {
+ return defaults.methods.init.apply(this, arguments);
+ } else {
+ $.error('Method ' + method + ' does not exist on jQuery.jqBootstrapValidation');
+ return null;
+ }
- };
+ };
- $.jqBootstrapValidation = function (options) {
- $(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this,arguments);
- };
+ $.jqBootstrapValidation = function (options) {
+ $(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this, arguments);
+ };
-})( jQuery );
+})(jQuery);
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vim-validate.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vim-validate.js index 0ffa6d35..e62cc106 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vim-validate.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vim-validate.js @@ -27,33 +27,33 @@ form.validate({ rules: {
url: {
required: true,
- url:true,
- maxlength:50
+ url: true,
+ maxlength: 50
//,repeatedName: true
},
- vimName:{
+ vimName: {
required: true,
- maxlength:20
+ maxlength: 20
},
- version:{
+ version: {
required: true,
- maxlength:20
+ maxlength: 20
},
- vendor:{
+ vendor: {
required: true,
- maxlength:20
+ maxlength: 20
},
- userName:{
+ userName: {
required: true,
- maxlength:20
+ maxlength: 20
},
- password:{
+ password: {
required: true,
- maxlength:20
+ maxlength: 20
},
- tenant:{
+ tenant: {
required: true,
- maxlength:20
+ maxlength: 20
}
},
messages: {
@@ -62,22 +62,22 @@ form.validate({ required: $.i18n.prop('com_zte_ums_eco_roc_vim_auth_url_require_message'),
url: $.i18n.prop('com_zte_ums_eco_roc_vim_auth_url_alarm_message')
},
- vimName:{
+ vimName: {
required: $.i18n.prop('com_zte_ums_eco_roc_vim_name_alarm_message')
},
- userName:{
+ userName: {
required: $.i18n.prop('com_zte_ums_eco_roc_vim_username_alarm_message')
},
- password:{
+ password: {
required: $.i18n.prop('com_zte_ums_eco_roc_vim_password_alarm_message')
},
- version:{
+ version: {
required: $.i18n.prop('com_zte_ums_eco_roc_vim_version_alarm_message')
},
- vendor:{
+ vendor: {
required: $.i18n.prop('com_zte_ums_eco_roc_vim_vendor_alarm_message')
},
- tenant:{
+ tenant: {
required: $.i18n.prop('com_zte_ums_eco_roc_vim_tenant_alarm_message')
}
},
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChart.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChart.js index 284c1436..0a2b097a 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChart.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChart.js @@ -16,57 +16,56 @@ var vimChart = {};
-
- var labelTop = {
- normal : {
- label : {
- show : true,
- position : 'outer',
- formatter :function (params){
- var total=params.series.data[1].value+params.series.data[0].value;
- var util=params.series.data[0].util;
+var labelTop = {
+ normal: {
+ label: {
+ show: true,
+ position: 'outer',
+ formatter: function (params) {
+ var total = params.series.data[1].value + params.series.data[0].value;
+ var util = params.series.data[0].util;
// return total+util+"中的"+"\n"+params.value+util+"已使用" ;
- return $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_used')+params.value+util+"\n"+
- $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_total')+ total+util;
- },
+ return $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_used') + params.value + util + "\n" +
+ $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_total') + total + util;
+ },
textStyle: {
- baseline : 'bottom',
- fontWeight:'normal'
+ baseline: 'bottom',
+ fontWeight: 'normal'
}
},
- labelLine : {
- show : true
+ labelLine: {
+ show: true
}
}
};
var labelFromatter = {
- normal : {
- label : {
- formatter :function (params){
- return params.series.data[0].name+"\n"+(100-params.percent).toFixed(0) + '%'
- },
+ normal: {
+ label: {
+ formatter: function (params) {
+ return params.series.data[0].name + "\n" + (100 - params.percent).toFixed(0) + '%'
+ },
textStyle: {
- baseline : 'center',
- color:"#000",
- fontWeight:'bold'
+ baseline: 'center',
+ color: "#000",
+ fontWeight: 'bold'
+
-
}
}
}
}
var labelBottom = {
- normal : {
+ normal: {
color: '#ccc',
- label : {
- show : true,
- position : 'center'
+ label: {
+ show: true,
+ position: 'center'
},
- labelLine : {
- show : false
+ labelLine: {
+ show: false
}
},
emphasis: {
@@ -76,92 +75,107 @@ var labelBottom = { var radius = [40, 55];
- var vimPieChart;
+var vimPieChart;
-vimChart.vimPieChartInit = function(){
- vimPieChart = echarts.init(document.getElementById('vimPieChartDiv'));
- vimPieChart.showLoading({
- text : "Loading",
- effect :"whirling",
- textStyle : {
- fontSize : 20
- }
-});
+vimChart.vimPieChartInit = function () {
+ vimPieChart = echarts.init(document.getElementById('vimPieChartDiv'));
+ vimPieChart.showLoading({
+ text: "Loading",
+ effect: "whirling",
+ textStyle: {
+ fontSize: 20
+ }
+ });
}
-vimChart.vimPieChart = function(data){
-
-var option = {
- animation:true,
- legend: {
- x : 'left',
- y:"top",
- data:[
- $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_cpu'),
- $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_memory'),
- $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_disk')
- ],
- orient: 'vertical'
- },
- color:["#578ebe","#44b6ae","#DABA36"],
- title : {
- text: '',
- subtext: '',
- x: 'center'
- },
- toolbox: {
- show : true,
-
- feature : {
- saveAsImage : {
- show : true,
- title : $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_save_picture'),
- type : 'png',
- lang : [$.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_click_save')]
- }
- }
- },
- series : [
- {
- type : 'pie',
- center : ['15%', '55%'],
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_cpu'), value:data.usage.cpu,itemStyle : labelTop,util:''},
- {name:'other', value:data.resource.cpu -data.usage.cpu, itemStyle : labelBottom}
-
- ]
+vimChart.vimPieChart = function (data) {
+
+ var option = {
+ animation: true,
+ legend: {
+ x: 'left',
+ y: "top",
+ data: [
+ $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_cpu'),
+ $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_memory'),
+ $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_disk')
+ ],
+ orient: 'vertical'
},
- {
- type : 'pie',
- center : ['40%', '55%'],
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_memory'), value:data.usage.memoryMb,itemStyle : labelTop,util:'MB' },
- {name:'other', value:data.resource.memoryMb - data.usage.memoryMb,itemStyle : labelBottom}
-
- ]
+ color: ["#578ebe", "#44b6ae", "#DABA36"],
+ title: {
+ text: '',
+ subtext: '',
+ x: 'center'
},
- {
- type : 'pie',
- center : ['65%', '55%'],
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_disk'), value:data.usage.diskGb,itemStyle : labelTop,util:'GB'},
- {name:'other', value:data.resource.diskGb -data.usage.diskGb, itemStyle : labelBottom}
-
- ]
- }
-
- ]
-};
-
+ toolbox: {
+ show: true,
+
+ feature: {
+ saveAsImage: {
+ show: true,
+ title: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_save_picture'),
+ type: 'png',
+ lang: [$.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_click_save')]
+ }
+ }
+ },
+ series: [
+ {
+ type: 'pie',
+ center: ['15%', '55%'],
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_cpu'),
+ value: data.usage.cpu,
+ itemStyle: labelTop,
+ util: ''
+ },
+ {name: 'other', value: data.resource.cpu - data.usage.cpu, itemStyle: labelBottom}
- // 为echarts对象加载数据
+ ]
+ },
+ {
+ type: 'pie',
+ center: ['40%', '55%'],
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_memory'),
+ value: data.usage.memoryMb,
+ itemStyle: labelTop,
+ util: 'MB'
+ },
+ {name: 'other', value: data.resource.memoryMb - data.usage.memoryMb, itemStyle: labelBottom}
+
+ ]
+ },
+ {
+ type: 'pie',
+ center: ['65%', '55%'],
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_vim_disk'),
+ value: data.usage.diskGb,
+ itemStyle: labelTop,
+ util: 'GB'
+ },
+ {name: 'other', value: data.resource.diskGb - data.usage.diskGb, itemStyle: labelBottom}
+
+ ]
+ }
+
+ ]
+ };
+
+
+ // 为echarts对象加载数据
vimPieChart.hideLoading();
vimPieChart.setOption(option);
window.onresize = vimPieChart.resize;
@@ -169,215 +183,249 @@ var option = { }
-vimChart.getPieCenter=function(n){
+vimChart.getPieCenter = function (n) {
var center;
- switch(n)
- {
- case 1:
- center=['15%', '30%'];
- break;
- case 2:
- center=['40%', '30%'];
- break;
- case 3:
- center=['65%', '30%'];
- break;
- case 4:
- center=['15%', '80%'];
- break;
- case 5:
- center=['40%', '80%'];
- break;
- case 6:
- center=['65%', '80%'];
- break;
- case 7:
- center=['90%', '80%'];
- break;
+ switch (n) {
+ case 1:
+ center = ['15%', '30%'];
+ break;
+ case 2:
+ center = ['40%', '30%'];
+ break;
+ case 3:
+ center = ['65%', '30%'];
+ break;
+ case 4:
+ center = ['15%', '80%'];
+ break;
+ case 5:
+ center = ['40%', '80%'];
+ break;
+ case 6:
+ center = ['65%', '80%'];
+ break;
+ case 7:
+ center = ['90%', '80%'];
+ break;
}
return center;
}
- var tenantPieChart;
-vimChart.tenantPieChartInit = function(){
- tenantPieChart= echarts.init(document.getElementById('tenantPieChartDiv'));
+var tenantPieChart;
+vimChart.tenantPieChartInit = function () {
+ tenantPieChart = echarts.init(document.getElementById('tenantPieChartDiv'));
- tenantPieChart.showLoading({
- text : "Loading",
- effect :"whirling",
- textStyle : {
- fontSize : 20
- }
-});
+ tenantPieChart.showLoading({
+ text: "Loading",
+ effect: "whirling",
+ textStyle: {
+ fontSize: 20
+ }
+ });
}
-vimChart.tenantPieChart = function(data){
-
-var legend_data=new Array();
-var series=new Array();
-var n=0;
-
-if(data.quota.instances!=-1){
- n++;
-
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_instances'));
-var instances_series={
- type : 'pie',
- center : vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_instances'), value:data.usage.instances,itemStyle : labelTop,util:''},
- {name:'other', value:data.quota.instances -data.usage.instances, itemStyle : labelBottom}
-
+vimChart.tenantPieChart = function (data) {
+
+ var legend_data = new Array();
+ var series = new Array();
+ var n = 0;
+
+ if (data.quota.instances != -1) {
+ n++;
+
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_instances'));
+ var instances_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_instances'),
+ value: data.usage.instances,
+ itemStyle: labelTop,
+ util: ''
+ },
+ {name: 'other', value: data.quota.instances - data.usage.instances, itemStyle: labelBottom}
+
]
};
- series.push(instances_series);
-
-}
-if(data.quota.cpu!=-1){
-n++;
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_cpu'));
-var cpu_series={
- type : 'pie',
- center : vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_cpu'), value:data.usage.cpu,itemStyle : labelTop,util:'' },
- {name:'other', value:data.quota.cpu -data.usage.cpu,itemStyle : labelBottom}
-
+ series.push(instances_series);
+
+ }
+ if (data.quota.cpu != -1) {
+ n++;
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_cpu'));
+ var cpu_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_cpu'),
+ value: data.usage.cpu,
+ itemStyle: labelTop,
+ util: ''
+ },
+ {name: 'other', value: data.quota.cpu - data.usage.cpu, itemStyle: labelBottom}
+
]
};
- series.push(cpu_series);
-}
-if(data.quota.memoryMb!=-1){
- n++;
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_memoryMb'));
-var memoryMb_series={
- type : 'pie',
- center : vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_memoryMb'), value:data.usage.memoryMb,itemStyle : labelTop,util:'MB'},
- {name:'other', value:data.quota.memoryMb -data.usage.memoryMb, itemStyle : labelBottom}
-
+ series.push(cpu_series);
+ }
+ if (data.quota.memoryMb != -1) {
+ n++;
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_memoryMb'));
+ var memoryMb_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_memoryMb'),
+ value: data.usage.memoryMb,
+ itemStyle: labelTop,
+ util: 'MB'
+ },
+ {name: 'other', value: data.quota.memoryMb - data.usage.memoryMb, itemStyle: labelBottom}
+
]
};
- series.push(memoryMb_series);
-}
-if(data.quota.floatingIps!=-1){
- n++;
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_floatingIps'));
-var floatingIps_series={
- type : 'pie',
- center :vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_floatingIps'), value:data.usage.floatingIps,itemStyle : labelTop,util:''},
- {name:'other', value:data.quota.floatingIps -data.usage.floatingIps, itemStyle : labelBottom}
-
+ series.push(memoryMb_series);
+ }
+ if (data.quota.floatingIps != -1) {
+ n++;
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_floatingIps'));
+ var floatingIps_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_floatingIps'),
+ value: data.usage.floatingIps,
+ itemStyle: labelTop,
+ util: ''
+ },
+ {name: 'other', value: data.quota.floatingIps - data.usage.floatingIps, itemStyle: labelBottom}
+
]
};
- series.push(floatingIps_series);
-}
-if(data.quota.securityGroups!=-1){
- n++;
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_securityGroups'));
-var securityGroups_series={
- type : 'pie',
- center :vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_securityGroups'), value:data.usage.securityGroups,itemStyle : labelTop,util:''},
- {name:'other', value:data.quota.securityGroups -data.usage.securityGroups, itemStyle : labelBottom}
-
+ series.push(floatingIps_series);
+ }
+ if (data.quota.securityGroups != -1) {
+ n++;
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_securityGroups'));
+ var securityGroups_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_securityGroups'),
+ value: data.usage.securityGroups,
+ itemStyle: labelTop,
+ util: ''
+ },
+ {name: 'other', value: data.quota.securityGroups - data.usage.securityGroups, itemStyle: labelBottom}
+
]
};
- series.push(securityGroups_series);
-}
-if(data.quota.volumes!=-1){
- n++;
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumes'));
-var volumes_series={
- type : 'pie',
- center :vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumes'), value:data.usage.volumes,itemStyle : labelTop,util:''},
- {name:'other', value:data.quota.volumes -data.usage.volumes, itemStyle : labelBottom}
-
+ series.push(securityGroups_series);
+ }
+ if (data.quota.volumes != -1) {
+ n++;
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumes'));
+ var volumes_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumes'),
+ value: data.usage.volumes,
+ itemStyle: labelTop,
+ util: ''
+ },
+ {name: 'other', value: data.quota.volumes - data.usage.volumes, itemStyle: labelBottom}
+
]
};
- series.push(volumes_series);
-}
-if(data.quota.volumeStorage!=-1){
- n++;
-legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumeStorage'));
-var volumeStorage_series={
- type : 'pie',
- center :vimChart.getPieCenter(n),
- radius : radius,
- itemStyle : labelFromatter,
- data : [
- {name:$.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumeStorage'), value:data.usage.volumeStorage,itemStyle : labelTop,util:'GB'},
- {name:'other', value:data.quota.volumeStorage -data.usage.volumeStorage, itemStyle : labelBottom}
-
+ series.push(volumes_series);
+ }
+ if (data.quota.volumeStorage != -1) {
+ n++;
+ legend_data.push($.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumeStorage'));
+ var volumeStorage_series = {
+ type: 'pie',
+ center: vimChart.getPieCenter(n),
+ radius: radius,
+ itemStyle: labelFromatter,
+ data: [
+ {
+ name: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_tenant_volumeStorage'),
+ value: data.usage.volumeStorage,
+ itemStyle: labelTop,
+ util: 'GB'
+ },
+ {name: 'other', value: data.quota.volumeStorage - data.usage.volumeStorage, itemStyle: labelBottom}
+
]
};
- series.push(volumeStorage_series);
-}
+ series.push(volumeStorage_series);
+ }
-var option = {
- animation:true,
- legend: {
- x : 'left',
- y:"top",
- data:legend_data,
- orient: 'vertical'
- },
- color:["#578ebe","#44b6ae","#DABA36","#F79695","#9699e0","#57b5e3","#48c79c"],
- title : {
- text: '',
- subtext: '',
- x: 'center'
- },
- toolbox: {
- show : true,
- feature : {
- saveAsImage : {
- show : true,
- title : $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_save_picture'),
- type : 'png',
- lang : [$.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_click_save')]
+ var option = {
+ animation: true,
+ legend: {
+ x: 'left',
+ y: "top",
+ data: legend_data,
+ orient: 'vertical'
+ },
+ color: ["#578ebe", "#44b6ae", "#DABA36", "#F79695", "#9699e0", "#57b5e3", "#48c79c"],
+ title: {
+ text: '',
+ subtext: '',
+ x: 'center'
+ },
+ toolbox: {
+ show: true,
+ feature: {
+ saveAsImage: {
+ show: true,
+ title: $.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_save_picture'),
+ type: 'png',
+ lang: [$.i18n.prop('com_zte_ums_eco_roc_vim_resource_chart_click_save')]
+ }
}
- }
- },
- series : series
-};
-
-
- // 为echarts对象加载数据
- tenantPieChart.hideLoading();
- tenantPieChart.setOption(option);
- window.onresize = tenantPieChart.resize;
+ },
+ series: series
+ };
+
+
+ // 为echarts对象加载数据
+ tenantPieChart.hideLoading();
+ tenantPieChart.setOption(option);
+ window.onresize = tenantPieChart.resize;
}
-vimChart.growl=function(message,type){
- $.growl({
+vimChart.growl = function (message, type) {
+ $.growl({
icon: "fa fa-envelope-o fa-lg",
title: " " + $.i18n.prop('com_zte_ums_eco_roc_vim_title_notice'),
- message: message+" "
- },{
- type: type,
- delay:0
- });
+ message: message + " "
+ }, {
+ type: type,
+ delay: 0
+ });
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChartController.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChartController.js index 417815d0..17f8e050 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChartController.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimChartController.js @@ -14,149 +14,147 @@ * limitations under the License.
*/
var vm = avalon
- .define({
- $id : "vimChartController",
- $vimChartUrl : '../../api/vim/v1/{vim_id}/resource',
- $tenantChartUrl : '../../api/vim/v1/{vim_id}/resource/{tenant_name}',
- $tenantListUrl : '../../api/vim/v1/{vim_id}/tenants',
- $tenantRoleUrl : '../../api/vim/v1/{vim_id}/roles',
- vimInfo:{
- name:name,
- id:id,
- tenant:tenant,
- isAdmin:true
- },
- tenantSelectList: {
- condName : $.i18n.prop("com_zte_ums_eco_roc_vim_type"),
- component_type : 'select',
- selectItems : []
- },
- initChart : function() {
+ .define({
+ $id: "vimChartController",
+ $vimChartUrl: '../../api/vim/v1/{vim_id}/resource',
+ $tenantChartUrl: '../../api/vim/v1/{vim_id}/resource/{tenant_name}',
+ $tenantListUrl: '../../api/vim/v1/{vim_id}/tenants',
+ $tenantRoleUrl: '../../api/vim/v1/{vim_id}/roles',
+ vimInfo: {
+ name: name,
+ id: id,
+ tenant: tenant,
+ isAdmin: true
+ },
+ tenantSelectList: {
+ condName: $.i18n.prop("com_zte_ums_eco_roc_vim_type"),
+ component_type: 'select',
+ selectItems: []
+ },
+ initChart: function () {
- //判断租户是否有admin权限
- var tenantRoleUrl=vm.$tenantRoleUrl.replace("{vim_id}",vm.vimInfo.id);
- $.ajax({
- "type": 'get',
- "url": tenantRoleUrl,
- "dataType": "json",
- success: function (resp) {
- vm.vimInfo.isAdmin= (resp==null)?false:resp.isAdminRole;
-
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vimChart.growl("get [tenant Role] is error :"+textStatus+":"+errorThrown,"danger");
- },
- complete: function() {
- if(vm.vimInfo.isAdmin==true){
+ //判断租户是否有admin权限
+ var tenantRoleUrl = vm.$tenantRoleUrl.replace("{vim_id}", vm.vimInfo.id);
+ $.ajax({
+ "type": 'get',
+ "url": tenantRoleUrl,
+ "dataType": "json",
+ success: function (resp) {
+ vm.vimInfo.isAdmin = (resp == null) ? false : resp.isAdminRole;
- //获取全部资源使用情况
- vm.vimChartLoad();
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vimChart.growl("get [tenant Role] is error :" + textStatus + ":" + errorThrown, "danger");
+ },
+ complete: function () {
+ if (vm.vimInfo.isAdmin == true) {
- //获取租户列表
- vm.vimListLoad();
- }
+ //获取全部资源使用情况
+ vm.vimChartLoad();
- }
- });
- //获取租户资源使用情况
- vm.tenantChartLoad();
- },
- gotoVimPage:function(){
- window.parent.ZteFrameWork.goToURLByIDAndNewAction('eco_roc_vimmgr');
- },
- vimListLoad:function(){
- var tenantListUrl=vm.$tenantListUrl.replace("{vim_id}",vm.vimInfo.id);
- $.ajax({
- "type": 'get',
- "url": tenantListUrl,
- "dataType": "json",
- success: function (resp) {
- vm.tenantSelectList.selectItems= (resp==null)?[]:resp;
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vimChart.growl("get [tenant List] is error :"+textStatus+":"+errorThrown,"danger");
- }
- });
- },
- vimChartLoad:function(){
- var viminitData={
- "resource": {
- "cpu": 0,
- "memoryMb": 503,
- "diskGb": 9.8
- },
- "usage": {
- "cpu": 0,
- "memoryMb": 0,
- "diskGb": 0
- }
- }
+ //获取租户列表
+ vm.vimListLoad();
+ }
- vimChart.vimPieChartInit();
+ }
+ });
+ //获取租户资源使用情况
+ vm.tenantChartLoad();
+ },
+ gotoVimPage: function () {
+ window.parent.ZteFrameWork.goToURLByIDAndNewAction('eco_roc_vimmgr');
+ },
+ vimListLoad: function () {
+ var tenantListUrl = vm.$tenantListUrl.replace("{vim_id}", vm.vimInfo.id);
+ $.ajax({
+ "type": 'get',
+ "url": tenantListUrl,
+ "dataType": "json",
+ success: function (resp) {
+ vm.tenantSelectList.selectItems = (resp == null) ? [] : resp;
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vimChart.growl("get [tenant List] is error :" + textStatus + ":" + errorThrown, "danger");
+ }
+ });
+ },
+ vimChartLoad: function () {
+ var viminitData = {
+ "resource": {
+ "cpu": 0,
+ "memoryMb": 503,
+ "diskGb": 9.8
+ },
+ "usage": {
+ "cpu": 0,
+ "memoryMb": 0,
+ "diskGb": 0
+ }
+ }
- var vimChartUrl=vm.$vimChartUrl.replace("{vim_id}",vm.vimInfo.id);
-
+ vimChart.vimPieChartInit();
-
- $.ajax({
- "type": 'get',
- "url": vimChartUrl,
- "dataType": "json",
- success: function (resp) {
- var vimData= (resp==null)?viminitData:resp;
- vimChart.vimPieChart(vimData);
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vimChart.growl("get [virtual machine manager resource using status] is error :"+textStatus+":"+errorThrown,"danger");
- }
- });
-
- },
- tenantChartLoad:function(){
- var tenantChartUrl=vm.$tenantChartUrl.replace("{vim_id}",vm.vimInfo.id).replace("{tenant_name}",vm.vimInfo.tenant);
+ var vimChartUrl = vm.$vimChartUrl.replace("{vim_id}", vm.vimInfo.id);
- var tenantinitData={
- "tenant_name": "",
- "errormsg":"",
- "quota": {
- "cpu": 0,
- "memoryMb": 0,
- "instances": 0,
- "floatingIps": 0,
- "securityGroups": 0,
- "volumeStorage": 0,
- "volumes": 0
- },
- "usage": {
- "cpu": 0,
- "memoryMb": 0,
- "instances": 0,
- "floatingIps": 0,
- "securityGroups": 0,
- "volumeStorage": 0,
- "volumes": 0
- }
- };
- vimChart.tenantPieChartInit();
- $.ajax({
- "type": 'get',
- "url": tenantChartUrl,
- "dataType": "json",
- success: function (resp) {
- var tenantData= (resp==null)?tenantinitData:resp;
- if(tenantData.errormsg!=null)
- {
- vimChart.growl(tenantData.errormsg,"danger");
- }
- vimChart.tenantPieChart(tenantData);
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vimChart.growl("get [tenant quota using status] occur error :"+textStatus+":"+errorThrown,"danger");
- }
- });
- }
+ $.ajax({
+ "type": 'get',
+ "url": vimChartUrl,
+ "dataType": "json",
+ success: function (resp) {
+ var vimData = (resp == null) ? viminitData : resp;
+ vimChart.vimPieChart(vimData);
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vimChart.growl("get [virtual machine manager resource using status] is error :" + textStatus + ":" + errorThrown, "danger");
+ }
+ });
-});
+ },
+ tenantChartLoad: function () {
+ var tenantChartUrl = vm.$tenantChartUrl.replace("{vim_id}", vm.vimInfo.id).replace("{tenant_name}", vm.vimInfo.tenant);
+
+ var tenantinitData = {
+ "tenant_name": "",
+ "errormsg": "",
+ "quota": {
+ "cpu": 0,
+ "memoryMb": 0,
+ "instances": 0,
+ "floatingIps": 0,
+ "securityGroups": 0,
+ "volumeStorage": 0,
+ "volumes": 0
+ },
+ "usage": {
+ "cpu": 0,
+ "memoryMb": 0,
+ "instances": 0,
+ "floatingIps": 0,
+ "securityGroups": 0,
+ "volumeStorage": 0,
+ "volumes": 0
+ }
+ };
+ vimChart.tenantPieChartInit();
+ $.ajax({
+ "type": 'get',
+ "url": tenantChartUrl,
+ "dataType": "json",
+ success: function (resp) {
+ var tenantData = (resp == null) ? tenantinitData : resp;
+ if (tenantData.errormsg != null) {
+ vimChart.growl(tenantData.errormsg, "danger");
+ }
+ vimChart.tenantPieChart(tenantData);
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vimChart.growl("get [tenant quota using status] occur error :" + textStatus + ":" + errorThrown, "danger");
+ }
+ });
+
+ }
+
+ });
avalon.scan();
vm.initChart();
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimController.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimController.js index e854a611..967eb1c6 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimController.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimController.js @@ -14,92 +14,91 @@ * limitations under the License.
*/
var vm = avalon
- .define({
- $id : "vimController",
- vimInfo : [],
- //vimStatusTime:$.i18n.prop('com_zte_ums_eco_roc_vim_getting_info'),
- // ifSearch : 0,
- // server_rtn:{
- // info_block:false,
- // warning_block:false,
- // rtn_info:"",
- // $RTN_SUCCESS:"RTN_SUCCESS",
- // $RTN_FAILED:"RTN_FAILED",
- // wait : $.i18n.prop('com_zte_ums_eco_roc_vim_checking_status')
- // },
- executeWait : {clazz : 'alert-info', visible : true, text : $.i18n.prop('com_zte_ums_eco_roc_vim_checking_status')},
- executeError : {clazz : 'alert-danger', visible : true, text : 'error'},
- $Status :{
- success:"active",
- failed:"inactive",
- displayActive: $.i18n.prop('com_zte_ums_eco_roc_vim_normal'),
- displayInactive: $.i18n.prop('com_zte_ums_eco_roc_vim_abnormal')
- },
- isSave : true,
- action : {ADD : 'add', UPDATE : 'update'},
- $queryVimInfoUrl : '../../openoapi/extsys/v1/vims',
- $addVimInfoUrl : '../../openoapi/extsys/v1/vims/',
- $updateVimInfoUrl : '../../openoapi/extsys/v1/vims/',
- $delVimInfoUrl : '../../openoapi/extsys/v1/vims/{vim_id}',
- $initTable : function() {
- $.ajax({
- "type": 'get',
- "url": vm.$queryVimInfoUrl,
- //"dataType": "json",
- "success": function (resp,statusText,jqXHR) {
- if(jqXHR.status=="200")
- {
- vm.vimInfo = resp;
- }
- else{
- vm.vimInfo=[];
+ .define({
+ $id: "vimController",
+ vimInfo: [],
+ //vimStatusTime:$.i18n.prop('com_zte_ums_eco_roc_vim_getting_info'),
+ // ifSearch : 0,
+ // server_rtn:{
+ // info_block:false,
+ // warning_block:false,
+ // rtn_info:"",
+ // $RTN_SUCCESS:"RTN_SUCCESS",
+ // $RTN_FAILED:"RTN_FAILED",
+ // wait : $.i18n.prop('com_zte_ums_eco_roc_vim_checking_status')
+ // },
+ executeWait: {clazz: 'alert-info', visible: true, text: $.i18n.prop('com_zte_ums_eco_roc_vim_checking_status')},
+ executeError: {clazz: 'alert-danger', visible: true, text: 'error'},
+ $Status: {
+ success: "active",
+ failed: "inactive",
+ displayActive: $.i18n.prop('com_zte_ums_eco_roc_vim_normal'),
+ displayInactive: $.i18n.prop('com_zte_ums_eco_roc_vim_abnormal')
+ },
+ isSave: true,
+ action: {ADD: 'add', UPDATE: 'update'},
+ $queryVimInfoUrl: '../../openoapi/extsys/v1/vims',
+ $addVimInfoUrl: '../../openoapi/extsys/v1/vims/',
+ $updateVimInfoUrl: '../../openoapi/extsys/v1/vims/',
+ $delVimInfoUrl: '../../openoapi/extsys/v1/vims/{vim_id}',
+ $initTable: function () {
+ $.ajax({
+ "type": 'get',
+ "url": vm.$queryVimInfoUrl,
+ //"dataType": "json",
+ "success": function (resp, statusText, jqXHR) {
+ if (jqXHR.status == "200") {
+ vm.vimInfo = resp;
+ }
+ else {
+ vm.vimInfo = [];
bootbox.alert($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_query_failed"));
return;
- }
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- bootbox.alert($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_query_failed") + textStatus+":"+errorThrown);
- return;
- },
- complete: function() {
- resUtil.tooltipVimStatus();
- }
- });
-
- },
- $vimType: {
- condName : $.i18n.prop("com_zte_ums_eco_roc_vim_type"),
- component_type : 'select',
- selectItems : [
- {
- cond_value : 'vmware',
- name : "vmware",
- value : true
- },
- {
- cond_value : 'openstack',
- name :"openstack",
- value : true
- }
- ]
- },
- addVim : {
- titleName: $.i18n.prop("com_zte_ums_eco_roc_vim_register_info"),
- vimId : "",
- vimName : "",
- domain : '',
- userName : "",
- tenant : "",
- password : "",
- url : "",
- saveType :"add",
- description : "",
- vimType :"openstack",
- vendor :""
- },
- $showVimTable : function(el, action) {
+ }
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ bootbox.alert($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_query_failed") + textStatus + ":" + errorThrown);
+ return;
+ },
+ complete: function () {
+ resUtil.tooltipVimStatus();
+ }
+ });
+
+ },
+ $vimType: {
+ condName: $.i18n.prop("com_zte_ums_eco_roc_vim_type"),
+ component_type: 'select',
+ selectItems: [
+ {
+ cond_value: 'vmware',
+ name: "vmware",
+ value: true
+ },
+ {
+ cond_value: 'openstack',
+ name: "openstack",
+ value: true
+ }
+ ]
+ },
+ addVim: {
+ titleName: $.i18n.prop("com_zte_ums_eco_roc_vim_register_info"),
+ vimId: "",
+ vimName: "",
+ domain: '',
+ userName: "",
+ tenant: "",
+ password: "",
+ url: "",
+ saveType: "add",
+ description: "",
+ vimType: "openstack",
+ vendor: ""
+ },
+ $showVimTable: function (el, action) {
vm.isSave = false;
- if(vm.action.ADD == action){
+ if (vm.action.ADD == action) {
vm.addVim.vimId = "";
vm.addVim.vimName = "";
vm.addVim.userName = "";
@@ -127,17 +126,17 @@ var vm = avalon vm.addVim.vimType = el.type;
vm.addVim.vendor = el.vendor;
}
- vm.executeError.visible=false;
- vm.executeWait.visible=false;
+ vm.executeError.visible = false;
+ vm.executeWait.visible = false;
$(".form-group").each(function () {
$(this).removeClass('has-success');
$(this).removeClass('has-error');
$(this).find(".help-block[id]").remove();
});
$("#addVimDlg").modal("show");
- },
+ },
- $saveVimTable : function() {
+ $saveVimTable: function () {
vm.isSave = true;
success.hide();
error.hide();
@@ -147,153 +146,151 @@ var vm = avalon }
vm.executeWait.visible = true;
vm.executeError.visible = false;
- if(vm.addVim.saveType=="add") {
+ if (vm.addVim.saveType == "add") {
//不能重复添加
- /*
- for( var i = 0; i < vm.vimInfo.length; i ++ ){
- if(vm.addVim.url == vm.vimInfo[i].url){
- resUtil.growl($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_title") + 'already exists',"info");
- $('#addVimDlg').modal('hide');
- return;
- }
- }
- */
+ /*
+ for( var i = 0; i < vm.vimInfo.length; i ++ ){
+ if(vm.addVim.url == vm.vimInfo[i].url){
+ resUtil.growl($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_title") + 'already exists',"info");
+ $('#addVimDlg').modal('hide');
+ return;
+ }
+ }
+ */
vm.persistVim();
- } else if( vm.addVim.saveType == "update" ){
+ } else if (vm.addVim.saveType == "update") {
vm.updateVim();
}
},
//新增vim
- persistVim : function(){
+ persistVim: function () {
$.ajax({
- type : "Post",
- url : vm.$addVimInfoUrl,
- data : JSON.stringify({
- name : vm.addVim.vimName,
- url : vm.addVim.url,
- userName : vm.addVim.userName,
- password : vm.addVim.password,
- tenant : vm.addVim.tenant,
- domain : vm.addVim.domain,
- vendor : vm.addVim.vendor,
- version : vm.addVim.version,
- description: vm.addVim.description,
- type : vm.addVim.vimType,
+ type: "Post",
+ url: vm.$addVimInfoUrl,
+ data: JSON.stringify({
+ name: vm.addVim.vimName,
+ url: vm.addVim.url,
+ userName: vm.addVim.userName,
+ password: vm.addVim.password,
+ tenant: vm.addVim.tenant,
+ domain: vm.addVim.domain,
+ vendor: vm.addVim.vendor,
+ version: vm.addVim.version,
+ description: vm.addVim.description,
+ type: vm.addVim.vimType,
}),
- async : false,
- dataType : "json",
- contentType : 'application/json',
- success : function(data,statusText,jqXHR) {
- vm.executeWait.visible=false;
- vm.executeError.visible=false;
- if ( jqXHR.status=="201" ) {
- vm.addVim.vimId = data.vimId;
+ async: false,
+ dataType: "json",
+ contentType: 'application/json',
+ success: function (data, statusText, jqXHR) {
+ vm.executeWait.visible = false;
+ vm.executeError.visible = false;
+ if (jqXHR.status == "201") {
+ vm.addVim.vimId = data.vimId;
vm.addVim.name = data.name;
vm.addVim.tenant = data.tenant;
vm.addVim.type = data.type;
- var newVim=jQuery.extend({}, vm.addVim);
+ var newVim = jQuery.extend({}, vm.addVim);
vm.vimInfo.push(newVim);
$('#addVimDlg').modal('hide');
- resUtil.growl($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_title") + $.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_save_success"),"success");
- } else{
- vm.executeError.visible=true;
- vm.executeError.text = $.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_save_failed");
+ resUtil.growl($.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_title") + $.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_save_success"), "success");
+ } else {
+ vm.executeError.visible = true;
+ vm.executeError.text = $.i18n.prop("com_zte_ums_eco_roc_vim_growl_msg_save_failed");
}
},
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vm.executeError.visible = true;
- vm.executeError.text = textStatus+":"+errorThrown;
- vm.executeWait.visible = false;
- vm.isSave = false;
- }
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vm.executeError.visible = true;
+ vm.executeError.text = textStatus + ":" + errorThrown;
+ vm.executeWait.visible = false;
+ vm.isSave = false;
+ }
});
},
//更新vim
- updateVim : function(){
+ updateVim: function () {
$.ajax({
- type : "Put",
- url : vm.$updateVimInfoUrl+vm.addVim.vimId,
- contentType : 'application/json',
- data : JSON.stringify({
- name : vm.addVim.vimName,
- userName : vm.addVim.userName,
- password : vm.addVim.password,
- domain : vm.addVim.domain,
- version : vm.addVim.version,
- description : vm.addVim.description,
- url : vm.addVim.url,
- tenant:vm.addVim.tenant,
- type : vm.addVim.vimType,
- vendor : vm.addVim.vendor,
+ type: "Put",
+ url: vm.$updateVimInfoUrl + vm.addVim.vimId,
+ contentType: 'application/json',
+ data: JSON.stringify({
+ name: vm.addVim.vimName,
+ userName: vm.addVim.userName,
+ password: vm.addVim.password,
+ domain: vm.addVim.domain,
+ version: vm.addVim.version,
+ description: vm.addVim.description,
+ url: vm.addVim.url,
+ tenant: vm.addVim.tenant,
+ type: vm.addVim.vimType,
+ vendor: vm.addVim.vendor,
}),
- dataType : "json",
- async : false,
- success : function(data,statusText,jqXHR) {
- vm.executeWait.visible=false;
- vm.executeError.visible=false;
- if (jqXHR.status=="200") {
- for(var i=0;i<vm.vimInfo.length;i++){
- if(vm.vimInfo[i].vimId == vm.addVim.vimId)
- {
+ dataType: "json",
+ async: false,
+ success: function (data, statusText, jqXHR) {
+ vm.executeWait.visible = false;
+ vm.executeError.visible = false;
+ if (jqXHR.status == "200") {
+ for (var i = 0; i < vm.vimInfo.length; i++) {
+ if (vm.vimInfo[i].vimId == vm.addVim.vimId) {
vm.vimInfo[i].name = vm.addVim.vimName;
vm.vimInfo[i].userName = vm.addVim.userName;
vm.vimInfo[i].password = vm.addVim.password;
vm.vimInfo[i].url = vm.addVim.url;
vm.vimInfo[i].tenant = vm.addVim.tenant;
vm.vimInfo[i].domain = vm.addVim.domain;
- vm.vimInfo[i].description = vm.addVim.description;
- vm.vimInfo[i].type=vm.addVim.vimType;
+ vm.vimInfo[i].description = vm.addVim.description;
+ vm.vimInfo[i].type = vm.addVim.vimType;
}
- }
+ }
$('#addVimDlg').modal('hide');
- resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_save_success'),"success");
+ resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_save_success'), "success");
}
- else{
+ else {
vm.executeError.visible = true;
vm.executeError.text = $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_save_failed');
}
},
- error: function(XMLHttpRequest, textStatus, errorThrown) {
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
vm.isSave = false;
- vm.executeError.visible=true;
- vm.executeError.text = textStatus+":"+errorThrown;
+ vm.executeError.visible = true;
+ vm.executeError.text = textStatus + ":" + errorThrown;
vm.executeWait.visible = false;
- }
+ }
});
},
- delVim : function(el){
- bootbox.confirm($.i18n.prop('com_zte_ums_eco_roc_vim_confirm_delete_vim_record'),function(result){
- if(result){
+ delVim: function (el) {
+ bootbox.confirm($.i18n.prop('com_zte_ums_eco_roc_vim_confirm_delete_vim_record'), function (result) {
+ if (result) {
$.ajax({
- type : "DELETE",
- url : vm.$delVimInfoUrl.replace('{vim_id}', el.vimId),
- success : function(data,statusText,jqXHR) {
- if( jqXHR.status=="204")
- {
- for(var i=0;i<vm.vimInfo.length;i++){
- if(el.vimId == vm.vimInfo[i].vimId){
+ type: "DELETE",
+ url: vm.$delVimInfoUrl.replace('{vim_id}', el.vimId),
+ success: function (data, statusText, jqXHR) {
+ if (jqXHR.status == "204") {
+ for (var i = 0; i < vm.vimInfo.length; i++) {
+ if (el.vimId == vm.vimInfo[i].vimId) {
vm.vimInfo.splice(i, 1);
break;
}
}
- resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_remove_success'),"success");
+ resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_remove_success'), "success");
}
- else{
- resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_remove_failed'),"warning");
+ else {
+ resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + $.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_remove_failed'), "warning");
}
},
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + errorThrown, "danger");
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ resUtil.growl($.i18n.prop('com_zte_ums_eco_roc_vim_growl_msg_title') + errorThrown, "danger");
}
});
}
});
},
- gotoChartPage:function(oid,name,tenant){
- window.location.href = "vimChart.html?"+oid+"&"+name+"&"+tenant;
+ gotoChartPage: function (oid, name, tenant) {
+ window.location.href = "vimChart.html?" + oid + "&" + name + "&" + tenant;
}
-});
+ });
avalon.scan();
vm.$initTable();
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimUtil.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimUtil.js index 103482f7..5def3101 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimUtil.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/js/vimUtil.js @@ -15,31 +15,31 @@ */
var resUtil = {};
-resUtil.tooltipVimStatus=function(){
- $("[data-toggle='tooltip']").tooltip();
+resUtil.tooltipVimStatus = function () {
+ $("[data-toggle='tooltip']").tooltip();
}
-resUtil.growl=function(message,type){
+resUtil.growl = function (message, type) {
$.growl({
icon: "fa fa-envelope-o fa-lg",
title: " Notice: ",
- message: message+" "
- },{
+ message: message + " "
+ }, {
type: type
});
/*
- $.bootstrapGrowl(message, {
- ele: 'body', // which element to append to
- type: type, // (null, 'info', 'danger', 'success')
- offset: {from: 'bottom', amount: 20}, // 'top', or 'bottom'
- align: 'right', // ('left', 'right', or 'center')
- width: 'auto', // (integer, or 'auto')
- delay: 3000, // Time while the message will be displayed. It's not equivalent to the *demo* timeOut!
- allow_dismiss: false, // If true then will display a cross to close the popup.
- stackup_spacing: 10 // spacing between consecutively stacked growls.
- });
- */
+ $.bootstrapGrowl(message, {
+ ele: 'body', // which element to append to
+ type: type, // (null, 'info', 'danger', 'success')
+ offset: {from: 'bottom', amount: 20}, // 'top', or 'bottom'
+ align: 'right', // ('left', 'right', or 'center')
+ width: 'auto', // (integer, or 'auto')
+ delay: 3000, // Time while the message will be displayed. It's not equivalent to the *demo* timeOut!
+ allow_dismiss: false, // If true then will display a cross to close the popup.
+ stackup_spacing: 10 // spacing between consecutively stacked growls.
+ });
+ */
}
diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimChart.html b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimChart.html index e94066f8..c39cc408 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimChart.html +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimChart.html @@ -18,81 +18,86 @@ -->
<html>
<head lang="en">
-<meta charset="UTF-8">
-<title></title>
-<link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
-<link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
-<link href="../../common/css/ngict-component.css" rel="stylesheet" type="text/css">
-<link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css">
-<link href="../../common/thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css" />
-<link href="css/vimChart.css" rel="stylesheet" type="text/css"/>
-<style>
-.ms-controller {
- visibility: hidden
-}
-</style>
-<script>
-var id,name,tenant;
- if (window.location.search && window.location.search.length > 1) {
- var arr=window.location.search.split("&");
- id = arr[0].replace("?","");
- name = arr[1];
- tenant = arr[2];
- }
-</script>
+ <meta charset="UTF-8">
+ <title></title>
+ <link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
+ <link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
+ <link href="../../common/css/ngict-component.css" rel="stylesheet" type="text/css">
+ <link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css">
+ <link href="../../common/thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css"/>
+ <link href="css/vimChart.css" rel="stylesheet" type="text/css"/>
+ <style>
+ .ms-controller {
+ visibility: hidden
+ }
+ </style>
+ <script>
+ var id, name, tenant;
+ if (window.location.search && window.location.search.length > 1) {
+ var arr = window.location.search.split("&");
+ id = arr[0].replace("?", "");
+ name = arr[1];
+ tenant = arr[2];
+ }
+ </script>
</head>
<body>
<div class="ms-controller" ms-controller="vimChartController">
- <div class="container-fluid">
-
- <div class="row" style=" margin-top: 15px;">
- <div class="col-xs-6 col-md-6 col-sm-6 col-lg-6 titlefont">
- {{vimInfo.name}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_use" name_i18n="com_zte_conductor_ui_i18n"></span>
- </div>
- <div class="pull-right">
- <a href="#" ms-click="gotoVimPage()" id_i18n="com_zte_ums_eco_roc_vim_resource_chart_return" name_i18n="com_zte_conductor_ui_i18n"></a>
-
- </div>
- </div>
- <div class="separator-line"></div>
-
- <div class="row row-fluid">
-
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " ms-if="vimInfo.isAdmin==true" >
-
- <div class="form-body">
- <div class="form-title">
- <span id_i18n="com_zte_ums_eco_roc_vim_resource_vim_use" name_i18n="com_zte_conductor_ui_i18n"></span>
- </div>
- <div id="vimPieChartDiv" style="width:100%;height:200px" class="main"></div>
-
- </div>
- </div>
-
-
-
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " >
- <div class="form-body">
- <div class="form-title">
- {{vimInfo.tenant}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_tenant_use" name_i18n="com_zte_conductor_ui_i18n"></span>
- <div class="pull-right">
- <select class="form-control m-b" ms-if="vimInfo.isAdmin==true" ms-each="tenantSelectList.selectItems" ms-duplex="vimInfo.tenant" ms-change="tenantChartLoad()">
- <option ms-attr-value='el.name'>{{el.name}}</option>
- </select>
-
-
- </div>
- </div>
-
- <div id="tenantPieChartDiv" style="width:100%;height:400px" class="main"></div>
-
- </div>
-
- </div>
+ <div class="container-fluid">
- </div>
+ <div class="row" style=" margin-top: 15px;">
+ <div class="col-xs-6 col-md-6 col-sm-6 col-lg-6 titlefont">
+ {{vimInfo.name}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_use"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ </div>
+ <div class="pull-right">
+ <a href="#" ms-click="gotoVimPage()" id_i18n="com_zte_ums_eco_roc_vim_resource_chart_return"
+ name_i18n="com_zte_conductor_ui_i18n"></a>
+
+ </div>
+ </div>
+ <div class="separator-line"></div>
+
+ <div class="row row-fluid">
+
+ <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " ms-if="vimInfo.isAdmin==true">
+
+ <div class="form-body">
+ <div class="form-title">
+ <span id_i18n="com_zte_ums_eco_roc_vim_resource_vim_use"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ </div>
+ <div id="vimPieChartDiv" style="width:100%;height:200px" class="main"></div>
+
+ </div>
+ </div>
+
+
+ <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 ">
+ <div class="form-body">
+ <div class="form-title">
+ {{vimInfo.tenant}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_tenant_use"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <div class="pull-right">
+ <select class="form-control m-b" ms-if="vimInfo.isAdmin==true"
+ ms-each="tenantSelectList.selectItems" ms-duplex="vimInfo.tenant"
+ ms-change="tenantChartLoad()">
+ <option ms-attr-value='el.name'>{{el.name}}</option>
+ </select>
- </div>
+
+ </div>
+ </div>
+
+ <div id="tenantPieChartDiv" style="width:100%;height:400px" class="main"></div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
</div>
@@ -102,12 +107,12 @@ var id,name,tenant; <script type="text/javascript" src="../../common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
<script type="text/javascript" src="../../common/thirdparty/bootstrap/js/bootstrap.min.js"></script>
<script src="../../common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
-<script type="text/javascript" src="./i18n/loadi18nApp.js"></script>
+<script type="text/javascript" src="./i18n/loadi18nApp.js"></script>
<script src="../../common/thirdparty/echarts/echarts-all.js"></script>
<script type="text/javascript" src="../../common/thirdparty/bootbox/bootbox.min.js"></script>
<script src="../../common/thirdparty/avalon/avalon.js"></script>
<script type="text/javascript" src="js/vimChart.js"></script>
<script type="text/javascript" src="js/vimChartController.js"></script>
-<script type="text/javascript" src="../../common/js/core/hk.min.js" ></script>
+<script type="text/javascript" src="../../common/js/core/hk.min.js"></script>
</body>
</html>
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimView.html b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimView.html index 858d6d54..5198724c 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimView.html +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vim/vimView.html @@ -18,208 +18,233 @@ -->
<html>
<head lang="en">
-<meta charset="UTF-8">
-<title></title>
-<link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
-<link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
-<link href="../../common/thirdparty/uniform/css/uniform.default.css" rel="stylesheet"/>
-<link href="../../common/css/ngict-component.css" rel="stylesheet" type="text/css">
-<link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css">
-<link href="css/vim.css" rel="stylesheet" type="text/css"/>
-<link href="css/skill.css" rel="stylesheet" type="text/css"/>
-<link href="../../common/thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css"/>
-
-
-<style>
-.ms-controller {
- visibility: hidden
-}
-</style>
+ <meta charset="UTF-8">
+ <title></title>
+ <link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
+ <link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
+ <link href="../../common/thirdparty/uniform/css/uniform.default.css" rel="stylesheet"/>
+ <link href="../../common/css/ngict-component.css" rel="stylesheet" type="text/css">
+ <link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css">
+ <link href="css/vim.css" rel="stylesheet" type="text/css"/>
+ <link href="css/skill.css" rel="stylesheet" type="text/css"/>
+ <link href="../../common/thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css"/>
+
+
+ <style>
+ .ms-controller {
+ visibility: hidden
+ }
+ </style>
</head>
<body>
<div class="ms-controller container-fluid" ms-controller="vimController">
-<div id="addVimDlg" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
- <div class="modal-dialog">
- <div class="modal-content Changepasswd">
- <div class="content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h4 id="myModalLabel" ms-text="addVim.titleName"></h4>
- </div>
+ <div id="addVimDlg" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
+ aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content Changepasswd">
+ <div class="content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
+ <h4 id="myModalLabel" ms-text="addVim.titleName"></h4>
+ </div>
<!-- modal body begin-->
- <div class="modal-body">
- <div class="alert alert-info" ms-visible="executeWait.visible">{{executeWait.text}}</div>
- <div class="alert alert-danger " ms-visible="executeError.visible">{{executeError.text}}</div>
-
- <form class="form-horizontal" id="vim_form" role="form">
- <input type="hidden" ms-duplex="addVim.vimId" name="vimId" class="form-control"/>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_name" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.vimName" name="vimName" class="form-control"/>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_auth_url" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.url" placeholder="http://xx.xx.xx.xx:5000/v2.0" name="url" class="form-control"/>
- <span class="help-block"></span>
- </div>
-
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_username" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.userName" name="userName" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_password" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="password" ms-duplex="addVim.password" name="password" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_tenant" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.tenant" name="tenant" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_version" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.version" name="version" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_vendor" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.vendor" name="vendor" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_domain" name_i18n="com_zte_conductor_ui_i18n"></span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVim.domain" name="domain" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_type" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <select id="vimTypeSelect" ms-each="$vimType.selectItems" ms-duplex="addVim.vimType" >
- <option ms-attr-value='el.cond_value'>{{el.name}}</option>
- </select>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id_i18n="com_zte_ums_eco_roc_vim_description" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="" aria-required="" style="visibility: hidden;">*</span>
- </label>
- <div class="col-sm-7">
- <textarea class="form-control" rows="3" ms-duplex="addVim.description" name="description"></textarea>
- <span class="help-block"></span>
- </div>
- </div>
- </form>
- </div>
+ <div class="modal-body">
+ <div class="alert alert-info" ms-visible="executeWait.visible">{{executeWait.text}}</div>
+ <div class="alert alert-danger " ms-visible="executeError.visible">{{executeError.text}}</div>
+
+ <form class="form-horizontal" id="vim_form" role="form">
+ <input type="hidden" ms-duplex="addVim.vimId" name="vimId" class="form-control"/>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_name"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.vimName" name="vimName" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_auth_url"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.url" placeholder="http://xx.xx.xx.xx:5000/v2.0"
+ name="url" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_username"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.userName" name="userName"
+ class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_password"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="password" ms-duplex="addVim.password" name="password"
+ class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_tenant"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.tenant" name="tenant" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_version"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.version" name="version" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_vendor"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.vendor" name="vendor" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_domain"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVim.domain" name="domain" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_type"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <select id="vimTypeSelect" ms-each="$vimType.selectItems"
+ ms-duplex="addVim.vimType">
+ <option ms-attr-value='el.cond_value'>{{el.name}}</option>
+ </select>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id_i18n="com_zte_ums_eco_roc_vim_description"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="" aria-required="" style="visibility: hidden;">*</span>
+ </label>
+ <div class="col-sm-7">
+ <textarea class="form-control" rows="3" ms-duplex="addVim.description"
+ name="description"></textarea>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ </form>
+ </div>
<!-- modal body end-->
- <div class="modal-footer">
- <button class="btn" data-dismiss="modal" aria-hidden="true"><span id_i18n="com_zte_ums_eco_roc_vim_cancel" name_i18n="com_zte_conductor_ui_i18n"></span></button>
- <button class="btn btn-primary" type="submit" ms-disabled="isSave" ms-click="$saveVimTable()"><span id_i18n="com_zte_ums_eco_roc_vim_save" name_i18n="com_zte_conductor_ui_i18n"></span></button>
- </div>
- </div>
-
- </div>
- </div>
- </div>
-
- <div class="row-fluid col-sm-12" data-name="cond_zone">
- <div class="col-sm-4">
- <button class= "btn white radius_l" id="app-new-btn" ms-click="$showVimTable('', 'add')">
- <i class="ict-new"></i> <span id_i18n="com_zte_ums_eco_roc_vim_register" name_i18n="com_zte_conductor_ui_i18n"></span>
- </button>
+ <div class="modal-footer">
+ <button class="btn" data-dismiss="modal" aria-hidden="true"><span
+ id_i18n="com_zte_ums_eco_roc_vim_cancel" name_i18n="com_zte_conductor_ui_i18n"></span>
+ </button>
+ <button class="btn btn-primary" type="submit" ms-disabled="isSave" ms-click="$saveVimTable()">
+ <span id_i18n="com_zte_ums_eco_roc_vim_save" name_i18n="com_zte_conductor_ui_i18n"></span>
+ </button>
+ </div>
+ </div>
+
</div>
- <!-- <div class="fa fa-refresh text-muted refresh-status-text"><small><span id_i18n="com_zte_ums_eco_roc_vim_status_update_time" name_i18n="com_zte_conductor_ui_i18n"></span></small><small ms-text="vimStatusTime"></small></div>-->
</div>
+ </div>
+
+ <div class="row-fluid col-sm-12" data-name="cond_zone">
+ <div class="col-sm-4">
+ <button class="btn white radius_l" id="app-new-btn" ms-click="$showVimTable('', 'add')">
+ <i class="ict-new"></i> <span id_i18n="com_zte_ums_eco_roc_vim_register"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ </button>
+ </div>
+ <!-- <div class="fa fa-refresh text-muted refresh-status-text"><small><span id_i18n="com_zte_ums_eco_roc_vim_status_update_time" name_i18n="com_zte_conductor_ui_i18n"></span></small><small ms-text="vimStatusTime"></small></div>-->
+ </div>
<div class="row-fluid col-sm-12 " ms-each-el="vimInfo">
- <div class="col-sm-4 animated-panel zoomIn" style="-webkit-animation-delay: 0.1s;">
- <div class="hpanel stats" >
-
- <div class="panel-body h-200" ms-hover="hpanel_show">
- <div class="pull-left">
- <span class="label label-success" ms-text="$Status.displayActive"></span>
- </div>
- <div class="stats-icon pull-right">
- <i class="fa fa-cloud fa-5x color_cloud"></i>
- </div>
- <div class="m-t-xl">
- <h3 ms-text="el.name"></h3>
- <div class="font">
- <span id_i18n="com_zte_ums_eco_roc_vim_display_type" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span ms-text="el.type"></span>
- </div>
- <div ms-text="el.url"></div>
- </div>
- </div>
- <div class="panel-footer">
- <div class="pull-right">
- <a class="btn btn-default btn-sm" ms-click="$showVimTable(el, 'update')"><i class="fa fa-pencil-square-o fa-lg"></i></a>
- <a class="btn btn-default btn-sm" ms-click="delVim(el)"><i class="fa fa-trash-o fa-lg"> </i></a>
- <!--<a class="btn btn-default btn-sm" ms-click="gotoChartPage(el.oid,el.name,el.user)"><i class="fa fa-pie-chart fa-lg"> </i></a>-->
+ <div class="col-sm-4 animated-panel zoomIn" style="-webkit-animation-delay: 0.1s;">
+ <div class="hpanel stats">
+
+ <div class="panel-body h-200" ms-hover="hpanel_show">
+ <div class="pull-left">
+ <span class="label label-success" ms-text="$Status.displayActive"></span>
+ </div>
+ <div class="stats-icon pull-right">
+ <i class="fa fa-cloud fa-5x color_cloud"></i>
+ </div>
+ <div class="m-t-xl">
+ <h3 ms-text="el.name"></h3>
+ <div class="font">
+ <span id_i18n="com_zte_ums_eco_roc_vim_display_type"
+ name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span ms-text="el.type"></span>
</div>
+ <div ms-text="el.url"></div>
+ </div>
+ </div>
+ <div class="panel-footer">
+ <div class="pull-right">
+ <a class="btn btn-default btn-sm" ms-click="$showVimTable(el, 'update')"><i
+ class="fa fa-pencil-square-o fa-lg"></i></a>
+ <a class="btn btn-default btn-sm" ms-click="delVim(el)"><i class="fa fa-trash-o fa-lg"> </i></a>
+ <!--<a class="btn btn-default btn-sm" ms-click="gotoChartPage(el.oid,el.name,el.user)"><i class="fa fa-pie-chart fa-lg"> </i></a>-->
</div>
</div>
</div>
-
+ </div>
+
</div>
<div class="row-fluid">
- <div class="col-md-12">
- <div class="pull-left text-muted"><small><span id_i18n="com_zte_ums_eco_roc_vim_total" name_i18n="com_zte_conductor_ui_i18n"></span>
- <span class="blue-font" ms-text="vimInfo.size()"></span>
- <span id_i18n="com_zte_ums_eco_roc_vim_metric" name_i18n="com_zte_conductor_ui_i18n"></span></small></div>
- </div>
- </div>
-
- </div>
+ <div class="col-md-12">
+ <div class="pull-left text-muted">
+ <small><span id_i18n="com_zte_ums_eco_roc_vim_total" name_i18n="com_zte_conductor_ui_i18n"></span>
+ <span class="blue-font" ms-text="vimInfo.size()"></span>
+ <span id_i18n="com_zte_ums_eco_roc_vim_metric" name_i18n="com_zte_conductor_ui_i18n"></span></small>
+ </div>
+ </div>
+ </div>
+
+</div>
<script type="text/javascript" src="../../common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../../common/js/tools.js"></script>
<script type="text/javascript" src="../../common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
@@ -230,13 +255,13 @@ <script type="text/javascript" src="../../common/thirdparty/bootbox/bootbox.min.js"></script>
<!--<script type="text/javascript" src="../component/thirdparty/cometd/cometd.js"></script>-->
<!--<script type="text/javascript" src="../component/thirdparty/cometd/jquery/jquery.cometd.js"></script>-->
-<script type="text/javascript" src="js/loadi18nApp.js"></script>
+<script type="text/javascript" src="js/loadi18nApp.js"></script>
<script type="text/javascript" src="js/vim-validate.js"></script>
<!--<script type="text/javascript" src="./js/client-cometd.js"></script>-->
<script src="../vendor/avalon/avalon.js"></script>
<script type="text/javascript" src="js/vimUtil.js"></script>
<script type="text/javascript" src="js/vimController.js"></script>
<script src="../../common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
-<script type="text/javascript" src="../../common/js/core/hk.min.js" ></script>
+<script type="text/javascript" src="../../common/js/core/hk.min.js"></script>
</body>
</html>
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/css/vnfm.css b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/css/vnfm.css index 14254aac..cd23bc76 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/css/vnfm.css +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/css/vnfm.css @@ -14,479 +14,473 @@ * limitations under the License.
*/
body {
- font-family: microsoft yahei !important;
+ font-family: microsoft yahei !important;
}
/* blue pill (inspired by iTunes)
*******************************************************************************/
.grey {
- background-color: #e5e5e5;
- color: #333;
+ background-color: #e5e5e5;
+ color: #333;
}
.blue {
- background-color: #5b9bd1;
- border-radius: 20px;
- color: #fff;
- font-weight: bold;
- padding: 8px 0;
- text-align: center;
- width: 100px;
+ background-color: #5b9bd1;
+ border-radius: 20px;
+ color: #fff;
+ font-weight: bold;
+ padding: 8px 0;
+ text-align: center;
+ width: 100px;
}
.blue:hover {
- background-color: #e8f3fd;
- color: #5b9bd1;
+ background-color: #e8f3fd;
+ color: #5b9bd1;
}
.blue.selected {
- border: 0;
- background-color: #5b9bd1;
- color: #fff;
+ border: 0;
+ background-color: #5b9bd1;
+ color: #fff;
}
.blue.selected:hover {
- border: 0;
- background-color: #5b9bd1;
- color: #fff;
+ border: 0;
+ background-color: #5b9bd1;
+ color: #fff;
}
p {
- color: #444;
- font-size: 14px;
- font-weight: normal;
- line-height: 21px;
- margin: 0 0 12px 0;
+ color: #444;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 21px;
+ margin: 0 0 12px 0;
}
p.credit {
- border-top: 1px solid #ccc;
- font-size: 14px;
- line-height: 140%;
- margin: 36px 0 12px 0;
- padding: 8px 0 0 0;
- text-align: center;
+ border-top: 1px solid #ccc;
+ font-size: 14px;
+ line-height: 140%;
+ margin: 36px 0 12px 0;
+ padding: 8px 0 0 0;
+ text-align: center;
}
ul.column {
- float: left;
- list-style: none;
- width: 675px;
+ float: left;
+ list-style: none;
+ width: 675px;
}
ul.column li {
- background: #eee;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -webkit-box-shadow: inset 0 1px 1px 0 #c7c7c7;
- box-shadow: inset 0 1px 1px 0 #c7c7c7;
- float: left;
- margin: 10px 0 0 10px;
- display: block;
- height: 150px;
- text-align: center;
- width: 215px;
+ background: #eee;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ -webkit-box-shadow: inset 0 1px 1px 0 #c7c7c7;
+ box-shadow: inset 0 1px 1px 0 #c7c7c7;
+ float: left;
+ margin: 10px 0 0 10px;
+ display: block;
+ height: 150px;
+ text-align: center;
+ width: 215px;
}
/* Clear Floated Elements
------------------------------------------------------------------------------*/
-.column:after,.button-collection:after,.clearfix:after,div.project-info:after
- {
- clear: both;
- content: ' ';
- display: block;
- font-size: 0;
- line-height: 0;
- visibility: hidden;
- width: 0;
- height: 0;
+.column:after, .button-collection:after, .clearfix:after, div.project-info:after {
+ clear: both;
+ content: ' ';
+ display: block;
+ font-size: 0;
+ line-height: 0;
+ visibility: hidden;
+ width: 0;
+ height: 0;
}
.container-fluid {
- background-color:white !important;
- min-height:500px;
+ background-color: white !important;
+ min-height: 500px;
}
.nav-tabs {
- border: 0;
+ border: 0;
}
-.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus
- {
- border: 0;
- border-top: 3px solid #F3565D;
+.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
+ border: 0;
+ border-top: 3px solid #F3565D;
}
-.nav-tabs>li>a {
- border-radius: 0;
+.nav-tabs > li > a {
+ border-radius: 0;
}
-.nav-tabs>li>a:hover {
- background-color: #f1f3fa;
- border: 1Px solid #f1f3fa;
+.nav-tabs > li > a:hover {
+ background-color: #f1f3fa;
+ border: 1Px solid #f1f3fa;
}
.c3 {
- margin-top: 120px;
+ margin-top: 120px;
}
.skills-chart-breadcrumb {
-
+
}
.blue:selected {
- border: 0;
- background-color: #5b9bd1;
+ border: 0;
+ background-color: #5b9bd1;
}
.btn {
- /* border-width: 0; */
- /* padding: 7px 14px; */
- /* font-size: 14px; */
- /* outline: none !important; */
- /* background-image: none !important; */
- /* filter: none; */
- /* -webkit-box-shadow: none; */
- -moz-box-shadow: none;
- /* box-shadow: none; */
- /* text-shadow: none; */
+ /* border-width: 0; */
+ /* padding: 7px 14px; */
+ /* font-size: 14px; */
+ /* outline: none !important; */
+ /* background-image: none !important; */
+ /* filter: none; */
+ /* -webkit-box-shadow: none; */
+ -moz-box-shadow: none;
+ /* box-shadow: none; */
+ /* text-shadow: none; */
}
select {
- border-width: 1px;
- padding: 4px 1px;
- border-radius: 4px;
+ border-width: 1px;
+ padding: 4px 1px;
+ border-radius: 4px;
}
.input-sm {
- padding: 4px 10px;
+ padding: 4px 10px;
}
.btn-block {
- display: block;
- width: 100%;
- padding-left: 0;
- padding-right: 0;
+ display: block;
+ width: 100%;
+ padding-left: 0;
+ padding-right: 0;
}
/* Bootstrap buttons */
-
-.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active
- {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
+.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active {
+ color: #333;
+ background-color: #ededed;
+ border-color: #b3b3b3;
}
.open .btn-default.dropdown-toggle {
- color: #333;
- background-color: #ededed;
- border-color: #b3b3b3;
+ color: #333;
+ background-color: #ededed;
+ border-color: #b3b3b3;
}
-.btn-default:active,.btn-default.active {
- background-image: none;
- background-color: #e0e0e0;
- font-weight: bold;
+.btn-default:active, .btn-default.active {
+ background-image: none;
+ background-color: #e0e0e0;
+ font-weight: bold;
}
-.btn-default:active:hover,.btn-default.active:hover {
- background-color: #e6e6e6;
+.btn-default:active:hover, .btn-default.active:hover {
+ background-color: #e6e6e6;
}
.open .btn-default.dropdown-toggle {
- background-image: none;
+ background-image: none;
}
-.btn-default.disabled,.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled:active,.btn-default.disabled.active,.btn-default[disabled],.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled]:active,.btn-default[disabled].active,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default.active
- {
- background-color: #fff;
- border-color: #ccc;
+.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
+ background-color: #fff;
+ border-color: #ccc;
}
.btn-default .badge {
- color: #fff;
- background-color: #333;
+ color: #fff;
+ background-color: #333;
}
-
-.btn-default>i[class^="icon-"],.btn-default>i[class*="icon-"] {
- color: #8c8c8c;
+.btn-default > i[class^="icon-"], .btn-default > i[class*="icon-"] {
+ color: #8c8c8c;
}
div[data-name="tab_zone"] div {
- background-color: #f1f3fa;
- padding: 0px;
+ background-color: #f1f3fa;
+ padding: 0px;
}
div[data-name="cond_zone"] div {
- background-color: #fff;
- margin-top: 15px;
- margin-bottom: 15px;
+ background-color: #fff;
+ margin-top: 15px;
+ margin-bottom: 15px;
}
div[data-name="res-conds-zone"] {
- display: inline;
-}
-
-div[data-name="res-conds-zone"] select,div[data-name="res-conds-zone"] span
- {
- /**height:33px;*/
- margin-left: 15px;
- color: #5b9bd1;
- border-color: #ccc;
- font-weight: bold;
-}
-
-.input{
- width:250px;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
- -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
+ display: inline;
+}
+
+div[data-name="res-conds-zone"] select, div[data-name="res-conds-zone"] span {
+ /**height:33px;*/
+ margin-left: 15px;
+ color: #5b9bd1;
+ border-color: #ccc;
+ font-weight: bold;
+}
+
+.input {
+ width: 250px;
+ height: 34px;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #555;
+ background-color: #fff;
+ background-image: none;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
div.separator {
- margin: 20px;
+ margin: 20px;
}
div.separator div {
- text-align: center;
- line-height: 0;
+ text-align: center;
+ line-height: 0;
}
div.separator-line {
- height: 1px !important;
- width: 100%;
- background: #ddd;
- overflow: hidden;
+ height: 1px !important;
+ width: 100%;
+ background: #ddd;
+ overflow: hidden;
}
.dropdown-toggle {
- color: #5b9bd1;
+ color: #5b9bd1;
}
.calendar-date {
- color: #5b9bd1;
+ color: #5b9bd1;
}
.range_inputs {
- color: #5b9bd1;
+ color: #5b9bd1;
}
-.btn.dropdown-toggle,.btn-group .btn.dropdown-toggle,.btn:hover,.btn:disabled,.btn[disabled],.btn:focus,.btn:active,.btn.active
- {
- outline: none !important;
- background-image: none !important;
- filter: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- text-shadow: none;
+.btn.dropdown-toggle, .btn-group .btn.dropdown-toggle, .btn:hover, .btn:disabled, .btn[disabled], .btn:focus, .btn:active, .btn.active {
+ outline: none !important;
+ background-image: none !important;
+ filter: none;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+ text-shadow: none;
}
#skills-chart-breadcrumb {
- margin-bottom: 10px
+ margin-bottom: 10px
}
/*增加daterangepicker的css*/
input[name="daterange"] {
- width: 220px;
- line-height: 0;
- height: 31px;
- vertical-align: top;
- margin-top: 2px;
+ width: 220px;
+ line-height: 0;
+ height: 31px;
+ vertical-align: top;
+ margin-top: 2px;
}
.daterangepicker .ranges {
- width: 205px;
+ width: 205px;
}
.daterangepicker .ranges input {
- width: 95px !important;
+ width: 95px !important;
}
td.details-control {
- background: url('../images/details_open.png') no-repeat center center;
- cursor: pointer;
+ background: url('../images/details_open.png') no-repeat center center;
+ cursor: pointer;
}
tr.shown td.details-control {
- background: url('../images/details_close.png') no-repeat center center;
+ background: url('../images/details_close.png') no-repeat center center;
}
.details table td {
- word-wrap: break-word;
- word-break: normal;
- border-top: 1px solid #dddddd;
+ word-wrap: break-word;
+ word-break: normal;
+ border-top: 1px solid #dddddd;
}
-.details table tr:first-child td {
- border-top: none;
+.details table tr:first-child td {
+ border-top: none;
}
.details table {
- table-layout: fixed;
- width: 100%;
+ table-layout: fixed;
+ width: 100%;
}
td.title {
- width: 10%;
+ width: 10%;
}
-table.dataTable tbody th,table.dataTable tbody td {
- padding: 8px 10px;
+table.dataTable tbody th, table.dataTable tbody td {
+ padding: 8px 10px;
}
-div.dataTables_length,div.dataTables_info {
- display: inline;
+div.dataTables_length, div.dataTables_info {
+ display: inline;
}
div.dataTables_paginate {
- display: inline;
- float: right;
+ display: inline;
+ float: right;
}
div.pagination-panel {
- margin-right: 10px;
+ margin-right: 10px;
}
input.pagination-panel-input {
- width: 50px;
+ width: 50px;
}
#ict_res_table_div {
- margin-top: 15px;
+ margin-top: 15px;
}
#ict_res_table_div label {
- font-weight: 100;
+ font-weight: 100;
}
-.daterangepicker .daterangepicker_start_input label,.daterangepicker .daterangepicker_end_input label
- {
- color: #5b9bd1;
+.daterangepicker .daterangepicker_start_input label, .daterangepicker .daterangepicker_end_input label {
+ color: #5b9bd1;
}
.daterangepicker .ranges .input-mini {
- color: #5b9bd1;
+ color: #5b9bd1;
}
.cancelBtn {
- padding: 5px 10px 5px 10px;
+ padding: 5px 10px 5px 10px;
}
-.btn:focus,.btn:active:focus,.btn.active:focus {
- outline: 0;
+.btn:focus, .btn:active:focus, .btn.active:focus {
+ outline: 0;
}
-#ict_res_table_div table {
- width: 100% !important;
+#ict_res_table_div table {
+ width: 100% !important;
}
.control-label .required {
- color: #e02222;
- font-size: 12px;
- padding-left: 2px;
+ color: #e02222;
+ font-size: 12px;
+ padding-left: 2px;
}
-#ict_vim_table tbody tr{
- cursor:pointer;
+#ict_vim_table tbody tr {
+ cursor: pointer;
}
-
/*卡片面板样式*/
.animated-panel {
- -webkit-animation-duration: .5s;
- animation-duration: .5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
+ -webkit-animation-duration: .5s;
+ animation-duration: .5s;
+ -webkit-animation-fill-mode: both;
+ animation-fill-mode: both;
}
.hpanel {
- background-color: none;
- border: none;
- box-shadow: none;
- margin-bottom: 25px;
-
+ background-color: none;
+ border: none;
+ box-shadow: none;
+ margin-bottom: 25px;
+
}
.hpanel .panel-body {
- border: 1px solid #e4e5e7;
- border-radius: 2px;
- padding: 20px;
- position: relative;
+ border: 1px solid #e4e5e7;
+ border-radius: 2px;
+ padding: 20px;
+ position: relative;
}
+
.h-200 {
- min-height: 220px;
+ min-height: 220px;
}
.m-t-xl {
- margin-top: 40px;
+ margin-top: 40px;
}
.m-t-xl div {
- margin-bottom: 15px;
+ margin-bottom: 15px;
}
.text-success {
- color: #0d638f;
+ color: #0d638f;
}
+
.hpanel > .panel-footer {
- color: inherit;
- border: 1px solid #e4e5e7;
- border-top: none;
- font-size: 90%;
- background: #f7f9fa;
- height:40px;
- padding: 5px 15px;
+ color: inherit;
+ border: 1px solid #e4e5e7;
+ border-top: none;
+ font-size: 90%;
+ background: #f7f9fa;
+ height: 40px;
+ padding: 5px 15px;
}
-.color_cloud{
- color:#ccc;
+
+.color_cloud {
+ color: #ccc;
}
-.stats-title{
+
+.stats-title {
}
-h3{
- margin-top: 10px;
- margin-bottom: 40px;
- font-weight: 200;
+h3 {
+ margin-top: 10px;
+ margin-bottom: 40px;
+ font-weight: 200;
}
-.blue-font{
- color:#428bca;
+.blue-font {
+ color: #428bca;
}
-.hpanel > .panel-footer .pull-right a{
- margin-left: 5px;
+.hpanel > .panel-footer .pull-right a {
+ margin-left: 5px;
}
-.hpanel > .panel-footer .pull-right .btn{
- min-width: 30px !important;
+.hpanel > .panel-footer .pull-right .btn {
+ min-width: 30px !important;
}
.font-bold {
- font-weight: 600;
- margin-bottom: 15px;
+ font-weight: 600;
+ margin-bottom: 15px;
}
-.hpanel_show{
- background-color: #f7f9fa;
+.hpanel_show {
+ background-color: #f7f9fa;
}
.vnfm-padding {
- padding-left: 0;
+ padding-left: 0;
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/commonUtil.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/commonUtil.js index 2e3dffda..b8be1b7e 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/commonUtil.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/commonUtil.js @@ -14,69 +14,69 @@ * limitations under the License.
*/
var commonUtil = {};
-commonUtil.arrayRemove = function( aryInstance , index ){
- if(aryInstance == undefined || aryInstance == null){
+commonUtil.arrayRemove = function (aryInstance, index) {
+ if (aryInstance == undefined || aryInstance == null) {
return;
}
- for(var i=0,n=0;i<aryInstance.length;i++) {
- if(aryInstance[i]!=aryInstance[dx]) {
- aryInstance[n++]=aryInstance[i];
+ for (var i = 0, n = 0; i < aryInstance.length; i++) {
+ if (aryInstance[i] != aryInstance[dx]) {
+ aryInstance[n++] = aryInstance[i];
}
}
- aryInstance.length-=1;
+ aryInstance.length -= 1;
};
//For the expansion of the Date, convert the Date to specify the format String
// examples:
// (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423
// (new Date()).Format("yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18
-commonUtil.parseDate = function( dateObj , format){
+commonUtil.parseDate = function (dateObj, format) {
var o = {
- "M+" : dateObj.getMonth()+1, //month
- "d+" : dateObj.getDate(), //day
- "h+" : dateObj.getHours(), //hour
- "m+" : dateObj.getMinutes(), //minute
- "s+" : dateObj.getSeconds(), //second
- "q+" : Math.floor((dateObj.getMonth()+3)/3), //quarter
- "S" : dateObj.getMilliseconds() //millisecond
+ "M+": dateObj.getMonth() + 1, //month
+ "d+": dateObj.getDate(), //day
+ "h+": dateObj.getHours(), //hour
+ "m+": dateObj.getMinutes(), //minute
+ "s+": dateObj.getSeconds(), //second
+ "q+": Math.floor((dateObj.getMonth() + 3) / 3), //quarter
+ "S": dateObj.getMilliseconds() //millisecond
}
- if(/(y+)/.test(format)) format=format.replace(RegExp.$1,
- (dateObj.getFullYear()+"").substr(4 - RegExp.$1.length));
- for(var k in o)
- if(new RegExp("("+ k +")").test(format))
- format = format.replace(RegExp.$1, RegExp.$1.length==1 ? o[k] :
- ("00"+ o[k]).substr((""+ o[k]).length));
+ if (/(y+)/.test(format)) format = format.replace(RegExp.$1,
+ (dateObj.getFullYear() + "").substr(4 - RegExp.$1.length));
+ for (var k in o)
+ if (new RegExp("(" + k + ")").test(format))
+ format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] :
+ ("00" + o[k]).substr(("" + o[k]).length));
return format;
};
//tooltip
-commonUtil.showMessage = function(message, type) {
+commonUtil.showMessage = function (message, type) {
$.growl({
icon: "fa fa-envelope-o fa-lg",
title: " " + $.i18n.prop("nfv-nso-iui-common-tip"),
message: message
- },{
+ }, {
type: type
});
};
-commonUtil.registerCometdMessage = function(url, channel, callback) {
+commonUtil.registerCometdMessage = function (url, channel, callback) {
var cometd = new $.Cometd();
var cometdURL = location.protocol + "//" + location.host + url;
cometd.configure({
- url : cometdURL,
- logLevel : "info"
+ url: cometdURL,
+ logLevel: "info"
});
// unregister websocket transport, use long-polling transport
cometd.unregisterTransport('websocket');
// store channel object parameters(this object include channel and callback function), start from arguments[1]
- var _args = arguments;
+ var _args = arguments;
- cometd.addListener("/meta/handshake", function(handshake){
- if(handshake.successful === true) {
- cometd.batch(function() {
+ cometd.addListener("/meta/handshake", function (handshake) {
+ if (handshake.successful === true) {
+ cometd.batch(function () {
//subscribe channel
- cometd.subscribe(channel, function(message){
+ cometd.subscribe(channel, function (message) {
callback.call(this, message.data);
});
});
@@ -85,44 +85,44 @@ commonUtil.registerCometdMessage = function(url, channel, callback) { cometd.handshake();
}
-commonUtil.format = function() {
- if(arguments.length == 0) {
+commonUtil.format = function () {
+ if (arguments.length == 0) {
return null;
}
var str = arguments[0];
- for(var i=0; i<arguments.length; i++) {
- var reg = new RegExp("\\{" + (i - 1) + "\\}" , "gm");
+ for (var i = 0; i < arguments.length; i++) {
+ var reg = new RegExp("\\{" + (i - 1) + "\\}", "gm");
str = str.replace(reg, arguments[i]);
}
return str;
}
-commonUtil.get = function(url, params, callback) {
+commonUtil.get = function (url, params, callback) {
$.ajax({
- type : "GET",
- url : url,
+ type: "GET",
+ url: url,
//contentType : contentType || "application/x-www-form-urlencoded; charset=UTF-8",
- dataType : "json",
- data : params || {},
- success : callback
+ dataType: "json",
+ data: params || {},
+ success: callback
});
}
-commonUtil.post = function(url, params, callback, contentType) {
+commonUtil.post = function (url, params, callback, contentType) {
$.ajax({
- type : "POST",
- url : url,
- contentType : contentType || "application/x-www-form-urlencoded; charset=UTF-8",
- data : params || {},
- success : callback
+ type: "POST",
+ url: url,
+ contentType: contentType || "application/x-www-form-urlencoded; charset=UTF-8",
+ data: params || {},
+ success: callback
});
}
-commonUtil.delete = function(url, callback, contentType) {
+commonUtil.delete = function (url, callback, contentType) {
$.ajax({
- type : "DELETE",
- url : url,
- contentType : contentType || "application/x-www-form-urlencoded; charset=UTF-8",
- success : callback
+ type: "DELETE",
+ url: url,
+ contentType: contentType || "application/x-www-form-urlencoded; charset=UTF-8",
+ success: callback
});
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/loadi18n_nsoc.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/loadi18n_nsoc.js index 198960ce..aed34c3d 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/loadi18n_nsoc.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/loadi18n_nsoc.js @@ -13,26 +13,26 @@ * See the License for the specific language governing permissions and
* limitations under the License.
*/
-function loadPropertiesSideMenu(lang, fileNamePrefix, filePath){
- jQuery.i18n.properties({
- language:lang,
- name:fileNamePrefix,
- path:filePath,
- mode:'map',
- callback: function() {
- var i18nItems = $("[name_i18n=com_zte_nfv_nsoc_i18n]");
- for(var i=0;i<i18nItems.length;i++) {
- var $item = $(i18nItems.eq(i));
- var itemId = $item.attr("id");
- var itemTitle = $item.attr("title");
- if(typeof(itemTitle) != "undefined") {
- $item.attr("title", $.i18n.prop(itemId));
- } else {
- $item.text($.i18n.prop(itemId));
- }
- }
- }
- });
+function loadPropertiesSideMenu(lang, fileNamePrefix, filePath) {
+ jQuery.i18n.properties({
+ language: lang,
+ name: fileNamePrefix,
+ path: filePath,
+ mode: 'map',
+ callback: function () {
+ var i18nItems = $("[name_i18n=com_zte_nfv_nsoc_i18n]");
+ for (var i = 0; i < i18nItems.length; i++) {
+ var $item = $(i18nItems.eq(i));
+ var itemId = $item.attr("id");
+ var itemTitle = $item.attr("title");
+ if (typeof(itemTitle) != "undefined") {
+ $item.attr("title", $.i18n.prop(itemId));
+ } else {
+ $item.text($.i18n.prop(itemId));
+ }
+ }
+ }
+ });
}
var lang = getLanguage();
loadPropertiesSideMenu(lang, 'nfv-nso-iui-i18n', 'i18n/');
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfm-validate.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfm-validate.js index 04121018..b656d4d8 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfm-validate.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfm-validate.js @@ -13,77 +13,77 @@ * See the License for the specific language governing permissions and
* limitations under the License.
*/
-$(function(){
- var form = $('#vnfm_form');
- var error = $('.alert-danger', form);
- var success = $('.alert-success', form);
+$(function () {
+ var form = $('#vnfm_form');
+ var error = $('.alert-danger', form);
+ var success = $('.alert-success', form);
- form.validate({
- doNotHideMessage: true, //this option enables to show the error/success messages on tab switch.
- errorElement: 'span', //default input error message container
- errorClass: 'help-block', // default input error message class
- focusInvalid: false, // do not focus the last invalid input
- rules: {
- name:{
- required: true,
- maxlength:20
- },
- type:{
- required: true,
- maxlength:20
- },
- version:{
- required: true,
- maxlength:20
- },
- vendor:{
- required: true,
- maxlength:20
- },
- url:{
- required: true,
- url: true
- }
- },
- messages: {
- name:{
- required: $.i18n.prop("nfv-vnfm-iui-validate-name")
- },
- type:{
- required: $.i18n.prop("nfv-vnfm-iui-validate-type")
- },
- version:{
- required: $.i18n.prop("nfv-vnfm-iui-validate-version")
- },
- vendor:{
- required: $.i18n.prop("nfv-vnfm-iui-validate-vendor")
- },
- url:{
- required: $.i18n.prop("nfv-vnfm-iui-validate-url-required"),
- url: $.i18n.prop("nfv-vnfm-iui-validate-url")
- }
- },
- errorPlacement: function (error, element) { // render error placement for each input type
- error.insertAfter(element); // for other inputs, just perform default behavior
- },
- invalidHandler: function (event, validator) { //display error alert on form submit
- success.hide();
- error.show();
- },
- highlight: function (element) { // hightlight error inputs
- $(element).closest('.form-group').removeClass('has-success').addClass('has-error'); // set error class to the control group
- },
- unhighlight: function (element) { // revert the change done by hightlight
- $(element).closest('.form-group').removeClass('has-error'); // set error class to the control group
- },
- success: function (label) {
- label.addClass('valid') // mark the current input as valid and display OK icon
- .closest('.form-group').removeClass('has-error'); // set success class to the control group
- },
- submitHandler: function (form) {
- success.show();
- error.hide();
- //add here some ajax code to submit your form or just call form.submit() if you want to submit the form without ajax
- }
- });
+ form.validate({
+ doNotHideMessage: true, //this option enables to show the error/success messages on tab switch.
+ errorElement: 'span', //default input error message container
+ errorClass: 'help-block', // default input error message class
+ focusInvalid: false, // do not focus the last invalid input
+ rules: {
+ name: {
+ required: true,
+ maxlength: 20
+ },
+ type: {
+ required: true,
+ maxlength: 20
+ },
+ version: {
+ required: true,
+ maxlength: 20
+ },
+ vendor: {
+ required: true,
+ maxlength: 20
+ },
+ url: {
+ required: true,
+ url: true
+ }
+ },
+ messages: {
+ name: {
+ required: $.i18n.prop("nfv-vnfm-iui-validate-name")
+ },
+ type: {
+ required: $.i18n.prop("nfv-vnfm-iui-validate-type")
+ },
+ version: {
+ required: $.i18n.prop("nfv-vnfm-iui-validate-version")
+ },
+ vendor: {
+ required: $.i18n.prop("nfv-vnfm-iui-validate-vendor")
+ },
+ url: {
+ required: $.i18n.prop("nfv-vnfm-iui-validate-url-required"),
+ url: $.i18n.prop("nfv-vnfm-iui-validate-url")
+ }
+ },
+ errorPlacement: function (error, element) { // render error placement for each input type
+ error.insertAfter(element); // for other inputs, just perform default behavior
+ },
+ invalidHandler: function (event, validator) { //display error alert on form submit
+ success.hide();
+ error.show();
+ },
+ highlight: function (element) { // hightlight error inputs
+ $(element).closest('.form-group').removeClass('has-success').addClass('has-error'); // set error class to the control group
+ },
+ unhighlight: function (element) { // revert the change done by hightlight
+ $(element).closest('.form-group').removeClass('has-error'); // set error class to the control group
+ },
+ success: function (label) {
+ label.addClass('valid') // mark the current input as valid and display OK icon
+ .closest('.form-group').removeClass('has-error'); // set success class to the control group
+ },
+ submitHandler: function (form) {
+ success.show();
+ error.hide();
+ //add here some ajax code to submit your form or just call form.submit() if you want to submit the form without ajax
+ }
+ });
});
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmController.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmController.js index fcc95a6e..df3166c1 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmController.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmController.js @@ -15,279 +15,279 @@ */
var vm = avalon
- .define({
- $id : "vnfmController",
- vnfmInfo : [],
- //mocSelectItems : [],
- vimSelectItems : [],
- server_rtn:{
- info_block:false,
- warning_block:false,
- rtn_info:"",
- $RTN_SUCCESS:"RTN_SUCCESS",
- $RTN_FAILED:"RTN_FAILED"
- },
- $Status :{
- success:"active",
- failed:"inactive"
- },
- $restUrl : {
- queryVnfmInfoUrl : '/openoapi/extsys/v1/vnfms',
- addVnfmInfoUrl : '/openoapi/extsys/v1/vnfms',
- updateVnfmInfoUrl : '/openoapi/extsys/v1/vnfms/',
- delVnfmInfoUrl : '/openoapi/extsys/v1/vnfms/',
- queryMocUrl : '',
- queryVimUrl : '/openoapi/extsys/v1/vims'
- },
- $htmlText:{
- saveSuccess:$.i18n.prop("nfv-vnfm-iui-message-save-success"),
- saveFail:$.i18n.prop("nfv-vnfm-iui-message-save-fail"),
- updateSuccess:$.i18n.prop("nfv-vnfm-iui-message-update-success"),
- updateFail:$.i18n.prop("nfv-vnfm-iui-message-update-fail")
- },
- $initTable : function() {
- $.ajax({
- "type": 'GET',
- "url": vm.$restUrl.queryVnfmInfoUrl,
- //"dataType": "json",
- "success": function (resp) {
- for(var i=0;i<resp.length;i++){
- resp[i].status = vm.$Status.success;
- }
- vm.vnfmInfo = resp;
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- bootbox.alert($.i18n.prop("nfv-vnfm-iui-message-query-fail") + ":"+textStatus+":"+errorThrown);
- return;
- },
- complete: function() {
- vnfmUtil.tooltipVnfmStatus();
- }
- });
- },
- // $initMoc : function() {
- // /*var url = vm.$restUrl.queryMocUrl;
- // commonUtil.get(url, null, function(resp) {
- // if (resp) {
- // vm.addVnfm.moc = resp.data;
- // }
- // });*/
- // var resp = [
- // { id : "nfv.vnfm.eco", name : "VNFM(ECO)"},
- // { id : "nfv.vnfm.tacker", name : "VNFM(Tacker)"},
- // { id : "nfv.vnfm.cmcc", name : "VNFM(CMCC)"},
- // { id : "nfv.vnfm.etsi", name : "VNFM(ETSI)"}
- // ]
- // vm.mocSelectItems = resp;
- // },
- $initVim : function() {
- $.ajax({
- type : 'get',
- url : vm.$restUrl.queryVimUrl,
- dataType : 'json',
- success : function(resp) {
- if(resp) {
- vm.vimSelectItems = resp;
- }
- vm.vimSelectItems.push({"vimId":"","name":""});
- }
- });
- },
- addVnfm : {
- title : $.i18n.prop("nfv-vnfm-iui-text-register"),
- vnfmId : "",
- name : "",
- type :"",
- //moc : "",
- //mocDisabled : false,
- vimId : "",
- //vimVisiable : false,
- vendor : "",
- version :"",
- description:"",
- certificateUrl:"",
- url : "",
- urlTip : $.i18n.prop("nfv-vnfm-iui-text-url-tip"),
- userName : "",
- password : "",
- saveType :"add",
- status: ""
- },
- $showVnfmTable : function() {
- vm.addVnfm.title = $.i18n.prop("nfv-vnfm-iui-text-register"),
- vm.addVnfm.vnfmId = "";
- vm.addVnfm.name = "";
- vm.addVnfm.type = "";
- //vm.addVnfm.moc = "";
- //vm.addVnfm.mocDisabled = false;
- vm.addVnfm.vimId = "";
- //vm.addVnfm.vimVisiable = false;
- vm.addVnfm.vendor = "";
- vm.addVnfm.version = "";
- vm.addVnfm.description = "";
- vm.addVnfm.certificateUrl = "";
- vm.addVnfm.url = "";
- vm.addVnfm.userName = "";
- vm.addVnfm.password = "";
- vm.addVnfm.saveType = "add";
- vm.server_rtn.warning_block=false;
- vm.server_rtn.info_block=false;
- //vm.$initMoc();
- vm.$initVim();
- //vm.$mocChange();
-
- $(".form-group").each(function () {
- $(this).removeClass('has-success');
- $(this).removeClass('has-error');
- $(this).find(".help-block[id]").remove();
- });
- $("#addVnfmDlg").modal("show");
- },
- // $getMocName : function(mocId) {
- // var items = vm.mocSelectItems;
- // for(var i=0;i<items.length;i++) {
- // if(items[i].id == mocId) {
- // return items[i].name;
- // }
- // }
- // return "";
- // },
- $saveVnfm : function() {
- var form = $('#vnfm_form');
- if (form.valid() == false) {
- return false;
- }
- vm.server_rtn.info_block=true;
- vm.server_rtn.warning_block=false;
- vm.addVnfm.status=vm.$Status.success;
+ .define({
+ $id: "vnfmController",
+ vnfmInfo: [],
+ //mocSelectItems : [],
+ vimSelectItems: [],
+ server_rtn: {
+ info_block: false,
+ warning_block: false,
+ rtn_info: "",
+ $RTN_SUCCESS: "RTN_SUCCESS",
+ $RTN_FAILED: "RTN_FAILED"
+ },
+ $Status: {
+ success: "active",
+ failed: "inactive"
+ },
+ $restUrl: {
+ queryVnfmInfoUrl: '/openoapi/extsys/v1/vnfms',
+ addVnfmInfoUrl: '/openoapi/extsys/v1/vnfms',
+ updateVnfmInfoUrl: '/openoapi/extsys/v1/vnfms/',
+ delVnfmInfoUrl: '/openoapi/extsys/v1/vnfms/',
+ queryMocUrl: '',
+ queryVimUrl: '/openoapi/extsys/v1/vims'
+ },
+ $htmlText: {
+ saveSuccess: $.i18n.prop("nfv-vnfm-iui-message-save-success"),
+ saveFail: $.i18n.prop("nfv-vnfm-iui-message-save-fail"),
+ updateSuccess: $.i18n.prop("nfv-vnfm-iui-message-update-success"),
+ updateFail: $.i18n.prop("nfv-vnfm-iui-message-update-fail")
+ },
+ $initTable: function () {
+ $.ajax({
+ "type": 'GET',
+ "url": vm.$restUrl.queryVnfmInfoUrl,
+ //"dataType": "json",
+ "success": function (resp) {
+ for (var i = 0; i < resp.length; i++) {
+ resp[i].status = vm.$Status.success;
+ }
+ vm.vnfmInfo = resp;
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ bootbox.alert($.i18n.prop("nfv-vnfm-iui-message-query-fail") + ":" + textStatus + ":" + errorThrown);
+ return;
+ },
+ complete: function () {
+ vnfmUtil.tooltipVnfmStatus();
+ }
+ });
+ },
+ // $initMoc : function() {
+ // /*var url = vm.$restUrl.queryMocUrl;
+ // commonUtil.get(url, null, function(resp) {
+ // if (resp) {
+ // vm.addVnfm.moc = resp.data;
+ // }
+ // });*/
+ // var resp = [
+ // { id : "nfv.vnfm.eco", name : "VNFM(ECO)"},
+ // { id : "nfv.vnfm.tacker", name : "VNFM(Tacker)"},
+ // { id : "nfv.vnfm.cmcc", name : "VNFM(CMCC)"},
+ // { id : "nfv.vnfm.etsi", name : "VNFM(ETSI)"}
+ // ]
+ // vm.mocSelectItems = resp;
+ // },
+ $initVim: function () {
+ $.ajax({
+ type: 'get',
+ url: vm.$restUrl.queryVimUrl,
+ dataType: 'json',
+ success: function (resp) {
+ if (resp) {
+ vm.vimSelectItems = resp;
+ }
+ vm.vimSelectItems.push({"vimId": "", "name": ""});
+ }
+ });
+ },
+ addVnfm: {
+ title: $.i18n.prop("nfv-vnfm-iui-text-register"),
+ vnfmId: "",
+ name: "",
+ type: "",
+ //moc : "",
+ //mocDisabled : false,
+ vimId: "",
+ //vimVisiable : false,
+ vendor: "",
+ version: "",
+ description: "",
+ certificateUrl: "",
+ url: "",
+ urlTip: $.i18n.prop("nfv-vnfm-iui-text-url-tip"),
+ userName: "",
+ password: "",
+ saveType: "add",
+ status: ""
+ },
+ $showVnfmTable: function () {
+ vm.addVnfm.title = $.i18n.prop("nfv-vnfm-iui-text-register"),
+ vm.addVnfm.vnfmId = "";
+ vm.addVnfm.name = "";
+ vm.addVnfm.type = "";
+ //vm.addVnfm.moc = "";
+ //vm.addVnfm.mocDisabled = false;
+ vm.addVnfm.vimId = "";
+ //vm.addVnfm.vimVisiable = false;
+ vm.addVnfm.vendor = "";
+ vm.addVnfm.version = "";
+ vm.addVnfm.description = "";
+ vm.addVnfm.certificateUrl = "";
+ vm.addVnfm.url = "";
+ vm.addVnfm.userName = "";
+ vm.addVnfm.password = "";
+ vm.addVnfm.saveType = "add";
+ vm.server_rtn.warning_block = false;
+ vm.server_rtn.info_block = false;
+ //vm.$initMoc();
+ vm.$initVim();
+ //vm.$mocChange();
- var param = {
- name : vm.addVnfm.name,
- //status : vm.addVnfm.status,
- //moc : $("#moc").val(),
- //vimId : vm.$getVimId($("#moc").val()),
- vimId : $("#vimId").val(),
- vendor : vm.addVnfm.vendor,
- version : vm.addVnfm.version,
- type : vm.addVnfm.type,
- description : vm.addVnfm.description,
- certificateUrl : vm.addVnfm.certificateUrl,
- url : vm.addVnfm.url,
- userName : vm.addVnfm.userName,
- password : vm.addVnfm.password
- }
- //save VIM info
- if(vm.addVnfm.saveType == "add") {
- $.ajax({
- type : "POST",
- url : vm.$restUrl.addVnfmInfoUrl,
- data : JSON.stringify(param),
- dataType : "json",
- contentType : "application/json",
- success : function(data) {
- vm.server_rtn.info_block=false;
- vm.server_rtn.warning_block=false;
- if (data) {
- vm.vnfmInfo = [];
- vm.$initTable();
+ $(".form-group").each(function () {
+ $(this).removeClass('has-success');
+ $(this).removeClass('has-error');
+ $(this).find(".help-block[id]").remove();
+ });
+ $("#addVnfmDlg").modal("show");
+ },
+ // $getMocName : function(mocId) {
+ // var items = vm.mocSelectItems;
+ // for(var i=0;i<items.length;i++) {
+ // if(items[i].id == mocId) {
+ // return items[i].name;
+ // }
+ // }
+ // return "";
+ // },
+ $saveVnfm: function () {
+ var form = $('#vnfm_form');
+ if (form.valid() == false) {
+ return false;
+ }
+ vm.server_rtn.info_block = true;
+ vm.server_rtn.warning_block = false;
+ vm.addVnfm.status = vm.$Status.success;
- $('#addVnfmDlg').modal('hide');
- commonUtil.showMessage(vm.$htmlText.saveSuccess, "success");
- } else {
- vm.server_rtn.warning_block=true;
- vm.server_rtn.rtn_info=vm.$htmlText.saveFail;
- commonUtil.showMessage(vm.$htmlText.saveFail, "failed");
- }
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vm.server_rtn.warning_block=true;
- vm.server_rtn.rtn_info=textStatus+":"+errorThrown;
- vm.server_rtn.info_block=false;
+ var param = {
+ name: vm.addVnfm.name,
+ //status : vm.addVnfm.status,
+ //moc : $("#moc").val(),
+ //vimId : vm.$getVimId($("#moc").val()),
+ vimId: $("#vimId").val(),
+ vendor: vm.addVnfm.vendor,
+ version: vm.addVnfm.version,
+ type: vm.addVnfm.type,
+ description: vm.addVnfm.description,
+ certificateUrl: vm.addVnfm.certificateUrl,
+ url: vm.addVnfm.url,
+ userName: vm.addVnfm.userName,
+ password: vm.addVnfm.password
+ }
+ //save VIM info
+ if (vm.addVnfm.saveType == "add") {
+ $.ajax({
+ type: "POST",
+ url: vm.$restUrl.addVnfmInfoUrl,
+ data: JSON.stringify(param),
+ dataType: "json",
+ contentType: "application/json",
+ success: function (data) {
+ vm.server_rtn.info_block = false;
+ vm.server_rtn.warning_block = false;
+ if (data) {
+ vm.vnfmInfo = [];
+ vm.$initTable();
+
+ $('#addVnfmDlg').modal('hide');
+ commonUtil.showMessage(vm.$htmlText.saveSuccess, "success");
+ } else {
+ vm.server_rtn.warning_block = true;
+ vm.server_rtn.rtn_info = vm.$htmlText.saveFail;
+ commonUtil.showMessage(vm.$htmlText.saveFail, "failed");
+ }
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vm.server_rtn.warning_block = true;
+ vm.server_rtn.rtn_info = textStatus + ":" + errorThrown;
+ vm.server_rtn.info_block = false;
+ }
+ });
+ } else {
+ $.ajax({
+ type: "PUT",
+ url: vm.$restUrl.updateVnfmInfoUrl + vm.addVnfm.vnfmId,
+ data: JSON.stringify(param),
+ dataType: "json",
+ contentType: "application/json",
+ success: function (data) {
+ vm.server_rtn.info_block = false;
+ vm.server_rtn.warning_block = false;
+ if (data) {
+ for (var i = 0; i < vm.vnfmInfo.length; i++) {
+ if (vm.vnfmInfo[i].vnfmId == vm.addVnfm.vnfmId) {
+ vm.vnfmInfo[i].name = vm.addVnfm.name;
+ vm.vnfmInfo[i].vimId = $("#vimId").val();
+ vm.vnfmInfo[i].vendor = vm.addVnfm.vendor;
+ vm.vnfmInfo[i].version = vm.addVnfm.version;
+ vm.vnfmInfo[i].certificateUrl = vm.addVnfm.certificateUrl;
+ vm.vnfmInfo[i].description = vm.addVnfm.description;
+ vm.vnfmInfo[i].url = vm.addVnfm.url;
+ vm.vnfmInfo[i].userName = vm.addVnfm.userName;
+ vm.vnfmInfo[i].password = vm.addVnfm.password;
+ }
+ }
+ $('#addVnfmDlg').modal('hide');
+ commonUtil.showMessage(vm.$htmlText.updateSuccess, "success");
+ } else {
+ vm.server_rtn.warning_block = true;
+ vm.server_rtn.rtn_info = vm.$htmlText.updateFail;
+ commonUtil.showMessage(vm.$htmlText.updateFail, "failed");
}
- });
- } else {
- $.ajax({
- type : "PUT",
- url : vm.$restUrl.updateVnfmInfoUrl+vm.addVnfm.vnfmId,
- data : JSON.stringify(param),
- dataType : "json",
- contentType : "application/json",
- success : function(data) {
- vm.server_rtn.info_block=false;
- vm.server_rtn.warning_block=false;
- if (data) {
- for(var i=0;i<vm.vnfmInfo.length;i++){
- if(vm.vnfmInfo[i].vnfmId == vm.addVnfm.vnfmId) {
- vm.vnfmInfo[i].name = vm.addVnfm.name;
- vm.vnfmInfo[i].vimId = $("#vimId").val();
- vm.vnfmInfo[i].vendor = vm.addVnfm.vendor;
- vm.vnfmInfo[i].version = vm.addVnfm.version;
- vm.vnfmInfo[i].certificateUrl = vm.addVnfm.certificateUrl;
- vm.vnfmInfo[i].description = vm.addVnfm.description;
- vm.vnfmInfo[i].url = vm.addVnfm.url;
- vm.vnfmInfo[i].userName = vm.addVnfm.userName;
- vm.vnfmInfo[i].password = vm.addVnfm.password;
- }
- }
- $('#addVnfmDlg').modal('hide');
- commonUtil.showMessage(vm.$htmlText.updateSuccess,"success");
- } else {
- vm.server_rtn.warning_block=true;
- vm.server_rtn.rtn_info=vm.$htmlText.updateFail;
- commonUtil.showMessage(vm.$htmlText.updateFail, "failed");
- }
- },
- error: function(XMLHttpRequest, textStatus, errorThrown) {
- vm.server_rtn.warning_block=true;
- vm.server_rtn.rtn_info=textStatus+":"+errorThrown;
- vm.server_rtn.info_block=false;
- }
- });
- }
- },
- // mocRendered : function(action) {
- // if(vm.addVnfm.saveType === "update" && vm.addVnfm.moc) {
- // var items = vm.mocSelectItems;
- // for(var i=0;i<items.length;i++) {
- // if(items[i].id == vm.addVnfm.moc) {
- // $("#moc")[0].selectedIndex = i;
- // vm.$mocChange();
- // break;
- // }
- // }
- // } else {
- // $("#moc")[0].selectedIndex = 0;
- // }
- // },
- vimRendered : function(action) {
- var items = vm.vimSelectItems;
- if(vm.addVnfm.saveType === "update") {
- for(var i=0;i<items.length;i++) {
- if(items[i].vimId == vm.addVnfm.vimId) {
- $("#vimId")[0].selectedIndex = i;
- break;
- }
- }
- } else {
- $("#vimId")[0].selectedIndex = items.length-1;
- }
- },
- // $mocChange : function() {
- // var mocId = $('#moc').val();
- // if(mocId == "nfv.vnfm.tacker") {
- // vm.addVnfm.vimVisiable = true;
- // } else {
- // vm.addVnfm.vimVisiable = false;
- // }
- // },
- // $getVimId : function(mocId) {
- // if(vm.addVnfm.vimVisiable) {
- // return $("#vimId").val();
- // } else {
- // return "";
- // }
- // }
- });
+ },
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
+ vm.server_rtn.warning_block = true;
+ vm.server_rtn.rtn_info = textStatus + ":" + errorThrown;
+ vm.server_rtn.info_block = false;
+ }
+ });
+ }
+ },
+ // mocRendered : function(action) {
+ // if(vm.addVnfm.saveType === "update" && vm.addVnfm.moc) {
+ // var items = vm.mocSelectItems;
+ // for(var i=0;i<items.length;i++) {
+ // if(items[i].id == vm.addVnfm.moc) {
+ // $("#moc")[0].selectedIndex = i;
+ // vm.$mocChange();
+ // break;
+ // }
+ // }
+ // } else {
+ // $("#moc")[0].selectedIndex = 0;
+ // }
+ // },
+ vimRendered: function (action) {
+ var items = vm.vimSelectItems;
+ if (vm.addVnfm.saveType === "update") {
+ for (var i = 0; i < items.length; i++) {
+ if (items[i].vimId == vm.addVnfm.vimId) {
+ $("#vimId")[0].selectedIndex = i;
+ break;
+ }
+ }
+ } else {
+ $("#vimId")[0].selectedIndex = items.length - 1;
+ }
+ },
+ // $mocChange : function() {
+ // var mocId = $('#moc').val();
+ // if(mocId == "nfv.vnfm.tacker") {
+ // vm.addVnfm.vimVisiable = true;
+ // } else {
+ // vm.addVnfm.vimVisiable = false;
+ // }
+ // },
+ // $getVimId : function(mocId) {
+ // if(vm.addVnfm.vimVisiable) {
+ // return $("#vimId").val();
+ // } else {
+ // return "";
+ // }
+ // }
+ });
avalon.scan();
vm.$initTable();
//vm.$initMoc();
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmUtil.js b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmUtil.js index 7438cf13..d4420b30 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmUtil.js +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/js/vnfmUtil.js @@ -15,63 +15,63 @@ */
var vnfmUtil = {};
-vnfmUtil.delVnfm = function(vnfmId) {
- bootbox.confirm($.i18n.prop("nfv-vnfm-iui-message-delete-confirm"), function(result){
- if(result){
- $.ajax({
- type : "DELETE",
- url : vm.$restUrl.delVnfmInfoUrl + vnfmId,
- dataType : "json",
- success : function(data,statusText,jqXHR) {
- if(jqXHR.status=="204") {
- for(var i=0;i<vm.vnfmInfo.length;i++){
- if(vnfmId == vm.vnfmInfo[i].vnfmId){
- //delete the vnfm object from vnfm array
- vm.vnfmInfo.splice(i, 1);
- break;
- }
- }
- commonUtil.showMessage($.i18n.prop("nfv-vnfm-iui-message-delete-success"), "success");
- } else {
- commonUtil.showMessage($.i18n.prop("nfv-vnfm-iui-message-delete-fail"), "warning");
- }
- },
- error : function() {
- commonUtil.showMessage($.i18n.prop("nfv-vnfm-iui-message-delete-fail"), "warning");
- }
- });
- }
- });
+vnfmUtil.delVnfm = function (vnfmId) {
+ bootbox.confirm($.i18n.prop("nfv-vnfm-iui-message-delete-confirm"), function (result) {
+ if (result) {
+ $.ajax({
+ type: "DELETE",
+ url: vm.$restUrl.delVnfmInfoUrl + vnfmId,
+ dataType: "json",
+ success: function (data, statusText, jqXHR) {
+ if (jqXHR.status == "204") {
+ for (var i = 0; i < vm.vnfmInfo.length; i++) {
+ if (vnfmId == vm.vnfmInfo[i].vnfmId) {
+ //delete the vnfm object from vnfm array
+ vm.vnfmInfo.splice(i, 1);
+ break;
+ }
+ }
+ commonUtil.showMessage($.i18n.prop("nfv-vnfm-iui-message-delete-success"), "success");
+ } else {
+ commonUtil.showMessage($.i18n.prop("nfv-vnfm-iui-message-delete-fail"), "warning");
+ }
+ },
+ error: function () {
+ commonUtil.showMessage($.i18n.prop("nfv-vnfm-iui-message-delete-fail"), "warning");
+ }
+ });
+ }
+ });
}
-vnfmUtil.updateVnfm = function(data) {
- vm.addVnfm.vnfmId = data.vnfmId;
- vm.addVnfm.name = data.name;
- //vm.addVnfm.moc = data.moc;
- //vm.addVnfm.mocDisabled = true;
- vm.addVnfm.vendor = data.vendor;
- vm.addVnfm.version = data.version;
- vm.addVnfm.description = data.description;
- vm.addVnfm.type = data.type;
- vm.addVnfm.vimId = data.vimId;
- vm.addVnfm.url = data.url;
- vm.addVnfm.userName = data.userName;
- vm.addVnfm.password = data.password;
- vm.addVnfm.saveType = "update";
- vm.addVnfm.title = $.i18n.prop("nfv-vnfm-iui-test-update");
- vm.server_rtn.info_block=false;
- vm.server_rtn.warning_block=false;
- //vm.$initMoc();
- vm.$initVim();
+vnfmUtil.updateVnfm = function (data) {
+ vm.addVnfm.vnfmId = data.vnfmId;
+ vm.addVnfm.name = data.name;
+ //vm.addVnfm.moc = data.moc;
+ //vm.addVnfm.mocDisabled = true;
+ vm.addVnfm.vendor = data.vendor;
+ vm.addVnfm.version = data.version;
+ vm.addVnfm.description = data.description;
+ vm.addVnfm.type = data.type;
+ vm.addVnfm.vimId = data.vimId;
+ vm.addVnfm.url = data.url;
+ vm.addVnfm.userName = data.userName;
+ vm.addVnfm.password = data.password;
+ vm.addVnfm.saveType = "update";
+ vm.addVnfm.title = $.i18n.prop("nfv-vnfm-iui-test-update");
+ vm.server_rtn.info_block = false;
+ vm.server_rtn.warning_block = false;
+ //vm.$initMoc();
+ vm.$initVim();
- $(".form-group").each(function () {
- $(this).removeClass('has-success');
- $(this).removeClass('has-error');
- $(this).find(".help-block[id]").remove();
- });
- $("#addVnfmDlg").modal("show");
+ $(".form-group").each(function () {
+ $(this).removeClass('has-success');
+ $(this).removeClass('has-error');
+ $(this).find(".help-block[id]").remove();
+ });
+ $("#addVnfmDlg").modal("show");
}
-vnfmUtil.tooltipVnfmStatus = function() {
- $("[data-toggle='tooltip']").tooltip();
+vnfmUtil.tooltipVnfmStatus = function () {
+ $("[data-toggle='tooltip']").tooltip();
}
\ No newline at end of file diff --git a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/vnfmView.html b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/vnfmView.html index 6256a8d1..1a8053e0 100644 --- a/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/vnfmView.html +++ b/openo-portal/portal-extsys/src/main/webapp/extsys/vnfm/vnfmView.html @@ -18,205 +18,224 @@ <!DOCTYPE html>
<html>
<head lang="en">
-<meta charset="UTF-8">
-<title></title>
-<link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
-<link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
-<link href="../../common/thirdparty/uniform/css/uniform.default.min.css" rel="stylesheet" />
-<link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet"/>
-<link href="../../common/css/ngict-component.css" rel="stylesheet"/>
-<link href="css/animate.min.css" rel="stylesheet"/>
-<link href="css/vnfm.css" rel="stylesheet" />
-<style>
-.ms-controller {
- visibility: hidden
-}
-</style>
+ <meta charset="UTF-8">
+ <title></title>
+ <link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
+ <link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
+ <link href="../../common/thirdparty/uniform/css/uniform.default.min.css" rel="stylesheet"/>
+ <link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet"/>
+ <link href="../../common/css/ngict-component.css" rel="stylesheet"/>
+ <link href="css/animate.min.css" rel="stylesheet"/>
+ <link href="css/vnfm.css" rel="stylesheet"/>
+ <style>
+ .ms-controller {
+ visibility: hidden
+ }
+ </style>
</head>
<body>
- <div ms-controller="vnfmController" class="container-fluid ms-controller">
- <div id="addVnfmDlg" class="modal fade" tabindex="-1" role="dialog"
- aria-labelledby="myModalLabel" aria-hidden="true" >
- <div class="modal-dialog">
- <div class="modal-content Changepasswd">
- <div class="content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal"
- aria-hidden="true">×</button>
- <h4 id="myModalLabel">{{addVnfm.title}}</h4>
- </div>
- <div class="modal-body">
- <form class="form-horizontal" id="vnfm_form" role="form">
- <input type="hidden" ms-duplex="addVnfm.vnfmId" name="vnfmId" class="form-control" />
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-name" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.name" name="name" class="form-control"/>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-type" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.type" name="type" class="form-control"/>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-vendor" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.vendor" name="vendor" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-version" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.version" name="version" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span>URL</span>
- <span class="required" aria-required="true">*</span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.url" name="url" class="form-control"
- ms-attr-placeholder="addVnfm.urlTip"/>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group" >
- <label class="col-sm-3 control-label">VIM
- <span></span>
- </label>
- <div class="col-sm-7">
- <select class="form-control" id="vimId" name="vimId">
- <option ms-repeat-vim="vimSelectItems" ms-attr-value="vim.vimId" data-repeat-rendered="vimRendered">{{vim.name}}</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-certificateUrl" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.certificateUrl" name="certificateUrl" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-userName" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- </label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="addVnfm.userName" name="userName" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text-password" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- </label>
- <div class="col-sm-7">
- <input type="password" ms-duplex="addVnfm.password" name="password" class="form-control" />
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-3">
- <span id="nfv-vnfm-iui-text_description" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- <span class="" aria-required="" style="visibility: hidden;">*</span>
- </label>
- <div class="col-sm-7">
- <textarea class="form-control" rows="3" ms-duplex="addVnfm.description" name="description"></textarea>
- <span class="help-block"></span>
- </div>
- </div>
- </form>
+<div ms-controller="vnfmController" class="container-fluid ms-controller">
+ <div id="addVnfmDlg" class="modal fade" tabindex="-1" role="dialog"
+ aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content Changepasswd">
+ <div class="content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal"
+ aria-hidden="true">×
+ </button>
+ <h4 id="myModalLabel">{{addVnfm.title}}</h4>
+ </div>
+ <div class="modal-body">
+ <form class="form-horizontal" id="vnfm_form" role="form">
+ <input type="hidden" ms-duplex="addVnfm.vnfmId" name="vnfmId" class="form-control"/>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-name" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.name" name="name" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-type" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.type" name="type" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-vendor" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.vendor" name="vendor" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-version" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.version" name="version" class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span>URL</span>
+ <span class="required" aria-required="true">*</span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.url" name="url" class="form-control"
+ ms-attr-placeholder="addVnfm.urlTip"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label">VIM
+ <span></span>
+ </label>
+ <div class="col-sm-7">
+ <select class="form-control" id="vimId" name="vimId">
+ <option ms-repeat-vim="vimSelectItems" ms-attr-value="vim.vimId"
+ data-repeat-rendered="vimRendered">{{vim.name}}
+ </option>
+ </select>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-certificateUrl"
+ name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.certificateUrl" name="certificateUrl"
+ class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-userName" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ </label>
+ <div class="col-sm-7">
+ <input type="text" ms-duplex="addVnfm.userName" name="userName"
+ class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text-password" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ </label>
+ <div class="col-sm-7">
+ <input type="password" ms-duplex="addVnfm.password" name="password"
+ class="form-control"/>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="control-label col-sm-3">
+ <span id="nfv-vnfm-iui-text_description" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="" aria-required="" style="visibility: hidden;">*</span>
+ </label>
+ <div class="col-sm-7">
+ <textarea class="form-control" rows="3" ms-duplex="addVnfm.description"
+ name="description"></textarea>
+ <span class="help-block"></span>
+ </div>
+ </div>
+ </form>
- </div>
- <div class="modal-footer">
- <button class="btn" data-dismiss="modal" aria-hidden="true" id="nfv-vnfm-iui-text-cancelBtn" name_i18n="com_zte_nfv_nsoc_i18n"></button>
- <button class="btn btn-primary" type="submit" ms-click="$saveVnfm" id="nfv-vnfm-iui-text-saveBtn" name_i18n="com_zte_nfv_nsoc_i18n"></button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="row-fluid" data-name="cond_zone">
- <div class="col-md-12">
- <button class="btn white radius_l" id="app-new-btn" ms-click="$showVnfmTable" >
- <i class="ict-new"></i> <span id="nfv-vnfm-iui-text-registerBtn" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- </button>
- </div>
- </div>
+ </div>
+ <div class="modal-footer">
+ <button class="btn" data-dismiss="modal" aria-hidden="true" id="nfv-vnfm-iui-text-cancelBtn"
+ name_i18n="com_zte_nfv_nsoc_i18n"></button>
+ <button class="btn btn-primary" type="submit" ms-click="$saveVnfm"
+ id="nfv-vnfm-iui-text-saveBtn" name_i18n="com_zte_nfv_nsoc_i18n"></button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="row-fluid" data-name="cond_zone">
+ <div class="col-md-12">
+ <button class="btn white radius_l" id="app-new-btn" ms-click="$showVnfmTable">
+ <i class="ict-new"></i> <span id="nfv-vnfm-iui-text-registerBtn"
+ name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ </button>
+ </div>
+ </div>
- <div class="col-sm-12 vnfm-padding" ms-each-el="vnfmInfo">
- <div class="col-sm-4 animated-panel zoomIn" style="-webkit-animation-delay: 0.1s;">
- <div class="hpanel stats" >
- <div class="panel-body h-200" ms-hover="hpanel_show" >
+ <div class="col-sm-12 vnfm-padding" ms-each-el="vnfmInfo">
+ <div class="col-sm-4 animated-panel zoomIn" style="-webkit-animation-delay: 0.1s;">
+ <div class="hpanel stats">
+ <div class="panel-body h-200" ms-hover="hpanel_show">
<div class="pull-left">
- <span class="label label-success" ms-if="el.status === $Status.success" id="nfv-vnfm-iui-text-status-normal" name_i18n="com_zte_nfv_nsoc_i18n"></span>
- <span class="label label-danger" ms-attr-title="el.errorInfo" data-toggle="tooltip" ms-if="el.status === $Status.failed" id="nfv-vnfm-iui-text-status-fail" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="label label-success" ms-if="el.status === $Status.success"
+ id="nfv-vnfm-iui-text-status-normal" name_i18n="com_zte_nfv_nsoc_i18n"></span>
+ <span class="label label-danger" ms-attr-title="el.errorInfo" data-toggle="tooltip"
+ ms-if="el.status === $Status.failed" id="nfv-vnfm-iui-text-status-fail"
+ name_i18n="com_zte_nfv_nsoc_i18n"></span>
</div>
<div class="stats-icon pull-right">
<i class="fa fa-server fa-5x color_cloud"></i>
</div>
<div class="m-t-xl">
- <h3 ms-text="el.name"></h3>
- <div><span id="nfv-vnfm-iui-text-type" name_i18n="com_zte_nfv_nsoc_i18n"></span>:<span ms-text="el.type"></span></div>
+ <h3 ms-text="el.name"></h3>
+ <div><span id="nfv-vnfm-iui-text-type" name_i18n="com_zte_nfv_nsoc_i18n"></span>:<span
+ ms-text="el.type"></span></div>
<div>URL:<span ms-text="el.url"></span></div>
</div>
</div>
<div class="panel-footer">
- <div class="pull-right">
- <a class="btn btn-default btn-sm" ms-click="vnfmUtil.updateVnfm(el.$model)"><i class="fa fa-pencil-square-o fa-lg"></i></a>
- <a class="btn btn-default btn-sm" ms-click="vnfmUtil.delVnfm(el.vnfmId)"><i class="fa fa-trash-o fa-lg"> </i></a>
+ <div class="pull-right">
+ <a class="btn btn-default btn-sm" ms-click="vnfmUtil.updateVnfm(el.$model)"><i
+ class="fa fa-pencil-square-o fa-lg"></i></a>
+ <a class="btn btn-default btn-sm" ms-click="vnfmUtil.delVnfm(el.vnfmId)"><i
+ class="fa fa-trash-o fa-lg"> </i></a>
</div>
</div>
</div>
- </div>
+ </div>
</div>
<div class="col-sm-12">
<div class="pull-left text-muted">
- <small><span id="nfv-vnfm-iui-text-total" name_i18n="com_zte_nfv_nsoc_i18n"></span> <span class="blue-font" ms-text="vnfmInfo.size()"></span> <span id="nfv-vnfm-iui-text-total-vnfm" name_i18n="com_zte_nfv_nsoc_i18n"></span></small>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="../../common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/bootstrap/js/bootstrap.min.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/bootbox/bootbox.min.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/jquery-validation/js/jquery.validate.min.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/jquery-validation/js/additional-methods.min.js"></script>
-
- <script type="text/javascript" src="../../common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/cometd/cometd.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/cometd/jquery.cometd.js"></script>
- <script type="text/javascript" src="../../common/thirdparty/avalon/avalon.js"></script>
+ <small><span id="nfv-vnfm-iui-text-total" name_i18n="com_zte_nfv_nsoc_i18n"></span> <span class="blue-font"
+ ms-text="vnfmInfo.size()"></span>
+ <span id="nfv-vnfm-iui-text-total-vnfm" name_i18n="com_zte_nfv_nsoc_i18n"></span></small>
+ </div>
+ </div>
+</div>
+<script type="text/javascript" src="../../common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/bootstrap/js/bootstrap.min.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/bootbox/bootbox.min.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/jquery-validation/js/jquery.validate.min.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/jquery-validation/js/additional-methods.min.js"></script>
+
+<script type="text/javascript" src="../../common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/cometd/cometd.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/cometd/jquery.cometd.js"></script>
+<script type="text/javascript" src="../../common/thirdparty/avalon/avalon.js"></script>
+
+<script type="text/javascript" src="../../common/js/tools.js"></script>
+
+<script type="text/javascript" src="js/commonUtil.js"></script>
+<script type="text/javascript" src="js/loadi18n_nsoc.js"></script>
- <script type="text/javascript" src="../../common/js/tools.js"></script>
-
- <script type="text/javascript" src="js/commonUtil.js"></script>
- <script type="text/javascript" src="js/loadi18n_nsoc.js"></script>
-
- <script type="text/javascript" src="js/vnfm-validate.js"></script>
- <script type="text/javascript" src="js/vnfmUtil.js"></script>
- <script type="text/javascript" src="js/vnfmController.js"></script>
+<script type="text/javascript" src="js/vnfm-validate.js"></script>
+<script type="text/javascript" src="js/vnfmUtil.js"></script>
+<script type="text/javascript" src="js/vnfmController.js"></script>
</body>
</html>
\ No newline at end of file |