Simple Linux Panel
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.
mdserver-web/plugins/postgresql/index.html

58 lines
1.8 KiB

2 years ago
<style type="text/css">
.db_list{
padding: 0px 0 10px 0;
font-size: 13px;
line-height: 35px;
height: 45px;
}
.db_list a{
margin-right: 15px;
color: #555;
font-weight: 600;
}
.db_list span:nth-child(1){
display: block;
float: left;
padding-left: 15px;
background: #ececec;
border-radius: 3px;
}
#db_tools button {
margin-right: 10px;
}
#db_tools button:last-child{
margin-right: 0;
}
</style>
3 years ago
<div class="bt-form">
<div class='plugin_version'></div>
<div class="bt-w-main">
<div class="bt-w-menu">
<p class="bgw" onclick="pluginService('postgresql', $('.plugin_version').attr('version'));">服务</p>
<p onclick="pluginInitD('postgresql', $('.plugin_version').attr('version'));">自启动</p>
3 years ago
<p onclick="pluginConfigTpl('postgresql');">配置文件</p>
<p onclick="pluginConfig('postgresql','','pg_hba_conf');">客服端认证</p>
3 years ago
<p onclick="pgPort();">端口</p>
3 years ago
<p onclick="runInfo();">当前状态</p>
3 years ago
<p onclick="pgPerfOpt();">性能优化</p>
3 years ago
<p onclick="pluginLogs('postgresql',$('.plugin_version').attr('version'),'run_log');">日志</p>
3 years ago
<p onclick="pluginLogs('postgresql',$('.plugin_version').attr('version'),'slow_log');">慢日志</p>
3 years ago
<p onclick="dbList()">管理列表</p>
3 years ago
<p onclick="masterOrSlaveConf($('.plugin_version').attr('version'))">主从配置</p>
3 years ago
</div>
<div class="bt-w-con pd15">
<div class="soft-man-con" style="height: 530px; overflow: auto;"></div>
</div>
</div>
</div>
<script type="text/javascript">
resetPluginWinWidth(800);
var loading = layer.msg("资源加载中...", { icon: 16, time: 0, shade: 0.3 });
$.getScript( "/plugins/file?name=postgresql&f=js/postgresql.js", function(){
layer.close(loading);
pluginService('postgresql',$('.plugin_version').attr('version'));
});
</script>