</script>
<script id="managed-repository-edit-tmpl" type='text/x-jquery-tmpl'>
- <form id="managed-repository-edit-form">
+ <form id="managed-repository-edit-form" class="form-horizontal">
<fieldset id="managed-repository-edit-fieldset">
- <div class="clearfix">
- <label for="id">${$.i18n.prop('id')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="id">${$.i18n.prop('id')}</label>
+ <div class="controls">
{{if update}}
<span class="uneditable-input">${$data.managedRepository.id}</span>
{{else}}
{{/if}}
</div>
</div>
- <div class="clearfix">
- <label for="name">${$.i18n.prop('name')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="name">${$.i18n.prop('name')}</label>
+ <div class="controls">
<input type="text" class="xlarge required" id="name" name="name" size="50"
data-bind="value: managedRepository.name"/>
</div>
</div>
- <div class="clearfix">
- <label for="location">${$.i18n.prop('directory')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="location">${$.i18n.prop('directory')}</label>
+ <div class="controls">
<input type="text" class="xlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
</div>
</div>
- <div class="clearfix">
- <label for="indexDirectory">${$.i18n.prop('index.directory')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
+ <div class="controls">
<input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
</div>
</div>
- <div class="clearfix">
- <label for="layout">${$.i18n.prop('type')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="layout">${$.i18n.prop('type')}</label>
+ <div class="controls">
<select id="layout" data-bind="options: availableLayouts,optionsText: 'label',optionsValue:'type',value: managedRepository.layout"/>
</div>
</div>
- <div class="clearfix">
- <label for="cronExpression">${$.i18n.prop('cronExpression')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="cronExpression">${$.i18n.prop('cronExpression')}</label>
+ <div class="controls">
<input type="text" id="cronExpression" class="required" name="cronExpression" size="40" data-bind="value: managedRepository.cronExpression"/>
</div>
</div>
- <div class="clearfix">
- <label for="daysOlder">${$.i18n.prop('daysOlder')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="daysOlder">${$.i18n.prop('daysOlder')}</label>
+ <div class="controls">
<input type="text" id="daysOlder" class="digits" name="daysOlder" size="5" data-bind="value: managedRepository.daysOlder"/>
</div>
</div>
- <div class="clearfix">
- <label for="retentionCount">${$.i18n.prop('retentionCount')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="retentionCount">${$.i18n.prop('retentionCount')}</label>
+ <div class="controls">
<input type="text" id="retentionCount" name="retentionCount" size="5" data-bind="value: managedRepository.retentionCount"/>
</div>
</div>
- <div class="clearfix">
- <label for="releases">${$.i18n.prop('releases')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="releases">${$.i18n.prop('releases')}</label>
+ <div class="controls">
<input type="checkbox" id="releases" name="releases" size="5" data-bind="checked: managedRepository.releases"/>
</div>
</div>
- <div class="clearfix">
- <label for="snapshots">${$.i18n.prop('snapshots')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="snapshots">${$.i18n.prop('snapshots')}</label>
+ <div class="controls">
<input type="checkbox" id="snapshots" name="snapshots" size="5" data-bind="checked: managedRepository.snapshots"/>
</div>
</div>
- <div class="clearfix">
- <label for="blockRedeployments">${$.i18n.prop('blockRedeployments')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="blockRedeployments">${$.i18n.prop('blockRedeployments')}</label>
+ <div class="controls">
<input type="checkbox" id="blockRedeployments" name="blockRedeployments" size="5" data-bind="checked: managedRepository.blockRedeployments"/>
</div>
</div>
- <div class="clearfix">
- <label for="scanned">${$.i18n.prop('scanned')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="scanned">${$.i18n.prop('scanned')}</label>
+ <div class="controls">
<input type="checkbox" id="scanned" name="scanned" size="5" data-bind="checked: managedRepository.scanned"/>
</div>
</div>
- <div class="clearfix">
- <label for="deleteReleasedSnapshots">${$.i18n.prop('deleteReleasedSnapshots')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="deleteReleasedSnapshots">${$.i18n.prop('deleteReleasedSnapshots')}</label>
+ <div class="controls">
<input type="checkbox" id="deleteReleasedSnapshots" name="deleteReleasedSnapshots" size="5"
data-bind="checked: managedRepository.deleteReleasedSnapshots"/>
</div>
</div>
- <div class="clearfix">
- <label for="stageRepoNeeded">${$.i18n.prop('stageRepoNeeded')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="stageRepoNeeded">${$.i18n.prop('stageRepoNeeded')}</label>
+ <div class="controls">
<input type="checkbox" id="stageRepoNeeded" name="stageRepoNeeded" size="5"
data-bind="checked: managedRepository.stageRepoNeeded"/>
</div>
<script id="remote-repository-edit-tmpl" type='text/x-jquery-tmpl'>
- <form id="remote-repository-edit-form">
+ <form id="remote-repository-edit-form" class="form-horizontal">
<fieldset id="remote-repository-edit-fieldset">
- <div class="clearfix">
- <label for="name">${$.i18n.prop('id')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="name">${$.i18n.prop('id')}</label>
+ <div class="controls">
{{if update}}
<span class="uneditable-input">${$data.remoteRepository.id}</span>
{{else}}
{{/if}}
</div>
</div>
- <div class="clearfix">
- <label for="name">${$.i18n.prop('name')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="name">${$.i18n.prop('name')}</label>
+ <div class="controls">
<input type="text" class="xlarge required" id="name" name="name" size="50"
data-bind="value: remoteRepository.name"/>
</div>
</div>
- <div class="clearfix">
- <label for="url">${$.i18n.prop('url')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="url">${$.i18n.prop('url')}</label>
+ <div class="controls">
<input type="text" class="xlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
</div>
</div>
- <div class="clearfix">
- <label for="userName">${$.i18n.prop('username')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="userName">${$.i18n.prop('username')}</label>
+ <div class="controls">
<input type="text" class="xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
</div>
</div>
- <div class="clearfix">
- <label for="password">${$.i18n.prop('password')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="password">${$.i18n.prop('password')}</label>
+ <div class="controls">
<input type="password" class="xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
</div>
</div>
- <div class="clearfix">
- <label for="timeout">${$.i18n.prop('timeout')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="timeout">${$.i18n.prop('timeout')}</label>
+ <div class="controls">
<input type="text" id="timeout" class="digits" name="daysOlder" size="5" data-bind="value: remoteRepository.timeout"/>
</div>
</div>
- <div class="clearfix">
- <label for="layout">${$.i18n.prop('type')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="layout">${$.i18n.prop('type')}</label>
+ <div class="controls">
<select id="layout" data-bind="options: availableLayouts,optionsText: 'label',optionsValue:'type',value: remoteRepository.layout"/>
</div>
</div>
- <div class="clearfix">
- <label for="downloadRemoteIndex">${$.i18n.prop('downloadRemoteIndex')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="downloadRemoteIndex">${$.i18n.prop('downloadRemoteIndex')}</label>
+ <div class="controls">
<input type="checkbox" id="downloadRemoteIndex" name="downloadRemoteIndex" size="5" data-bind="checked: remoteRepository.downloadRemoteIndex"/>
</div>
</div>
- <div class="clearfix">
- <label for="remoteIndexUrl">${$.i18n.prop('remoteIndexUrl')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="remoteIndexUrl">${$.i18n.prop('remoteIndexUrl')}</label>
+ <div class="controls">
<input type="text" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
</div>
</div>
- <div class="clearfix">
- <label for="cronExpression">${$.i18n.prop('cronExpression')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="cronExpression">${$.i18n.prop('cronExpression')}</label>
+ <div class="controls">
<input type="text" id="cronExpression" name="cronExpression" size="40" data-bind="value: remoteRepository.cronExpression"/>
</div>
</div>
- <div class="clearfix">
- <label for="indexDirectory">${$.i18n.prop('index.directory')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
+ <div class="controls">
<input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
</div>
</div>
- <div class="clearfix">
- <label for="remoteDownloadTimeout">${$.i18n.prop('remoteDownloadTimeout')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="remoteDownloadTimeout">${$.i18n.prop('remoteDownloadTimeout')}</label>
+ <div class="controls">
<input type="text" id="remoteDownloadTimeout" class="digits" name="remoteDownloadTimeout" size="5"
data-bind="value: remoteRepository.remoteDownloadTimeout"/>
</div>
</div>
- <div class="clearfix">
- <label for="remoteDownloadNetworkProxyId">${$.i18n.prop('remoteDownloadNetworkProxyId')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="remoteDownloadNetworkProxyId">${$.i18n.prop('remoteDownloadNetworkProxyId')}</label>
+ <div class="controls">
<select id="remoteDownloadNetworkProxyId" data-bind="options: networkProxies, optionsText: 'id',optionsValue:'id', value: remoteRepository.remoteDownloadNetworkProxyId, optionsCaption: 'Choose...'"></select>
</div>
</div>
- <div class="clearfix">
- <label for="downloadRemoteIndexOnStartup">${$.i18n.prop('downloadRemoteIndexOnStartup')}</label>
- <div class="input">
+ <div class="control-group">
+ <label class="control-label" for="downloadRemoteIndexOnStartup">${$.i18n.prop('downloadRemoteIndexOnStartup')}</label>
+ <div class="controls">
<input type="checkbox" id="downloadRemoteIndexOnStartup" name="downloadRemoteIndexOnStartup"
data-bind="checked: remoteRepository.downloadRemoteIndexOnStartup"/>
</div>