Sha256: 4c6b8c25037c86facddcd6c7e78b02a20ad6d42e5faf16be2e83bfc60e451458
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
Current mount points: <ul> <% @targetApp.mounts.each{|mount| %> <li> <a href="<%="/"+mount.mountPoint%>"> "<%=mount.mountPoint%>" to "<%=mount.instance.instanceName%>" instance of <%=mount.instance.instanceType%> </a> <form method="POST" action="<%=url(:action=>:del)%>/<%=@targetApp.object_id%>" name="<%=mount.mountPoint%>"> <button name="delete" value="Delete">Delete</button> <input type="hidden" name="mount" value="<%=mount.mountPoint%>" /> </form> </li> <% } %> </ul> Create new mount point: <form method="POST" action="<%=url(:action=>:addMount)%>/<%=@targetApp.object_id%>"> <input type="text" name="mountPath">/</input> <select name="httpApp"> <% @targetApp.cluster.getApps(:httpApp).each{|httpApp| %> <option value="<%=httpApp.getAppName%>"><%=httpApp.shortName%></option> <% } %> </select> <select name="httpAppInstance"> <% @targetApp.cluster.getApps(:httpApp).map{|app|app.instances}.flatten.each{|instance| %> <option value="<%=instance.instanceName%>"><%=instance.instanceName%></option> <% } %> </select> <button name="Add mount">Add mount</button> </form>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appswarm-0.0.1 | apps/admin/views/settings/_web_server.rhtml |