Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed Aug 6, 2016
1 parent d2caf4c commit 8a52c3a
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 36 deletions.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/mvc/user/extra-information.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var ExtraInformation = Backbone.View.extend({
for( var i = 0; i < item_object["inputs"].length; i++ ) {
var input_object = item_object["inputs"][i];
template = template + '<div class="form-row">';
template = template + '<input type="'+ (input_object.type === "string" ? "text" : input_object.type) +
template = template + "<label>" + input_object.label + ':</label><input type="'+ input_object.type +
'" name="'+ input_object.name +'" value="" '+ (input_object.required ? 'required': '') + '/>';
template = template + '</div>';
}
Expand Down
12 changes: 8 additions & 4 deletions config/user_preferences_extra_conf.xml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ preferences:
inputs:
# the content can be accessed by apollo_url_01.apollo_url
- name: apollo_url
label: Apollo URL
# type of input field that will be displayed to the user
# can be string or password
type: string
type: text
# by defaul all inputs are required
required: True

openstack_account:
description: Your own Globus account
description: Your own Open Stack account
inputs:
- name: username
type: string
label: Username
type: text
required: False
- name: password
label: Password
type: password
required: False
- name: url
type: string
label: Open Stack URL
type: text
required: True
23 changes: 11 additions & 12 deletions static/scripts/bundled/analysis.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/analysis.bundled.js.map

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions static/scripts/bundled/libs.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/libs.bundled.js.map

Large diffs are not rendered by default.

0 comments on commit 8a52c3a

Please sign in to comment.