|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="wrapper wrapper-content animated fadeInRight">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<div class="ibox float-e-margins" id="all">
|
|
|
|
|
<div class="ibox-title">
|
|
|
|
|
<h5> 主机详细信息列表</h5>
|
|
|
|
@ -24,7 +24,11 @@
|
|
|
|
|
|
|
|
|
|
<div class="ibox-content">
|
|
|
|
|
<form id="asset_form">
|
|
|
|
|
<div class="col-sm-2" style="padding-left: 0px">
|
|
|
|
|
{# <div class="col-sm-1">#}
|
|
|
|
|
{# <a target="_blank" href="/jasset/group_add/" class="btn btn-sm btn-primary "> 添加资产 </a>#}
|
|
|
|
|
{# </div>#}
|
|
|
|
|
<div class="col-sm-8" style="padding-left: 0px">
|
|
|
|
|
<a target="_blank" href="/jasset/group_add/" class="btn btn-sm btn-primary" > 添加资产 </a>
|
|
|
|
|
<label>
|
|
|
|
|
<select name="idc" class="form-control m-b" onchange="change_info()">
|
|
|
|
|
<option value="">IDC机房</option>
|
|
|
|
@ -37,8 +41,20 @@
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-2">
|
|
|
|
|
|
|
|
|
|
<label>
|
|
|
|
|
<select name="group" class="form-control m-b" onchange="change_info()">
|
|
|
|
|
<option value="">主机组</option>
|
|
|
|
|
{% for asset_group in asset_group_all %}
|
|
|
|
|
{% ifequal asset_group.name group_name %}
|
|
|
|
|
<option value="{{ asset_group.name }}" selected> {{ asset_group.name }} </option>
|
|
|
|
|
{% else %}
|
|
|
|
|
<option value="{{ asset_group.name }}"> {{ asset_group.name }} </option>
|
|
|
|
|
{% endifequal %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<label>
|
|
|
|
|
<select name="group" class="form-control m-b" onchange="change_info()">
|
|
|
|
|
<option value="">主机组</option>
|
|
|
|
@ -51,9 +67,7 @@
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-2">
|
|
|
|
|
<label>
|
|
|
|
|
<select name="asset_type" class="form-control m-b" onchange="change_info()">
|
|
|
|
|
<option value="">所有类型</option>
|
|
|
|
@ -66,8 +80,7 @@
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-2">
|
|
|
|
|
|
|
|
|
|
<label>
|
|
|
|
|
<select name="status" class="form-control m-b" onchange="change_info()">
|
|
|
|
|
<option value="">所有状态</option>
|
|
|
|
@ -81,8 +94,9 @@
|
|
|
|
|
</select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<div class="input-group inline-group">
|
|
|
|
|
<input type="text" class="form-control m-b" id="search_input" name="keyword" value="{{ keyword }}" placeholder="Search">
|
|
|
|
|
<input type="text" style="display: none">
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
@ -95,6 +109,30 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{# <div class="col-sm-2">#}
|
|
|
|
|
|
|
|
|
|
{# </div>#}
|
|
|
|
|
{##}
|
|
|
|
|
{# <div class="col-sm-2">#}
|
|
|
|
|
|
|
|
|
|
{# </div>#}
|
|
|
|
|
{# <div class="col-sm-2">#}
|
|
|
|
|
|
|
|
|
|
{# </div>#}
|
|
|
|
|
{# <div class="col-sm-4">#}
|
|
|
|
|
{# <div class="input-group">#}
|
|
|
|
|
{# <input type="text" class="form-control m-b" id="search_input" name="keyword" value="{{ keyword }}" placeholder="Search">#}
|
|
|
|
|
{# <input type="text" style="display: none">#}
|
|
|
|
|
{# <div class="input-group-btn">#}
|
|
|
|
|
{# <button id='search_btn' href="/jasset/asset_list/?search=true" type="button" class="btn btn-xm btn-primary search-btn" onclick="change_info()">#}
|
|
|
|
|
{# - 搜索 -#}
|
|
|
|
|
{# </button>#}
|
|
|
|
|
{# <button type="button" href="/jasset/asset_list/?export=true" name="export" class="btn btn-xm btn-success search-btn-excel" onclick="return false">#}
|
|
|
|
|
{# - 导出 -#}
|
|
|
|
|
{# </button>#}
|
|
|
|
|
{# </div>#}
|
|
|
|
|
{# </div>#}
|
|
|
|
|
{# </div>#}
|
|
|
|
|
|
|
|
|
|
<div id="export"></div>
|
|
|
|
|
<table class="table table-striped table-bordered table-hover " id="editable" name="editable">
|
|
|
|
|