mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
3.4 KiB
67 lines
3.4 KiB
{% extends 'base.html' %}
|
|
{% block content %}
|
|
{% include 'nav_cat_bar.html' %}
|
|
<div class="wrapper wrapper-content animated fadeInRight">
|
|
<div class="row">
|
|
<div class="col-lg-10">
|
|
<div class="ibox float-e-margins">
|
|
<div id="ibox-content" class="ibox-title">
|
|
<h5> 填写主机基本信息 </h5>
|
|
<div class="ibox-tools">
|
|
<a class="collapse-link">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</a>
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-wrench"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#">未启用 1</a>
|
|
</li>
|
|
<li><a href="#">未启用 2</a>
|
|
</li>
|
|
</ul>
|
|
<a class="close-link">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ibox-content">
|
|
<div class="panel blank-panel">
|
|
<div class="panel-options">
|
|
<ul class="nav nav-tabs">
|
|
<li><a href="/jasset/host_add/" class="text-center"><i class="fa fa-laptop"></i> 单台添加 </a></li>
|
|
<li class="active"><a href="/jasset/host_add_multi/" class="text-center"><i class="fa fa-bar-chart-o"></i> 批量添加 </a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div id="tab-2" class="ibox float-e-margins tab-pane active">
|
|
{% if emg %}
|
|
<div class="alert alert-warning text-center">{{ emg }}</div>
|
|
{% endif %}
|
|
{% if smg %}
|
|
<div class="alert alert-success text-center">{{ smg }}</div>
|
|
{% endif %}
|
|
<h4>按照文本框内主机信息格式填写, 多台主机回车换行</h4>
|
|
<form id="assetMulti" method="post" class="form-horizontal">
|
|
<div><textarea id="j_multi" name="j_multi" type="text" placeholder="192.168.1.1 22 LDAP 北京联通 [网站,数据库] 1 网站服务器" class="form-control" style="width:700px;height:500px"></textarea></div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<div class="col-sm-4 col-sm-offset-4">
|
|
<button class="btn btn-white" type="submit"> 重置 </button>
|
|
<button class="btn btn-primary" type="submit"> 提交 </button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %} |