Sha256: 855dd913067f5632ac8bd1701b8d34845c4889a6f9078e5807b7cb867825433a
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
<section class="content-header"> <h1> 数据库连接池管理 </h1> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">数据库连接池管理</h3> </div> <!-- /.box-header --> <div class="box-body table-responsive no-padding"> <%= link_to '添加链接', new_connect_path, class: "btn" %> <table class="table table-hover"> <tr> <th>数据库链接名称</th> <th>数据库</th> <th>数据库名称</th> <th>用户名</th> <th>密码</th> <th>IP</th> <th>端口</th> <th colspan="2"></th> </tr> <% @connects.each do |connect| %> <tr> <td><%= connect.name %></td> <td><%= connect.adapter_name %></td> <td><%= connect.database %></td> <td><%= connect.username %></td> <td><%= connect.password %></td> <td><%= connect.host %></td> <td><%= connect.port %></td> <td><%= link_to '修改', edit_connect_path(connect) %></td> <td><%= link_to '删除', connect, method: :delete, data: {confirm: '你确定要删除么?'} %></td> </tr> <% end %> </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> </div> </section>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
treport-0.2.0 | app/views/connects/index.html.erb |
treport-0.1.0 | app/views/connects/index.html.erb |