Skip to content
Snippets Groups Projects
Commit dbc15124 authored by Yas Naoi's avatar Yas Naoi
Browse files

Minor UI changes.

parent cf50c2cc
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
* *
*/ */
// Updated by yas 2015/03/25
// fixed a bug (aws_cloud_list) by yas 2013/10/29 // fixed a bug (aws_cloud_list) by yas 2013/10/29
/** /**
...@@ -204,7 +205,7 @@ function aws_cloud_add_form($form, $form_state, $edit = array(), $op = '') { ...@@ -204,7 +205,7 @@ function aws_cloud_add_form($form, $form_state, $edit = array(), $op = '') {
$form['cloud']['host_uri'] = array( $form['cloud']['host_uri'] = array(
'#type' => 'textfield', '#type' => 'textfield',
'#title' => t('API URI'), '#title' => t('API URI'),
'#description' => t("'http://' is NOT required: e.g. ec2.amazonaws.com | ec2.us-west-1.amazonaws.com | ec2.us-west-2.amazonaws.com | ec2.eu-west-1.amazonaws.com | ec2.ap-northeast-1.amazonaws.com | ec2.ap-southeast-1.amazonaws.com | ec2.ap-southeast-2.amazonaws.com | ec2.sa-east-1.amazonaws.com | 192.168.0.1:8773/services/Cloud"), '#description' => t("'http://' is NOT required: e.g. ec2.amazonaws.com | ec2.us-west-1.amazonaws.com | ec2.us-west-2.amazonaws.com | ec2.eu-west-1.amazonaws.com | ec2.ap-northeast-1.amazonaws.com | ec2.ap-southeast-1.amazonaws.com | ec2.ap-southeast-2.amazonaws.com | ec2.sa-east-1.amazonaws.com | OpenStack: 192.168.0.1:8773/services/Cloud | Cloud(n) JP: comp-apia.jp-e1.cloudn-service.com/awsapi | Cloud(n) US: comp-apia.us-e1.cloudn-service.com/awsapi"),
'#size' => 50, '#size' => 50,
'#maxlength' => 255, '#maxlength' => 255,
'#required' => TRUE, '#required' => TRUE,
...@@ -267,7 +268,7 @@ function aws_cloud_add_form($form, $form_state, $edit = array(), $op = '') { ...@@ -267,7 +268,7 @@ function aws_cloud_add_form($form, $form_state, $edit = array(), $op = '') {
'#description' => t('X.509 Certificate to use. You can temporarily put dummy string if you do not use Bundle Image capability.'), '#description' => t('X.509 Certificate to use. You can temporarily put dummy string if you do not use Bundle Image capability.'),
'#rows' => 17, '#rows' => 17,
'#size' => 66, '#size' => 66,
'#required' => TRUE, '#required' => FALSE,
'#default_value' => $edit['certificate'], '#default_value' => $edit['certificate'],
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment