diff options
author | skygo <skygo@unknown> | 2012-08-22 16:12:39 +0000 |
---|---|---|
committer | skygo <skygo@unknown> | 2012-08-22 16:12:39 +0000 |
commit | 3f34a790541955775820112fcfd8fa71f280cc2f (patch) | |
tree | ec18f0220b23dab7497a7d6d1b0a6ca086efb34e /archiva-modules | |
parent | 73f867c4003c3ef411489cefde01bb85f05e2f55 (diff) | |
download | archiva-3f34a790541955775820112fcfd8fa71f280cc2f.tar.gz archiva-3f34a790541955775820112fcfd8fa71f280cc2f.zip |
make input filed rectangluar.
try accesskey on search button (ctrl-shift-S crtl-opt-S)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376119 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html index eec0b635e..7f2addecd 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html @@ -213,7 +213,7 @@ <fieldset> <div class="control-group" id="search-basic-repositories"> <select data-placeholder="${$.i18n.prop('search.artifact.search.form.query.repositories')}" - id="search-basic-repostories-select" class="chzn-select" + id="search-basic-repostories-select" class="chzn-select defaults" multiple style="width:350px;" tabindex="4"> <option value="all">${$.i18n.prop('search.artifact.search.form.repositories.all')}</option> {{each(i,repoId) observableRepoIds}} @@ -224,12 +224,12 @@ <div class="control-group"> <label class="control-label" for="search-terms"></label> <div class="controls"> - <input type="text" class="input-medium search-query" id="search-terms" name="search-terms" size="50" + <input type="text" class="defaults" id="search-terms" name="search-terms" size="50" data-bind="value: searchRequest().queryTerms" placeholder="${$.i18n.prop('search.artifact.search.form.query.terms')}"/> </div> </div> <button type="submit" id="btn-basic-search" class="btn btn-primary" - data-loading-text="${$.i18n.prop('search.artifact.searching')}" data-bind="click: basicSearch">${$.i18n.prop('search.artifact.search.form.btn.search')}</button> + data-loading-text="${$.i18n.prop('search.artifact.searching')}" data-bind="click: basicSearch" accesskey="${$.i18n.prop('search.artifact.search.form.btn.search')[0]}">${$.i18n.prop('search.artifact.search.form.btn.search')}</button> </fieldset> </form> </div> @@ -239,49 +239,49 @@ <div class="control-group"> <label class="control-label" for="groupId">${$.i18n.prop('search.artifact.search.form.query.groupId')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="groupId" name="groupId" size="50" placeholder="my.group.id" + <input type="text" class="defaults" id="groupId" name="groupId" size="50" placeholder="my.group.id" data-bind="value: searchRequest().groupId"/> </div> </div> <div class="control-group"> <label class="control-label" for="artifactId">${$.i18n.prop('search.artifact.search.form.query.artifactId')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="artifactId" name="artifactId" size="50" placeholder="my.artifact.id" + <input type="text" class="defaults" id="artifactId" name="artifactId" size="50" placeholder="my.artifact.id" data-bind="value: searchRequest().artifactId"/> </div> </div> <div class="control-group"> <label class="control-label" for="version">${$.i18n.prop('search.artifact.search.form.query.version')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="version" name="version" size="50" placeholder="0.0.0" + <input type="text" class="defaults" id="version" name="version" size="50" placeholder="0.0.0" data-bind="value: searchRequest().version"/> </div> </div> <div class="control-group"> <label class="control-label" for="classifier">${$.i18n.prop('search.artifact.search.form.query.classifier')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="classifier" name="classifier" size="50" placeholder="bin" + <input type="text" class="defaults" id="classifier" name="classifier" size="50" placeholder="bin" data-bind="value: searchRequest().classifier"/> </div> </div> <div class="control-group"> <label class="control-label" for="packaging">${$.i18n.prop('search.artifact.search.form.query.packaging')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="packaging" name="packaging" size="50" placeholder="jar" + <input type="text" class="defaults" id="packaging" name="packaging" size="50" placeholder="jar" data-bind="value: searchRequest().packaging"/> </div> </div> <div class="control-group"> <label class="control-label" for="className">${$.i18n.prop('search.artifact.search.form.query.className')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="className" name="className" size="50" placeholder="my.ClassName" + <input type="text" class="defaults" id="className" name="className" size="50" placeholder="my.ClassName" data-bind="value: searchRequest().className"/> </div> </div> </fieldset> <button type="submit" id="btn-advanced-search" class="btn btn-primary" - data-bind="click: advancedSearch">${$.i18n.prop('search.artifact.search.form.btn.search')}</button> + data-bind="click: advancedSearch" accesskey="${$.i18n.prop('search.artifact.search.form.btn.search')[0]}">${$.i18n.prop('search.artifact.search.form.btn.search')}</button> </form> </div> @@ -291,48 +291,48 @@ <div class="control-group"> <label class="control-label" for="bundleSymbolicName">${$.i18n.prop('search.artifact.search.form.query.bundleSymbolicName')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="bundleSymbolicName" name="bundleSymbolicName" size="50" placeholder="my.SymbolicName" + <input type="text" class="defaults" id="bundleSymbolicName" name="bundleSymbolicName" size="50" placeholder="my.SymbolicName" data-bind="value: searchRequest().bundleSymbolicName"/> </div> </div> <div class="control-group"> <label class="control-label" for="bundleVersion">${$.i18n.prop('search.artifact.search.form.query.bundleVersion')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="bundleVersion" name="bundleVersion" size="50" placeholder="0.0.0" + <input type="text" class="defaults" id="bundleVersion" name="bundleVersion" size="50" placeholder="0.0.0" data-bind="value: searchRequest().bundleVersion"/> </div> </div> <div class="control-group"> <label class="control-label" for="bundleExportPackage">${$.i18n.prop('search.artifact.search.form.query.bundleExportPackage')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="bundleExportPackage" name="bundleExportPackage" size="50" placeholder="my.package;version=0.0,..." + <input type="text" class="defaults" id="bundleExportPackage" name="bundleExportPackage" size="50" placeholder="my.package;version=0.0,..." data-bind="value: searchRequest().bundleExportPackage"/> </div> </div> <div class="control-group"> <label class="control-label" for="bundleExportService">${$.i18n.prop('search.artifact.search.form.query.bundleExportService')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="bundleExportService" name="bundleExportService" size="50" placeholder="my.SomeService" + <input type="text" class="defaults" id="bundleExportService" name="bundleExportService" size="50" placeholder="my.SomeService" data-bind="value: searchRequest().bundleExportService"/> </div> </div> <div class="control-group"> <label class="control-label" for="bundleImportPackage">${$.i18n.prop('search.artifact.search.form.query.bundleImportPackage')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="bundleImportPackage" name="bundleImportPackage" size="50" placeholder="my.package;version=0.0,..." + <input type="text" class="defaults" id="bundleImportPackage" name="bundleImportPackage" size="50" placeholder="my.package;version=0.0,..." data-bind="value: searchRequest().bundleImportPackage"/> </div> </div> <div class="control-group"> <label class="control-label" for="bundleRequireBundle">${$.i18n.prop('search.artifact.search.form.query.bundleRequireBundle')}</label> <div class="controls"> - <input type="text" class="input-medium search-query" id="bundleRequireBundle" name="bundleRequireBundle" size="50" placeholder="my.package;version=0.0,..." + <input type="text" class="defaults" id="bundleRequireBundle" name="bundleRequireBundle" size="50" placeholder="my.package;version=0.0,..." data-bind="value: searchRequest().bundleRequireBundle"/> </div> </div> </fieldset> <button type="submit" id="btn-osgi-search" class="btn btn-primary" - data-bind="click: advancedSearch">${$.i18n.prop('search.artifact.search.form.btn.search')}</button> + data-bind="click: advancedSearch" accesskey="${$.i18n.prop('search.artifact.search.form.btn.search')[0]}">${$.i18n.prop('search.artifact.search.form.btn.search')}</button> </form> </div> |