Created
January 6, 2012 22:17
-
-
Save postwait/1572680 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/web/views/deployments.jade b/lib/web/views/deployments.jade | |
index 9e52ea0..063f0da 100644 | |
--- a/lib/web/views/deployments.jade | |
+++ b/lib/web/views/deployments.jade | |
@@ -27,7 +27,7 @@ block content | |
form(method='post', action='/stacks/#{data.stack.name}/regions/#{data.name}')#deploy-form | |
p !{helpers.buildDiffSegment(data.stack.github_href, data.deployed_revision, data.stack.latest_revision)} | |
p | |
- input(type='hidden', name='to_revision', value='#{data.stack.latest_revision}') | |
+ input(type='text', name='to_revision', value='#{data.stack.latest_revision}', class='input_revision') | |
input(type='hidden', name='ack_warning', value='#{wmsg ? "false" : "true"}')#wack | |
input(type='submit', value='Deploy').btn.success | |
diff --git a/static/css/dreadnot.css b/static/css/dreadnot.css | |
index 89ccbd6..bf34c12 100644 | |
--- a/static/css/dreadnot.css | |
+++ b/static/css/dreadnot.css | |
@@ -27,3 +27,5 @@ a.label:hover { | |
.deployment_log div { margin-bottom: .5em; display: none; } | |
.deployment_log table { margin: 0; } | |
.deployment_log td.key { width: 200px; } | |
+ | |
+#deploy-form input.input_revision { width: 22em; display: none; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment