Bug #5135

Updated by Tom Clegg over 5 years ago

These modals have the primary button first from the right:

* application/_choose.html.erb
* application/_report_issue_popup.html.erb
* projects/_choose.html.erb

These modals have the primary button first from the left:

* jobs/_rerun_job_with_options_popup.html.erb
* pipeline_instances/show.html.erb (two primary buttons)
* users/_add_ssh_key_popup.html.erb
* users/_setup_popup.html.erb

Pick which direction we prefer and make all modals follow it.
* We prefer to do it "like the Bootstrap examples":http://getbootstrap.com/javascript/#modals-examples: *primary button(s) on the right.*
* I think it's OK to have multiple primary buttons per modal. (This might be friendlier as a single "Copy" button, with a default-unchecked checkbox "run the new pipeline right away". If you forget to check the box, you can hit Run on the next page, so no biggie. But this change doesn't seem especially urgent.)

Back