Sha256: 442b9e97abdb7cf3851f28f00ceafcf5f47574d320e7d0d477596a7aacd12d0b
Contents?: true
Size: 1.97 KB
Versions: 5
Compression:
Stored size: 1.97 KB
Contents
<html><head> <title>Select Task ID</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <style> body { background-color: #EFEFEF; color: #2E2F30; text-align: center; font-family: arial, sans-serif; margin: 0; } div.dialog { width: 95%; max-width: 33em; margin: 4em auto 0; } div.dialog > div { margin: 0 0 1em; border: 1px solid #CCC; border-right-color: #999; border-left-color: #999; border-bottom-color: #BBB; border-top: #3D4B5A solid 4px; border-top-left-radius: 9px; border-top-right-radius: 9px; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; background-color: white; padding: 7px 12% 0; box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); } h1 { font-size: 100%; color: #3D4B5A; line-height: 1.5em; } div.launch_button { margin: 1em 0 1em; margin-right: auto; margin-left: auto; padding: 1em; width: 300px; font-size: 12pt; font-weight: bold; background-color: #F7F7F7; border: 1px solid #CCC; border-right-color: #999; border-left-color: #999; border-bottom-color: #999; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-color: #999; color: #666; box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); } </style> </head> <body style='background: white;'> <div class="dialog"> <div> <h1>Please select the instance you would like to launch.</h1> <input type="hidden" id="name_hash" value="<%= @names.to_s %>" /> <input type="hidden" id="app_instance_list" value="<%= @app_instance_ids.to_s %>" /> <% names.each do |id, name| %> <div class="launch_button" > <% label = name.present? ? "#{id} - #{name}" : id %> <%= link_to label, root_path(app_instance_id: id) %> </div> <% end %> </div> </div> </body></html>
Version data entries
5 entries across 5 versions & 1 rubygems