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
This commit is contained in:
skygo 2012-08-22 16:12:39 +00:00
parent 73f867c400
commit 3f34a79054
1 changed files with 17 additions and 17 deletions

View File

@ -213,7 +213,7 @@
<fieldset> <fieldset>
<div class="control-group" id="search-basic-repositories"> <div class="control-group" id="search-basic-repositories">
<select data-placeholder="${$.i18n.prop('search.artifact.search.form.query.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"> multiple style="width:350px;" tabindex="4">
<option value="all">${$.i18n.prop('search.artifact.search.form.repositories.all')}</option> <option value="all">${$.i18n.prop('search.artifact.search.form.repositories.all')}</option>
{{each(i,repoId) observableRepoIds}} {{each(i,repoId) observableRepoIds}}
@ -224,12 +224,12 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" for="search-terms"></label> <label class="control-label" for="search-terms"></label>
<div class="controls"> <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')}"/> data-bind="value: searchRequest().queryTerms" placeholder="${$.i18n.prop('search.artifact.search.form.query.terms')}"/>
</div> </div>
</div> </div>
<button type="submit" id="btn-basic-search" class="btn btn-primary" <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> </fieldset>
</form> </form>
</div> </div>
@ -239,49 +239,49 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" for="groupId">${$.i18n.prop('search.artifact.search.form.query.groupId')}</label> <label class="control-label" for="groupId">${$.i18n.prop('search.artifact.search.form.query.groupId')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().groupId"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="artifactId">${$.i18n.prop('search.artifact.search.form.query.artifactId')}</label> <label class="control-label" for="artifactId">${$.i18n.prop('search.artifact.search.form.query.artifactId')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().artifactId"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="version">${$.i18n.prop('search.artifact.search.form.query.version')}</label> <label class="control-label" for="version">${$.i18n.prop('search.artifact.search.form.query.version')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().version"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="classifier">${$.i18n.prop('search.artifact.search.form.query.classifier')}</label> <label class="control-label" for="classifier">${$.i18n.prop('search.artifact.search.form.query.classifier')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().classifier"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="packaging">${$.i18n.prop('search.artifact.search.form.query.packaging')}</label> <label class="control-label" for="packaging">${$.i18n.prop('search.artifact.search.form.query.packaging')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().packaging"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="className">${$.i18n.prop('search.artifact.search.form.query.className')}</label> <label class="control-label" for="className">${$.i18n.prop('search.artifact.search.form.query.className')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().className"/>
</div> </div>
</div> </div>
</fieldset> </fieldset>
<button type="submit" id="btn-advanced-search" class="btn btn-primary" <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> </form>
</div> </div>
@ -291,48 +291,48 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" for="bundleSymbolicName">${$.i18n.prop('search.artifact.search.form.query.bundleSymbolicName')}</label> <label class="control-label" for="bundleSymbolicName">${$.i18n.prop('search.artifact.search.form.query.bundleSymbolicName')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().bundleSymbolicName"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="bundleVersion">${$.i18n.prop('search.artifact.search.form.query.bundleVersion')}</label> <label class="control-label" for="bundleVersion">${$.i18n.prop('search.artifact.search.form.query.bundleVersion')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().bundleVersion"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="bundleExportPackage">${$.i18n.prop('search.artifact.search.form.query.bundleExportPackage')}</label> <label class="control-label" for="bundleExportPackage">${$.i18n.prop('search.artifact.search.form.query.bundleExportPackage')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().bundleExportPackage"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="bundleExportService">${$.i18n.prop('search.artifact.search.form.query.bundleExportService')}</label> <label class="control-label" for="bundleExportService">${$.i18n.prop('search.artifact.search.form.query.bundleExportService')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().bundleExportService"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="bundleImportPackage">${$.i18n.prop('search.artifact.search.form.query.bundleImportPackage')}</label> <label class="control-label" for="bundleImportPackage">${$.i18n.prop('search.artifact.search.form.query.bundleImportPackage')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().bundleImportPackage"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="bundleRequireBundle">${$.i18n.prop('search.artifact.search.form.query.bundleRequireBundle')}</label> <label class="control-label" for="bundleRequireBundle">${$.i18n.prop('search.artifact.search.form.query.bundleRequireBundle')}</label>
<div class="controls"> <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"/> data-bind="value: searchRequest().bundleRequireBundle"/>
</div> </div>
</div> </div>
</fieldset> </fieldset>
<button type="submit" id="btn-osgi-search" class="btn btn-primary" <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> </form>
</div> </div>