{% extends "base.html" %} {% block page %}
机房:{{ form.select_aid (id='select_aid') }} 机柜:{{ form.rack (id='rack',style="width:158px",placeholder="必选,鼠标悬停提示")}} 资产设备:{{ form.select_device (onchange="selectdevice()")}} 操作:{{ form.select_action (onchange="selectaction()") }} {{ form.fault }}维护中
设备型号:{{ form.device_type (style="width:118px",placeholder="必选") }} 远程管理:{{ form.idrac (style="width:147px",placeholder="idrac ip 可选") }} 采购日期:{{ form.purch (style="width:120px",id="input_purch",placeholder="必选,点击选择日期") }} 过保日期:{{ form.expird (style="width:120px",id="input_expird",placeholder="必选,点击选择日期") }}
需变更服务器原有IP:{{ form.old_host (style="width:450px",placeholder="可选,服务器IP(默认ssh_port:20443)或者IP:ssh_port")}}
{{ form.text( id="text",cols = 80, rows = 10 ,style="width:auto;resize:none",placeholder="请按照以下格式分行输入: 1.服务器IP(默认ssh_port:20443)或者IP:ssh_port 2.其它设备IP 3.下架设备只需再选择机房即可") }}
{{ form.submit(class="btn btn-primary") }}
说明:批量录入只适用于服务器,请先下载模版 ,并按照模版格式填写相关服务器资产信息 (除idrac和ssh_port字段外均为必填项,ssh_port不填默认为20443),请勿变更excel列字段名称否则将导致录入失败.
{{ form.File }}{{ form.upload(class="btn btn-link") }}