文件操作 - pipeline_variables.html
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/public/app/plugins/datasource/elasticsearch/partials/pipeline_variables.html
编辑文件内容
<div ng-repeat="var in variables"> <div class="gf-form offset-width-7" ng-if="$index === 0"> <label class="gf-form-label width-10">Variables</label> <input type="text" class="gf-form-input max-width-12" ng-model="var.name" placeholder="Variable name" ng-blur="onChangeInternal()" spellcheck="false" /> <metric-segment-model property="var.pipelineAgg" options="options" on-change="onChangeInternal()" custom="false" css-class="width-12" ></metric-segment-model> <label class="gf-form-label"> <a class="pointer" ng-click="remove($index)"><icon name="'minus'"></icon></a> </label> <label class="gf-form-label"> <a class="pointer" ng-click="add()"><icon name="'plus'"></icon></a> </label> </div> <div class="gf-form offset-width-17" ng-if="$index !== 0"> <input type="text" class="gf-form-input max-width-12" ng-model="var.name" placeholder="Variable name" ng-blur="onChangeInternal()" spellcheck="false" /> <metric-segment-model property="var.pipelineAgg" options="options" on-change="onChangeInternal()" custom="false" css-class="width-12" ></metric-segment-model> <label class="gf-form-label"> <a class="pointer" ng-click="remove($index)"><icon name="'minus'"></icon></a> </label> </div> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件