Sha256: 178a78f98036d2e5d84dfd7172be6ae953aed4d2bc3510b699513e101c70d033
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
<div id="list"> <h2>アプリケーション一覧</h2> <?r if @applications.nil? or @applications.empty? ?> <?r else ?> <table> <tr> <th>名前</th> <th>バージョン</th> <th>状態</th> <th>操作</th> </tr> <?r @applications.each do |app| ?> <tr> <?r if app.pid ?> <td> <a href='http://localhost:#{h app.port}' target='_blank'>#{h app.name}</a> </td> <td> #{h app.version} </td> <td> ON / #{Applications.a("OFF", :stop, app.id)} </td> <?r else ?> <td> #{h app.name} </td> <td> #{h app.version} </td> <td> <a href='#{Applications.r(:start, app.id)}' target='_blank' onclick='setTimeout(function(){window.location = window.location;}, 1000)'> ON</a> / OFF </td> <?r end ?> <td> #{Applications.a("-", :uninstall, app.id)} </td> </tr> <?r end ?> </table> <?r end ?> </div> <div id="new"> <h2>アプリケーションの追加</h2> <form action="#{Applications.r(:install)}" method="POST" enctype="multipart/form-data"> <input type="file" name="gem"> <input type="submit" value="送信"> </form> </div> <div id="debug" style="display:block;"> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yhara-ruby-station-0.0.1 | view/index.xhtml |
yhara-ruby-station-0.0.2 | view/index.xhtml |