mirror of https://github.com/apache/archiva.git
format html templates: it looks I found how to do that in idea :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1421475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
76a7f60653
commit
9eaa2cc553
|
@ -925,7 +925,7 @@
|
|||
<div class="tab-pane" id="redback-runtime-ldap-content">
|
||||
<div class="well">
|
||||
<form class="form-horizontal" id="redback-runtime-ldap-form-id">
|
||||
<fieldset id="redback-runtime-ldap-form">
|
||||
|
||||
<div class="control-group">
|
||||
<label for="ldap-host" class="control-label">
|
||||
${$.i18n.prop('redback.runtime.ldap.host.label')}
|
||||
|
@ -990,7 +990,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- TODO extraPropertiesEntries -->
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
<button data-bind="click: checkChangedLdapConfiguration,css:{ 'btn-warning': archivaRuntimeConfiguration().ldapConfiguration().modified() },
|
||||
|
|
|
@ -46,7 +46,8 @@
|
|||
<a target="_blank" href="http://archiva.apache.org/">Apache Archiva - ${version}</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
Copyright © ${copyrightRange} <a target="_blank" href="http://www.apache.org/">The Apache Software Foundation</a>
|
||||
Copyright © ${copyrightRange} <a target="_blank" href="http://www.apache.org/">The Apache Software
|
||||
Foundation</a>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
<!-- /ko -->
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-configuration']}" data-bind="foreach: administrationMenuItems">
|
||||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-configuration']}"
|
||||
data-bind="foreach: administrationMenuItems">
|
||||
<!-- ko ifnot: id -->
|
||||
<li class="nav-header archiva-nav-header" data-bind="text: text"></li>
|
||||
<!-- /ko -->
|
||||
|
@ -41,7 +42,8 @@
|
|||
<!-- /ko -->
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-users']}" data-bind="foreach: usersMenuItems">
|
||||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-users']}"
|
||||
data-bind="foreach: usersMenuItems">
|
||||
<!-- ko ifnot: id -->
|
||||
<li class="nav-header archiva-nav-header" data-bind="text: text"></li>
|
||||
<!-- /ko -->
|
||||
|
@ -102,7 +104,7 @@
|
|||
<li>
|
||||
<div class="ui-widget navbar-search">
|
||||
<input type="text" class="ui-autocomplete-input search-query" id="quick-search-autocomplete"
|
||||
placeholder="${$.i18n.prop('menu.topbar.quicksearch')}" />
|
||||
placeholder="${$.i18n.prop('menu.topbar.quicksearch')}"/>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<div id="dialog-confirm-modal" class="modal hide fade" style="display: block;">
|
||||
<div class="modal-header">
|
||||
<a class="close" href="#" data-dismiss="modal">×</a>
|
||||
|
||||
<h3 id="dialog-confirm-modal-header-title"></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
@ -33,6 +34,7 @@
|
|||
<div id="dialog-modal-merge-repo" class="modal hide fade" style="display: block;">
|
||||
<div class="modal-header">
|
||||
<a class="close" href="#" data-dismiss="modal">×</a>
|
||||
|
||||
<h3 id="dialog-modal-merge-repo-header-title">${$.i18n.prop('managedrepository.repomerge.dialog.header')}</h3>
|
||||
</div>
|
||||
<div class="modal-body" id="dialog-modal-merge-repo-body-text">>
|
||||
|
|
|
@ -41,7 +41,8 @@
|
|||
</ul>
|
||||
<div id="managed-repositories-tabs-content" class="pill-content">
|
||||
<div id="managed-repositories-view" class="pill-pane active">
|
||||
<div id="managed-repositories-bulk-save-btn" data-bind='template:{name:"managed-repositories-bulk-save-tmpl"}'></div>
|
||||
<div id="managed-repositories-bulk-save-btn"
|
||||
data-bind='template:{name:"managed-repositories-bulk-save-tmpl"}'></div>
|
||||
<table class="table table-striped table-bordered" id="managed-repositories-table"
|
||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_managed-repositoriesGrid',pageLinksId:'managed-repositoriesPagination',data:'managedRepositories'">
|
||||
</table>
|
||||
|
@ -65,7 +66,8 @@
|
|||
</ul>
|
||||
<div id="remote-repositories-tabs-content" class="pill-content">
|
||||
<div id="remote-repositories-view" class="pill-pane active">
|
||||
<div id="remote-repositories-bulk-save-btn" data-bind='template:{name:"remote-repositories-bulk-save-tmpl"}'></div>
|
||||
<div id="remote-repositories-bulk-save-btn"
|
||||
data-bind='template:{name:"remote-repositories-bulk-save-tmpl"}'></div>
|
||||
<table class="table table-striped table-bordered" id="remote-repositories-table"
|
||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_remote-repositoriesGrid',pageLinksId:'remote-repositoriesPagination',data:'remoteRepositories'">
|
||||
</table>
|
||||
|
@ -98,7 +100,9 @@
|
|||
{{each(i, row) itemsOnCurrentPage()}}
|
||||
<tr data-bind="css:{ 'modified': row.modified()}">
|
||||
{{each(j, columnDefinition) columns}}
|
||||
<td>${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }</td>
|
||||
<td>
|
||||
${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }
|
||||
</td>
|
||||
{{/each}}
|
||||
<td>
|
||||
{{if row.releases() == true}}
|
||||
|
@ -182,10 +186,12 @@
|
|||
<td></td>
|
||||
{{/if}}
|
||||
<td>
|
||||
<a href="${row.feedsUrl}"><img src="images/atom.gif" alt="" title="${$.i18n.prop('managedrepository.feeds')} ${row.name()}"/></a>
|
||||
<a href="${row.feedsUrl}"><img src="images/atom.gif" alt=""
|
||||
title="${$.i18n.prop('managedrepository.feeds')} ${row.name()}"/></a>
|
||||
</td>
|
||||
<td id="managedrepository-stats-${row.id()}">
|
||||
<img src="images/utilities-system-monitor-22-22.png" data-original-title="${$.i18n.prop('managedrepository.stats')}"
|
||||
<img src="images/utilities-system-monitor-22-22.png"
|
||||
data-original-title="${$.i18n.prop('managedrepository.stats')}"
|
||||
data-bind="event: { mouseover: function(){ showStats(row) }, mouseout: function(){ hideStats(row) },}"
|
||||
id="managedrepository-stats-img-${row.id()}"/>
|
||||
</td>
|
||||
|
@ -200,6 +206,7 @@
|
|||
<fieldset id="managed-repository-edit-fieldset">
|
||||
<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>
|
||||
|
@ -216,6 +223,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="name">${$.i18n.prop('name')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge required" id="name" name="name" size="50"
|
||||
data-bind="value: managedRepository.name"/>
|
||||
|
@ -228,8 +236,10 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="location">${$.i18n.prop('directory')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xxlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
|
||||
<input type="text" class="input-xxlarge required" id="location" name="location" size="50"
|
||||
data-bind="value: managedRepository.location"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-location-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.location.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.location.help.content')}">
|
||||
|
@ -239,8 +249,10 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xxlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
|
||||
<input type="text" class="input-xxlarge" id="indexDirectory" name="indexDirectory" size="50"
|
||||
data-bind="value: managedRepository.indexDirectory"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-indexDirectory-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.indexDirectory.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.indexDirectory.help.content')}">
|
||||
|
@ -250,14 +262,18 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<select id="layout"
|
||||
data-bind="options: availableLayouts,optionsText: 'label',optionsValue:'type',value: managedRepository.layout"/>
|
||||
</div>
|
||||
</div>
|
||||
<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"/>
|
||||
<input type="text" id="cronExpression" class="required" name="cronExpression" size="40"
|
||||
data-bind="value: managedRepository.cronExpression"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="cronExpression-info-button"
|
||||
data-original-title="${$.i18n.prop('cronExpression.help.title')}"
|
||||
data-content="${$.i18n.prop('cronExpression.help.content')}">
|
||||
|
@ -267,8 +283,10 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<input type="text" id="daysOlder" class="digits" name="daysOlder" size="5"
|
||||
data-bind="value: managedRepository.daysOlder"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-daysOlder-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.daysOlder.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.daysOlder.help.content')}">
|
||||
|
@ -278,8 +296,10 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<input type="text" id="retentionCount" name="retentionCount" size="5"
|
||||
data-bind="value: managedRepository.retentionCount"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-retentionCount-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.retentionCount.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.retentionCount.help.content')}">
|
||||
|
@ -289,8 +309,10 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="description">${$.i18n.prop('description')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<textarea rows="3" id="description" name="description" data-bind="value: managedRepository.description"></textarea>
|
||||
<textarea rows="3" id="description" name="description"
|
||||
data-bind="value: managedRepository.description"></textarea>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-description-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.description.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.description.help.content')}">
|
||||
|
@ -300,8 +322,10 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<input type="checkbox" id="releases" name="releases" size="5"
|
||||
data-bind="checked: managedRepository.releases"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-release-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.release.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.release.help.content')}">
|
||||
|
@ -311,8 +335,10 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<input type="checkbox" id="snapshots" name="snapshots" size="5"
|
||||
data-bind="checked: managedRepository.snapshots"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-snapshots-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.snapshots.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.snapshots.help.content')}">
|
||||
|
@ -322,8 +348,10 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<input type="checkbox" id="blockRedeployments" name="blockRedeployments" size="5"
|
||||
data-bind="checked: managedRepository.blockRedeployments"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-blockRedeployments-info-button"
|
||||
data-original-title="${$.i18n.prop('managedRepository.blockRedeployments.help.title')}"
|
||||
data-content="${$.i18n.prop('managedRepository.blockRedeployments.help.content')}">
|
||||
|
@ -333,6 +361,7 @@
|
|||
</div>
|
||||
<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"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="managedRepository-scanned-info-button"
|
||||
|
@ -344,6 +373,7 @@
|
|||
</div>
|
||||
<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"/>
|
||||
|
@ -356,6 +386,7 @@
|
|||
</div>
|
||||
<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"/>
|
||||
|
@ -368,6 +399,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="skipPackedIndexCreation">${$.i18n.prop('skipPackedIndexCreation')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="skipPackedIndexCreation" name="skipPackedIndexCreation" size="5"
|
||||
data-bind="checked: managedRepository.skipPackedIndexCreation"/>
|
||||
|
@ -388,8 +420,10 @@
|
|||
<script id="managed-repository-delete-warning-tmpl" type='text/html'>
|
||||
<div>
|
||||
<span class="label label-warning">${$.i18n.prop('warning.not.undone.operation')}</span>
|
||||
|
||||
<div>
|
||||
<span><strong>${$.i18n.prop('managedrepository.delete.warning.message')}</strong>.</span>
|
||||
|
||||
<div>${$.i18n.prop('id')}: ${id()}</div>
|
||||
<div>${$.i18n.prop('name')}: ${name()}</div>
|
||||
</div>
|
||||
|
@ -408,8 +442,10 @@
|
|||
<script id="managed-repository-location-warning-tmpl" type='text/html'>
|
||||
<div>
|
||||
<span class="label label-warning">${$.i18n.prop('managedrepository.location.already.exists')}</span>
|
||||
|
||||
<div>
|
||||
<span><strong>${$.i18n.prop('managedrepository.location.already.exists.warning.message')}</strong>.</span>
|
||||
|
||||
<div>${$.i18n.prop('id')}: ${id()}</div>
|
||||
<div>${$.i18n.prop('name')}: ${name()}</div>
|
||||
</div>
|
||||
|
@ -455,7 +491,9 @@
|
|||
{{each(i, row) itemsOnCurrentPage()}}
|
||||
<tr data-bind="css:{ 'modified': row.modified()}">
|
||||
{{each(j, columnDefinition) columns}}
|
||||
<td>${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }</td>
|
||||
<td>
|
||||
${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }
|
||||
</td>
|
||||
{{/each}}
|
||||
<td>
|
||||
<a href="#" data-bind="click: function(){ editRemoteRepository(row) }">
|
||||
|
@ -507,6 +545,7 @@
|
|||
<fieldset id="remote-repository-edit-fieldset">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="id">${$.i18n.prop('id')}</label>
|
||||
|
||||
<div class="controls">
|
||||
{{if update}}
|
||||
<span class="uneditable-input">${$data.remoteRepository.id}</span>
|
||||
|
@ -518,6 +557,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="name">${$.i18n.prop('name')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge required" id="name" name="name" size="50"
|
||||
data-bind="value: remoteRepository.name"/>
|
||||
|
@ -525,52 +565,68 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="url">${$.i18n.prop('url')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xxlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
|
||||
<input type="text" class="input-xxlarge required" id="url" name="location" size="50"
|
||||
data-bind="value: remoteRepository.url"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="userName">${$.i18n.prop('username')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.userName"/>
|
||||
<input type="text" class="input-xlarge" id="userName" name="userName" size="50"
|
||||
data-bind="value: remoteRepository.userName"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="password">${$.i18n.prop('password')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" class="input-xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
|
||||
<input type="password" class="input-xlarge" id="password" name="password" size="50"
|
||||
data-bind="value: remoteRepository.password"/>
|
||||
</div>
|
||||
</div>
|
||||
<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"/>
|
||||
<input type="text" id="timeout" class="digits" name="daysOlder" size="5"
|
||||
data-bind="value: remoteRepository.timeout"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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"/>
|
||||
<select id="layout"
|
||||
data-bind="options: availableLayouts,optionsText: 'label',optionsValue:'type',value: remoteRepository.layout"/>
|
||||
</div>
|
||||
</div>
|
||||
<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"/>
|
||||
<input type="checkbox" id="downloadRemoteIndex" name="downloadRemoteIndex" size="5"
|
||||
data-bind="checked: remoteRepository.downloadRemoteIndex"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="remoteIndexUrl">${$.i18n.prop('remoteIndexUrl')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xxlarge" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
|
||||
<input type="text" class="input-xxlarge" id="remoteIndexUrl" name="remoteIndexUrl" size="5"
|
||||
data-bind="value: remoteRepository.remoteIndexUrl"/>
|
||||
</div>
|
||||
</div>
|
||||
<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"/>
|
||||
<input type="text" id="cronExpression" name="cronExpression" size="40"
|
||||
data-bind="value: remoteRepository.cronExpression"/>
|
||||
<a class="btn btn-warning btn-mini popover-doc" id="cronExpression-info-button"
|
||||
data-original-title="${$.i18n.prop('cronExpression.help.title')}"
|
||||
data-content="${$.i18n.prop('cronExpression.help.content')}">
|
||||
|
@ -580,12 +636,15 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
|
||||
<input type="text" class="input-xlarge" id="indexDirectory" name="indexDirectory" size="50"
|
||||
data-bind="value: remoteRepository.indexDirectory"/>
|
||||
</div>
|
||||
</div>
|
||||
<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"/>
|
||||
|
@ -593,14 +652,19 @@
|
|||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="remoteDownloadNetworkProxyId">${$.i18n.prop('remoteDownloadNetworkProxyId')}</label>
|
||||
<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>
|
||||
<select id="remoteDownloadNetworkProxyId"
|
||||
data-bind="options: networkProxies, optionsText: 'id',optionsValue:'id', value: remoteRepository.remoteDownloadNetworkProxyId, optionsCaption: 'Choose...'"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="downloadRemoteIndexOnStartup">${$.i18n.prop('downloadRemoteIndexOnStartup')}</label>
|
||||
<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"/>
|
||||
|
@ -609,14 +673,17 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="daysOlder">${$.i18n.prop('description')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<textarea rows="3" id="description" name="description" data-bind="value: remoteRepository.description"></textarea>
|
||||
<textarea rows="3" id="description" name="description"
|
||||
data-bind="value: remoteRepository.description"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="control-group span6">
|
||||
<h4>${$.i18n.prop('remoteRepository.extraParametersEntries')}</h4>
|
||||
|
||||
<div id="extra-parameters-error"></div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
@ -629,7 +696,8 @@
|
|||
<tr>
|
||||
<td>${extraParameterEntry.key}</td>
|
||||
<td>${extraParameterEntry.value}</td>
|
||||
<td><a href="#" data-bind="click: function(){ deleteExtraParameter(extraParameterEntry.key)}">${$.i18n.prop('delete')}</a></td>
|
||||
<td><a href="#" data-bind="click: function(){ deleteExtraParameter(extraParameterEntry.key)}">${$.i18n.prop('delete')}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
|
@ -640,6 +708,7 @@
|
|||
<div class="row-fluid">
|
||||
<div class="control-group span6">
|
||||
<h4>${$.i18n.prop('remoteRepository.extraHeadersEntries')}</h4>
|
||||
|
||||
<div id="extra-headers-error"></div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
@ -652,7 +721,8 @@
|
|||
<tr>
|
||||
<td>${extraHeaderEntry.key}</td>
|
||||
<td>${extraHeaderEntry.value}</td>
|
||||
<td><a href="#" data-bind="click: function(){ deleteExtraHeader(extraHeaderEntry.key)}">${$.i18n.prop('delete')}</a></td>
|
||||
<td><a href="#" data-bind="click: function(){ deleteExtraHeader(extraHeaderEntry.key)}">${$.i18n.prop('delete')}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
|
@ -661,7 +731,9 @@
|
|||
</div>
|
||||
|
||||
</fieldset>
|
||||
<button data-bind="click: save" data-loading-text="${$.i18n.prop('common.loading')}" id="remote-repository-save-button" class="btn">${$.i18n.prop('save')}</button>
|
||||
<button data-bind="click: save" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
id="remote-repository-save-button" class="btn">${$.i18n.prop('save')}
|
||||
</button>
|
||||
<button data-bind="click: displayGrid" class="btn">${$.i18n.prop('cancel')}</button>
|
||||
</form>
|
||||
</script>
|
||||
|
@ -730,7 +802,8 @@
|
|||
{{each(i, row) itemsOnCurrentPage()}}
|
||||
<tr data-bind="css:{ 'modified': row.modified()}">
|
||||
{{each(j, columnDefinition) columns}}
|
||||
{{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText])}}
|
||||
{{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) :
|
||||
row[columnDefinition.rowText])}}
|
||||
<td>
|
||||
${val}
|
||||
</td>
|
||||
|
@ -774,6 +847,7 @@
|
|||
<fieldset id="network-proxy-edit-fieldset">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="id">${$.i18n.prop('id')}</label>
|
||||
|
||||
<div class="controls">
|
||||
{{if update}}
|
||||
<span class="uneditable-input">${$data.networkProxy.id}</span>
|
||||
|
@ -785,6 +859,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="protocol">${$.i18n.prop('protocol')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="xlarge required" id="protocol" name="protocol" size="8"
|
||||
data-bind="value: networkProxy.protocol"/>
|
||||
|
@ -792,6 +867,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="host">${$.i18n.prop('host')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="xlarge required" id="host" name="host" size="15"
|
||||
data-bind="value: networkProxy.host"/>
|
||||
|
@ -799,6 +875,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="port">${$.i18n.prop('port')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="xlarge required digits" id="port" name="port" size="6"
|
||||
data-bind="value: networkProxy.port"/>
|
||||
|
@ -806,6 +883,7 @@
|
|||
</div>
|
||||
<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: networkProxy.username"/>
|
||||
|
@ -813,6 +891,7 @@
|
|||
</div>
|
||||
<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: networkProxy.password"/>
|
||||
|
@ -820,6 +899,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="useNtlm">${$.i18n.prop('network.proxy.useNtlm')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="useNtlm" name="useNtlm" data-bind="checked: networkProxy.useNtlm"/>
|
||||
</div>
|
||||
|
@ -855,7 +935,8 @@
|
|||
<a data-toggle="tab" href="#proxy-connectors-view" id="proxy-connectors-view-tabs-a-network-proxies-grid">${$.i18n.prop('proxy-connectors.grid.tab.title')}</a>
|
||||
</li>
|
||||
<li id="proxy-connectors-view-tabs-li-edit">
|
||||
<a data-toggle="tab" href="#proxy-connectors-edit" id="proxy-connectors-view-tabs-a-edit">${$.i18n.prop('add')}</a>
|
||||
<a data-toggle="tab" href="#proxy-connectors-edit"
|
||||
id="proxy-connectors-view-tabs-a-edit">${$.i18n.prop('add')}</a>
|
||||
</li>
|
||||
<li id="proxy-connectors-view-tabs-li-edit-order">
|
||||
<a data-toggle="tab" href="#proxy-connectors-edit-order" id="proxy-connectors-view-tabs-a-edit-order">${$.i18n.prop('proxy-connectors.grid.tab.edit.order')}</a>
|
||||
|
@ -871,7 +952,8 @@
|
|||
</div>
|
||||
<div id="proxy-connectors-edit" class="tab-pane"></div>
|
||||
<div id="proxy-connector-edit-order" class="tab-pane span8">
|
||||
<div id="proxy-connector-edit-order-managed-repository-div" data-bind='template:{name:"proxy-connector-edit-order-managed-repository-tmpl"}'></div>
|
||||
<div id="proxy-connector-edit-order-managed-repository-div"
|
||||
data-bind='template:{name:"proxy-connector-edit-order-managed-repository-tmpl"}'></div>
|
||||
<div id="proxy-connector-edit-order-div"
|
||||
data-bind="sortable: { template: 'proxy-connector-edit-order-tmpl', data: proxyConnectors,afterMove: proxyConnectorMoved}">
|
||||
</div>
|
||||
|
@ -902,7 +984,8 @@
|
|||
<td>${row.sourceRepoId()}</td>
|
||||
<td>${row.targetRepoId()}</td>
|
||||
<td>
|
||||
<a class="btn btn-info btn-mini" id="proxy-connectors-grid-remoterepo-settings-edit-${row.sourceRepoId()}-${row.targetRepoId()}"
|
||||
<a class="btn btn-info btn-mini"
|
||||
id="proxy-connectors-grid-remoterepo-settings-edit-${row.sourceRepoId()}-${row.targetRepoId()}"
|
||||
data-original-title="${$.i18n.prop('proxy-connectors.grid.remoterepo.settings.popover.title')}"
|
||||
data-content="${buildSettings(row)}" data-bind="click: showSettings" data-html="true">
|
||||
<i class="icon-question-sign icon-white"></i>
|
||||
|
@ -978,6 +1061,7 @@
|
|||
<fieldset id="remote-repository-edit-fieldset">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="proxyId">${$.i18n.prop('proxy-connector.network-proxy.id')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<select id="proxyId"
|
||||
data-bind="options: proxyConnectorsViewModel.networkProxies, optionsText: 'id',optionsValue:'id',
|
||||
|
@ -986,6 +1070,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="proxyId">${$.i18n.prop('proxy-connector.managed.repository.id')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<select id="sourceRepoId"
|
||||
data-bind="options: proxyConnectorsViewModel.managedRepositories, optionsText: 'id',optionsValue:'id',
|
||||
|
@ -994,6 +1079,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="proxyId">${$.i18n.prop('proxy-connector.remote.repository.id')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<select id="targetRepoId"
|
||||
data-bind="options: proxyConnectorsViewModel.remoteRepositories, optionsText: 'id',optionsValue:'id',
|
||||
|
@ -1032,7 +1118,8 @@
|
|||
<tr>
|
||||
<td data-bind="text: key"></td>
|
||||
<td data-bind="text: value"></td>
|
||||
<td><a href="#" data-bind="click: function(){ $parent.deleteProperty(key)}">${$.i18n.prop('delete')}</a></td>
|
||||
<td><a href="#" data-bind="click: function(){ $parent.deleteProperty(key)}">${$.i18n.prop('delete')}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1049,7 +1136,8 @@
|
|||
<tbody data-bind="foreach: proxyConnector.blackListPatterns">
|
||||
<tr>
|
||||
<td data-bind="text: $data"></td>
|
||||
<td><a href="#" data-bind="click: function(){removeBlacklistPattern($data)}">${$.i18n.prop('delete')}</a></td>
|
||||
<td><a href="#" data-bind="click: function(){removeBlacklistPattern($data)}">${$.i18n.prop('delete')}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1066,7 +1154,8 @@
|
|||
<tbody data-bind="foreach: proxyConnector.whiteListPatterns">
|
||||
<tr>
|
||||
<td data-bind="text: $data"></td>
|
||||
<td><a href="#" data-bind="click: function(){removeWhitelistPattern($data)}">${$.i18n.prop('delete')}</a></td>
|
||||
<td><a href="#" data-bind="click: function(){removeWhitelistPattern($data)}">${$.i18n.prop('delete')}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1074,7 +1163,9 @@
|
|||
</div>
|
||||
</fieldset>
|
||||
|
||||
<button id="proxy-connector-btn-save" data-bind="click: save" data-loading-text="${$.i18n.prop('common.loading')}" class="btn">${$.i18n.prop('save')}</button>
|
||||
<button id="proxy-connector-btn-save" data-bind="click: save" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
class="btn">${$.i18n.prop('save')}
|
||||
</button>
|
||||
{{if modified()}}
|
||||
${("#network-proxy-btn-save").button('reset')}
|
||||
{{/if}}
|
||||
|
@ -1100,6 +1191,7 @@
|
|||
id="proxy-connectors-order-remoterepo-settings-edit-${sourceRepoId()}-${targetRepoId()}"
|
||||
data-original-title="${$.i18n.prop('proxy-connectors.grid.remoterepo.settings.popover.title')}"
|
||||
data-bind="event: { mouseover: function(){ displaySettings(sourceRepoId(),targetRepoId())},}">
|
||||
|
||||
<div id="proxy-connectors-order-remoterepo-settings-content-${sourceRepoId()}-${targetRepoId()}"
|
||||
style="display:none"></div>
|
||||
</div>
|
||||
|
@ -1107,7 +1199,8 @@
|
|||
<blockquote>
|
||||
${targetRepoId}
|
||||
<br/>
|
||||
${remoteRepository.name()} (<a href="${remoteRepository.url()}" target="_blank">${remoteRepository.url()}</a>)
|
||||
${remoteRepository.name()} (<a href="${remoteRepository.url()}"
|
||||
target="_blank">${remoteRepository.url()}</a>)
|
||||
</blockquote>
|
||||
</div>
|
||||
<div class="span2">
|
||||
|
@ -1156,7 +1249,8 @@
|
|||
</a>
|
||||
</li>
|
||||
<li id="repository-groups-view-tabs-li-edit">
|
||||
<a data-toggle="tab" href="#repository-groups-edit" id="repository-groups-view-tabs-a-edit">${$.i18n.prop('add')}</a>
|
||||
<a data-toggle="tab" href="#repository-groups-edit"
|
||||
id="repository-groups-view-tabs-a-edit">${$.i18n.prop('add')}</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -1177,6 +1271,7 @@
|
|||
<div class="span6 dotted">
|
||||
<h5>${$.i18n.prop('repository.groups.available.repositories')}</h5>
|
||||
<br/>
|
||||
|
||||
<div id="repository-groups-edit-available-repositories" style="min-height: 80px"
|
||||
data-bind="sortable: { template: 'repository-group-edit-order-tmpl-available',data:availableRepositories,afterMove:repositoryMoved}">
|
||||
|
||||
|
@ -1293,6 +1388,7 @@
|
|||
<fieldset id="repository-group-edit-fieldset">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="id">${$.i18n.prop('id')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-medium required" id="id" name="id" size="15"
|
||||
data-bind="value: repositoryGroup.id,css:{'uneditable-input': update},readonly:update"/>
|
||||
|
@ -1304,7 +1400,8 @@
|
|||
{{/if}}
|
||||
{{if repositoryGroup.modified()}}
|
||||
<div class="span3">
|
||||
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}" id="repository-group-save" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)}">${$.i18n.prop('save')}</a>
|
||||
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
id="repository-group-save" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)}">${$.i18n.prop('save')}</a>
|
||||
</div>
|
||||
<br/>
|
||||
{{/if}}
|
||||
|
@ -1312,7 +1409,6 @@
|
|||
</script>
|
||||
|
||||
|
||||
|
||||
<script id="repository-group-delete-warning-tmpl" type='text/html'>
|
||||
<div>
|
||||
<span class="label label-warning">${$.i18n.prop('warning.not.undone.operation')}</span>
|
||||
|
@ -1323,7 +1419,10 @@
|
|||
<script id="merge-repo-dialog-content" type="text/html">
|
||||
<div class="btn-group btn-group-vertical">
|
||||
{{each(i, repository) repositories}}
|
||||
<button class="btn" type="button" onclick="mergeRepositories(encodeURIComponent('${sourceRepoId}'),encodeURIComponent('${repository.id()}'))">${repository.name()}</button>
|
||||
<button class="btn" type="button"
|
||||
onclick="mergeRepositories(encodeURIComponent('${sourceRepoId}'),encodeURIComponent('${repository.id()}'))">
|
||||
${repository.name()}
|
||||
</button>
|
||||
{{/each}}
|
||||
</div>
|
||||
</script>
|
||||
|
@ -1337,9 +1436,15 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<button class="btn btn-success" onclick="doMerge(encodeURIComponent('${sourceRepository}'),encodeURIComponent('${targetRepository}'),false);" type="button">${$.i18n.prop('managedrepository.merge.domerge')}</button>
|
||||
<button class="btn btn-success"
|
||||
onclick="doMerge(encodeURIComponent('${sourceRepository}'),encodeURIComponent('${targetRepository}'),false);"
|
||||
type="button">${$.i18n.prop('managedrepository.merge.domerge')}
|
||||
</button>
|
||||
{{if artifacts.length > 0}}
|
||||
<button class="btn btn-warning" onclick="doMerge(encodeURIComponent('${sourceRepository}'),encodeURIComponent('${targetRepository}'),true);" type="button">${$.i18n.prop('managedrepository.merge.domerge.skipconflicts')}</button>
|
||||
<button class="btn btn-warning"
|
||||
onclick="doMerge(encodeURIComponent('${sourceRepository}'),encodeURIComponent('${targetRepository}'),true);"
|
||||
type="button">${$.i18n.prop('managedrepository.merge.domerge.skipconflicts')}
|
||||
</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
</script>
|
||||
|
@ -1360,7 +1465,8 @@
|
|||
</ul>
|
||||
<div id="proxy-connectors-rules-view-tabs-content" class="tab-content">
|
||||
<div id="proxy-connector-rules-view" class="tab-pane active">
|
||||
<div id="proxy-connectors-rules-view-tabs-bulk-save-btn" data-bind='template:{name:"proxy-connectors-rules-view-tabs-bulk-save-tmpl"}'></div>
|
||||
<div id="proxy-connectors-rules-view-tabs-bulk-save-btn"
|
||||
data-bind='template:{name:"proxy-connectors-rules-view-tabs-bulk-save-tmpl"}'></div>
|
||||
<table class="table table-striped table-bordered" id="proxy-connectors-rules-view-tabsTable"
|
||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko-proxy-connectors-rules-grid',pageLinksId:'proxy-connectors-rules-pagination'">
|
||||
</table>
|
||||
|
@ -1369,7 +1475,8 @@
|
|||
<div id="proxy-connector-rules-edit" class="tab-pane">
|
||||
<div class="row-fluid">
|
||||
<div class="span6 dotted">
|
||||
<div id="proxy-connectors-rules-edit-div" data-bind='template:{name:"proxy-connectors-rules-edit-tmpl"}'></div>
|
||||
<div id="proxy-connectors-rules-edit-div"
|
||||
data-bind='template:{name:"proxy-connectors-rules-edit-tmpl"}'></div>
|
||||
<div id="proxy-connectors-rules-edit-order-div" style="min-height: 80px"
|
||||
data-bind="sortable: { template: 'proxy-connectors-rules-edit-proxy-connectors-tmpl-choosen',data:proxyConnectorRule.proxyConnectors,afterMove:proxyConnectorMoved}">
|
||||
</div>
|
||||
|
@ -1378,6 +1485,7 @@
|
|||
<div class="span6 dotted">
|
||||
<h5>${$.i18n.prop('proxy-connector-rules.available.proxyConnectors')}</h5>
|
||||
<br/>
|
||||
|
||||
<div id="proxy-connectors-rules-available-proxy-connectors" style="min-height: 80px"
|
||||
data-bind="sortable: { template: 'proxy-connectors-rules-edit-proxy-connectors-tmpl-availables',data:availableProxyConnectors,afterMove:proxyConnectorMoved}">
|
||||
|
||||
|
@ -1426,7 +1534,8 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a data-bind="click: function(){ removeProxyConnectorRule(row) }" data-loading-text="${$.i18n.prop('common.loading')}">
|
||||
<a data-bind="click: function(){ removeProxyConnectorRule(row) }"
|
||||
data-loading-text="${$.i18n.prop('common.loading')}">
|
||||
<span class="btn btn-danger" data-loading-text="${$.i18n.prop('common.loading')}">
|
||||
<i class="icon-trash icon-white"/>
|
||||
</span>
|
||||
|
@ -1434,7 +1543,8 @@
|
|||
</td>
|
||||
<td>
|
||||
{{if row.modified()}}
|
||||
<a href="#" id="proxy-connector-rule-update-btn" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
<a href="#" id="proxy-connector-rule-update-btn" class="btn btn-warning"
|
||||
data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
data-bind="click: function(){ updateProxyConnectorRule(row) }">${$.i18n.prop('save')}</a>
|
||||
{{/if}}
|
||||
</td>
|
||||
|
@ -1463,6 +1573,7 @@
|
|||
<fieldset id="proxy-connector-rule-edit-fieldset">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="id">${$.i18n.prop('proxy-connector-rule.pattern')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-large required" id="pattern" name="pattern" size="15"
|
||||
data-bind="value:proxyConnectorRule.pattern,css:{'uneditable-input': update},readonly:update"/>
|
||||
|
@ -1470,6 +1581,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="layout">${$.i18n.prop('type')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<select id="proxy-connector-rule-pattern-type"
|
||||
data-bind="options: proxyConnectorRulesViewModel.ruleTypes,optionsText: 'label',optionsValue:'type',value: proxyConnectorRule.proxyConnectorRuleType"/>
|
||||
|
@ -1483,7 +1595,8 @@
|
|||
<div class="span3" data-bind="visible: proxyConnectorRule.modified()">
|
||||
{{if update && proxyConnectorRule.modified()}}
|
||||
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
id="proxy-connector-rule-update-btn" data-bind="click: function(){updateProxyConnectorRule(proxyConnectorRule)}">${$.i18n.prop('update')}</a>
|
||||
id="proxy-connector-rule-update-btn"
|
||||
data-bind="click: function(){updateProxyConnectorRule(proxyConnectorRule)}">${$.i18n.prop('update')}</a>
|
||||
{{else}}
|
||||
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
id="proxy-connector-rule-add-btn" data-bind="click: function(){addProxyConnectorRule(proxyConnectorRule)}">${$.i18n.prop('add')}</a>
|
||||
|
@ -1497,7 +1610,8 @@
|
|||
|
||||
<script id="proxy-connectors-rules-edit-proxy-connectors-tmpl-choosen" type="text/html">
|
||||
<div class="well draggable-item">
|
||||
<i class="icon-minus-sign cursor-hand pull-right" data-source-repoId="${$data.sourceRepoId()}" data-target-repoId="${$data.targetRepoId()}"/>
|
||||
<i class="icon-minus-sign cursor-hand pull-right" data-source-repoId="${$data.sourceRepoId()}"
|
||||
data-target-repoId="${$data.targetRepoId()}"/>
|
||||
<blockquote>
|
||||
${$data.sourceRepoId()} <-> ${$data.targetRepoId()}
|
||||
</blockquote>
|
||||
|
@ -1507,7 +1621,8 @@
|
|||
|
||||
<script id="proxy-connectors-rules-edit-proxy-connectors-tmpl-availables" type="text/html">
|
||||
<div class="well draggable-item">
|
||||
<i class="icon-plus-sign cursor-hand pull-right" data-source-repoId="${$data.sourceRepoId()}" data-target-repoId="${$data.targetRepoId()}"/>
|
||||
<i class="icon-plus-sign cursor-hand pull-right" data-source-repoId="${$data.sourceRepoId()}"
|
||||
data-target-repoId="${$data.targetRepoId()}"/>
|
||||
<blockquote>
|
||||
${$data.sourceRepoId()} <-> ${$data.targetRepoId()}
|
||||
</blockquote>
|
||||
|
|
|
@ -53,7 +53,8 @@
|
|||
{{if browseResultEntry.project}}
|
||||
{{if deleteKarma}}
|
||||
<li class="browse-list-project">
|
||||
<img class="cursor-hand" id="delete-${browseResultEntry.name}" src="images/trash.png" data-bind="click:function(){deleteProject(groupId,displayEntry(browseResultEntry.name))}"/>
|
||||
<img class="cursor-hand" id="delete-${browseResultEntry.name}" src="images/trash.png"
|
||||
data-bind="click:function(){deleteProject(groupId,displayEntry(browseResultEntry.name))}"/>
|
||||
<a href="#" data-bind="click:function(){displayProjectEntry(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
|
||||
</li>
|
||||
{{else}}
|
||||
|
@ -65,12 +66,15 @@
|
|||
{{else}}
|
||||
{{if deleteKarma}}
|
||||
<li class="browse-list">
|
||||
<img class="cursor-hand" id="delete-${browseResultEntry.name}" src="images/trash.png" data-bind="click:function(){deleteGroupId(browseResultEntry.name)}"/>
|
||||
<a data-bind="click:function(){displayGroupId(browseResultEntry.name)}" href="#" title="folder ${displayEntry(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
|
||||
<img class="cursor-hand" id="delete-${browseResultEntry.name}" src="images/trash.png"
|
||||
data-bind="click:function(){deleteGroupId(browseResultEntry.name)}"/>
|
||||
<a data-bind="click:function(){displayGroupId(browseResultEntry.name)}" href="#"
|
||||
title="folder ${displayEntry(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
|
||||
</li>
|
||||
{{else}}
|
||||
<li class="browse-list" >
|
||||
<a href="#" title="folder ${displayEntry(browseResultEntry.name)}" data-bind="click:function(){displayGroupId(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
|
||||
<li class="browse-list">
|
||||
<a href="#" title="folder ${displayEntry(browseResultEntry.name)}"
|
||||
data-bind="click:function(){displayGroupId(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
@ -86,7 +90,8 @@
|
|||
<img class="cursor-hand" src="images/view-refresh.png" data-bind="click: function(){refreshContent()}"/>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" data-bind="click: function(){ browseRoot()}"><img src="images/go-home.png"/></a> <span class="divider">/</span>
|
||||
<a href="#" data-bind="click: function(){ browseRoot()}"><img src="images/go-home.png"/></a> <span
|
||||
class="divider">/</span>
|
||||
</li>
|
||||
{{var number=breadCrumbEntries().length}}
|
||||
{{each(i,breadCrumbEntry) breadCrumbEntries}}
|
||||
|
@ -97,7 +102,8 @@
|
|||
{{if breadCrumbEntry.artifact}}
|
||||
<a href="#" data-bind="click: function(){goToArtifactDetail(breadCrumbEntry.groupId,breadCrumbEntry.artifactId)}">${breadCrumbEntry.displayValue}</a>
|
||||
{{else}}
|
||||
<a href="#" data-bind="click: function(){displayGroupId(breadCrumbEntry.groupId)}">${breadCrumbEntry.displayValue}</a>
|
||||
<a href="#"
|
||||
data-bind="click: function(){displayGroupId(breadCrumbEntry.groupId)}">${breadCrumbEntry.displayValue}</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{if i<(number-1)}}
|
||||
|
@ -187,7 +193,10 @@
|
|||
{{each(i,version) versions}}
|
||||
<tr>
|
||||
{{if deleteKarma}}
|
||||
<th><a id="delete-${version}" href="#" data-bind="click: function(){deleteVersion(version)}"><img src="images/trash.png"/></a> <a href="#" data-bind="click: function(){displayArtifactVersionDetail(version)}">${version}</a></th>
|
||||
<th><a id="delete-${version}" href="#" data-bind="click: function(){deleteVersion(version)}"><img
|
||||
src="images/trash.png"/></a> <a href="#"
|
||||
data-bind="click: function(){displayArtifactVersionDetail(version)}">${version}</a>
|
||||
</th>
|
||||
{{else}}
|
||||
<th><a href="#" data-bind="click: function(){displayArtifactVersionDetail(version)}">${version}</a></th>
|
||||
{{/if}}
|
||||
|
@ -223,13 +232,15 @@
|
|||
<div class="tabbable tabs-below">
|
||||
<ul class="nav nav-pills">
|
||||
<li class="active">
|
||||
<a href="#search-basic-form-pane" data-toggle="tab">${$.i18n.prop('search.artifact.search.form.basic')}</a>
|
||||
<a href="#search-basic-form-pane"
|
||||
data-toggle="tab">${$.i18n.prop('search.artifact.search.form.basic')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#search-advanced-form-pane" data-toggle="tab">${$.i18n.prop('search.artifact.search.form.advanced')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#search-osgi-form-pane" data-toggle="tab">${$.i18n.prop('search.artifact.search.form.osgi')}</a>
|
||||
<a href="#search-osgi-form-pane"
|
||||
data-toggle="tab">${$.i18n.prop('search.artifact.search.form.osgi')}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="pill-content">
|
||||
|
@ -248,13 +259,19 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="search-terms"></label>
|
||||
|
||||
<div class="controls">
|
||||
<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>
|
||||
<button type="submit" id="btn-basic-search" class="btn btn-primary"
|
||||
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>
|
||||
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>
|
||||
|
@ -263,20 +280,25 @@
|
|||
<fieldset>
|
||||
<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="defaults" 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="defaults" 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="defaults" id="version" name="version" size="50" placeholder="0.0.0"
|
||||
data-bind="value: searchRequest().version"/>
|
||||
|
@ -284,13 +306,16 @@
|
|||
</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="defaults" 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="defaults" id="packaging" name="packaging" size="50" placeholder="jar"
|
||||
data-bind="value: searchRequest().packaging"/>
|
||||
|
@ -298,15 +323,20 @@
|
|||
</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="defaults" 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" accesskey="${$.i18n.prop('search.artifact.search.form.btn.search')[0]}">${$.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>
|
||||
|
@ -315,49 +345,64 @@
|
|||
<fieldset>
|
||||
<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="defaults" 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="defaults" 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="defaults" 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="defaults" 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="defaults" 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="defaults" 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" accesskey="${$.i18n.prop('search.artifact.search.form.btn.search')[0]}">${$.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>
|
||||
|
@ -397,9 +442,13 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th title="${$.i18n.prop('search.artifact.results.groupId')}">${$.i18n.prop('search.artifact.results.groupId')}</th>
|
||||
<th title="${$.i18n.prop('search.artifact.results.artifactId')}">${$.i18n.prop('search.artifact.results.artifactId')}</th>
|
||||
<th title="${$.i18n.prop('search.artifact.results.artifactId')}">
|
||||
${$.i18n.prop('search.artifact.results.artifactId')}
|
||||
</th>
|
||||
<th title="${$.i18n.prop('search.artifact.results.version')}">${$.i18n.prop('search.artifact.results.version')}</th>
|
||||
<th title="${$.i18n.prop('search.artifact.results.classifier')}">${$.i18n.prop('search.artifact.results.classifier')}</th>
|
||||
<th title="${$.i18n.prop('search.artifact.results.classifier')}">
|
||||
${$.i18n.prop('search.artifact.results.classifier')}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
|
@ -452,35 +501,43 @@
|
|||
</script>
|
||||
|
||||
<script id="browse-artifact-detail-tmpl" type="text/html">
|
||||
<ul id="artifact-details-tabs" class="nav nav-tabs">
|
||||
<ul id="artifact-details-tabs" class="nav nav-tabs">
|
||||
<li class="active">
|
||||
<a data-toggle="tab" id="artifact-details-info-content-a" data-target="#artifact-details-info-content" href="#artifact-details-info-content">${$.i18n.prop('artifact.detail.tab.header.info')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-info-content-a" data-target="#artifact-details-info-content"
|
||||
href="#artifact-details-info-content">${$.i18n.prop('artifact.detail.tab.header.info')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-dependencies-content-a" data-target="#artifact-details-dependencies-content" href="#artifact-details-dependencies-content">${$.i18n.prop('artifact.detail.tab.header.dependencies')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-dependencies-content-a"
|
||||
data-target="#artifact-details-dependencies-content" href="#artifact-details-dependencies-content">${$.i18n.prop('artifact.detail.tab.header.dependencies')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-dependency-tree-content-a" data-target="#artifact-details-dependency-tree-content" href="#artifact-details-dependency-tree-content">${$.i18n.prop('artifact.detail.tab.header.dependency.tree')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-dependency-tree-content-a"
|
||||
data-target="#artifact-details-dependency-tree-content" href="#artifact-details-dependency-tree-content">${$.i18n.prop('artifact.detail.tab.header.dependency.tree')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-files-content-a" data-target="#artifact-details-files-content" href="#artifact-details-files-content">${$.i18n.prop('artifact.detail.tab.header.file.content')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-files-content-a" data-target="#artifact-details-files-content"
|
||||
href="#artifact-details-files-content">${$.i18n.prop('artifact.detail.tab.header.file.content')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-download-content-a" data-target="#artifact-details-download-content" href="#artifact-details-download-content">${$.i18n.prop('artifact.detail.tab.header.file.download')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-download-content-a" data-target="#artifact-details-download-content"
|
||||
href="#artifact-details-download-content">${$.i18n.prop('artifact.detail.tab.header.file.download')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-used-by-content-a" data-target="#artifact-details-used-by-content" href="#artifact-details-used-by-content">${$.i18n.prop('artifact.detail.tab.header.used.by')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-used-by-content-a" data-target="#artifact-details-used-by-content"
|
||||
href="#artifact-details-used-by-content">${$.i18n.prop('artifact.detail.tab.header.used.by')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-mailing-list-content-a" data-target="#artifact-details-mailing-list-content" href="#artifact-details-mailing-list-content">${$.i18n.prop('artifact.detail.tab.header.mailing.list')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-mailing-list-content-a"
|
||||
data-target="#artifact-details-mailing-list-content" href="#artifact-details-mailing-list-content">${$.i18n.prop('artifact.detail.tab.header.mailing.list')}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a data-toggle="tab" id="artifact-details-metadatas-content-a" data-target="#artifact-details-metadatas-content" href="#artifact-details-metadatas-content">${$.i18n.prop('artifact.detail.tab.header.metadatas')}</a>
|
||||
<a data-toggle="tab" id="artifact-details-metadatas-content-a" data-target="#artifact-details-metadatas-content"
|
||||
href="#artifact-details-metadatas-content">${$.i18n.prop('artifact.detail.tab.header.metadatas')}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
{{if projectVersionMetadata}}
|
||||
<div id="artifact-details-info-content" class="tab-pane active">
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
{{if projectVersionMetadata}}
|
||||
<div id="artifact-details-info-content" class="tab-pane active">
|
||||
<blockquote>${projectVersionMetadata.description}</blockquote>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
|
@ -624,36 +681,37 @@
|
|||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
<div id="artifact-details-dependencies-content" class="tab-pane">
|
||||
<div id="artifact-details-dependencies-content" class="tab-pane">
|
||||
<table class="table table-striped table-bordered" id="artifact-dependencies-table"
|
||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_dependenciesGrid',pageLinksId:'dependenciesPagination',data:'dependencies'">
|
||||
</table>
|
||||
<div id="dependenciesPagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="artifact-details-dependency-tree-content" class="tab-pane"></div>
|
||||
<div id="artifact-details-dependency-tree-content" class="tab-pane"></div>
|
||||
|
||||
<div id="artifact-details-files-content" class="tab-pane"></div>
|
||||
<div id="artifact-details-files-content" class="tab-pane"></div>
|
||||
|
||||
<div id="artifact-details-download-content" class="tab-pane"></div>
|
||||
<div id="artifact-details-download-content" class="tab-pane"></div>
|
||||
|
||||
<div id="artifact-details-used-by-content" class="tab-pane">
|
||||
<div id="artifact-details-used-by-content" class="tab-pane">
|
||||
<table class="table table-striped table-bordered" id="artifact-usedby-table">
|
||||
</table>
|
||||
<div id="usedbyPagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="artifact-details-mailing-list-content" class="tab-pane">
|
||||
<div id="artifact-details-mailing-list-content" class="tab-pane">
|
||||
{{if projectVersionMetadata.mailingLists && projectVersionMetadata.mailingLists.length>0}}
|
||||
<div id="accordion_mailing_lists" class="accordion">
|
||||
{{each(i,mailingList) projectVersionMetadata.mailingLists}}
|
||||
<div class="accordion-group">
|
||||
<div class="accordion-heading">
|
||||
<a class="accordion-toggle" href="#ml_collapse_${i}" data-parent="#accordion_mailing_lists" data-toggle="collapse">${mailingList.name}</a>
|
||||
<a class="accordion-toggle" href="#ml_collapse_${i}" data-parent="#accordion_mailing_lists"
|
||||
data-toggle="collapse">${mailingList.name}</a>
|
||||
</div>
|
||||
{{if i==0}}
|
||||
<div id="ml_collapse_${i}" class="accordion-body collapse in">
|
||||
|
@ -663,7 +721,8 @@
|
|||
<div class="accordion-inner">
|
||||
{{if mailingList.subscribeAddress}}
|
||||
<div>
|
||||
<b>${$.i18n.prop('browse.artifact.mailingList.subscribe')}</b>: <a href="mailto:${mailingList.subscribeAddress}">${mailingList.subscribeAddress}</a>
|
||||
<b>${$.i18n.prop('browse.artifact.mailingList.subscribe')}</b>: <a
|
||||
href="mailto:${mailingList.subscribeAddress}">${mailingList.subscribeAddress}</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if mailingList.postAddress}}
|
||||
|
@ -673,12 +732,14 @@
|
|||
{{/if}}
|
||||
{{if mailingList.unsubscribeAddress}}
|
||||
<div>
|
||||
<b>${$.i18n.prop('browse.artifact.mailingList.unsubscribe')}</b>: <a href="mailto:${mailingList.unsubscribeAddress}">${mailingList.unsubscribeAddress}</a>
|
||||
<b>${$.i18n.prop('browse.artifact.mailingList.unsubscribe')}</b>: <a
|
||||
href="mailto:${mailingList.unsubscribeAddress}">${mailingList.unsubscribeAddress}</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if mailingList.mainArchiveUrl}}
|
||||
<div>
|
||||
<b>${$.i18n.prop('browse.artifact.mailingList.mainArchiveUrl')}</b>: <a href="${mailingList.mainArchiveUrl}" target="_blank">${mailingList.mainArchiveUrl}</a>
|
||||
<b>${$.i18n.prop('browse.artifact.mailingList.mainArchiveUrl')}</b>: <a
|
||||
href="${mailingList.mainArchiveUrl}" target="_blank">${mailingList.mainArchiveUrl}</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if mailingList.otherArchives && mailingList.otherArchives.length>0}}
|
||||
|
@ -686,7 +747,9 @@
|
|||
<b>${$.i18n.prop('browse.artifact.mailingList.otherArchivesUrls')}:</b>
|
||||
<ul>
|
||||
{{each(j,otherArchive) mailingList.otherArchives}}
|
||||
<li><b>${$.i18n.prop('browse.artifact.mailingList.otherArchiveUrl')}</b>: <a href="${otherArchive}" target="_blank">${otherArchive}</a></li>
|
||||
<li><b>${$.i18n.prop('browse.artifact.mailingList.otherArchiveUrl')}</b>: <a href="${otherArchive}"
|
||||
target="_blank">${otherArchive}</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -708,12 +771,13 @@
|
|||
</table>
|
||||
<div id="artifactMetadata_Pagination"></div>
|
||||
{{if hasSavePropertyKarma()}}
|
||||
<a href="#" class="btn btn-primary" data-bind="click: addProperty">${$.i18n.prop('browse.artifact.metadatas.add')}</a>
|
||||
<a href="#" class="btn btn-primary"
|
||||
data-bind="click: addProperty">${$.i18n.prop('browse.artifact.metadatas.add')}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="ko_dependenciesGrid" type="text/html">
|
||||
|
@ -734,7 +798,8 @@
|
|||
<a href="#" data-bind="click: function(){displayArtifactDetailView(crumbEntry.groupId,crumbEntry.artifactId)}">${crumbEntry.displayValue}</a>
|
||||
{{else j == entries.length - 1}}
|
||||
| <b>${$.i18n.prop('browse.artifact.version')}:</b>
|
||||
<a href="#" data-bind="click: function(){displayArtifactVersionDetailViewModel(crumbEntry.groupId,crumbEntry.artifactId,crumbEntry.version)}">${row.version}</a>
|
||||
<a href="#"
|
||||
data-bind="click: function(){displayArtifactVersionDetailViewModel(crumbEntry.groupId,crumbEntry.artifactId,crumbEntry.version)}">${row.version}</a>
|
||||
{{/if}}
|
||||
{{if j < entries.length - 2}}
|
||||
/
|
||||
|
@ -760,10 +825,12 @@
|
|||
{{if j < entries.length - 2}}
|
||||
<a class="cursor-hand" onclick="generalDisplayGroup(encodeURIComponent('${crumbEntry.groupId}'))">${crumbEntry.displayValue}</a>
|
||||
{{else j == entries.length - 2}}
|
||||
<a class="cursor-hand" onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
|
||||
<a class="cursor-hand"
|
||||
onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
|
||||
{{else j == entries.length - 1}}
|
||||
| <b>${$.i18n.prop('browse.artifact.version')}:</b>
|
||||
<a class="cursor-hand" onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>
|
||||
<a class="cursor-hand"
|
||||
onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>
|
||||
{{/if}}
|
||||
{{if j < entries.length - 2}}
|
||||
/
|
||||
|
@ -787,10 +854,12 @@
|
|||
{{if j < entries.length - 2}}
|
||||
<a class="cursor-hand" onclick="generalDisplayGroup(encodeURIComponent('${crumbEntry.groupId}'))">${crumbEntry.displayValue}</a>
|
||||
{{else j == entries.length - 2}}
|
||||
<a class="cursor-hand" onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
|
||||
<a class="cursor-hand"
|
||||
onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
|
||||
{{else j == entries.length - 1}}
|
||||
| <b>${$.i18n.prop('browse.artifact.version')}:</b>
|
||||
<a class="cursor-hand" onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>
|
||||
<a class="cursor-hand"
|
||||
onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>
|
||||
{{/if}}
|
||||
{{if j < entries.length - 2}}
|
||||
/
|
||||
|
@ -806,7 +875,8 @@
|
|||
<tr>
|
||||
<th title="${$.i18n.prop('browse.artifact.metadatas.key')}">${$.i18n.prop('browse.artifact.metadatas.key')}</th>
|
||||
<th title="${$.i18n.prop('browse.artifact.metadatas.value')}">${$.i18n.prop('browse.artifact.metadatas.value')}</th>
|
||||
<th title="${$.i18n.prop('browse.artifact.metadatas.delete')}">${$.i18n.prop('browse.artifact.metadatas.delete')}</th>
|
||||
<th title="${$.i18n.prop('browse.artifact.metadatas.delete')}">${$.i18n.prop('browse.artifact.metadatas.delete')}
|
||||
</th>
|
||||
<th title="${$.i18n.prop('browse.artifact.metadatas.save')}">${$.i18n.prop('browse.artifact.metadatas.save')}</th>
|
||||
</tr>
|
||||
|
||||
|
@ -874,6 +944,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<h4 id="artifact-content-text-header">${$.i18n.prop('browse.artifact.content.header')}</h4>
|
||||
|
||||
<div class="source">
|
||||
<pre class="prettyprint linenums" id="artifact-content-text"></pre>
|
||||
</div>
|
||||
|
@ -884,7 +955,8 @@
|
|||
{{each(i, row) artifacts()}}
|
||||
<li>
|
||||
{{if deleteKarma}}
|
||||
<a href="#" data-bind="click: function(){deleteArtifact(row)}"><img src="images/trash.png"/></a> <a href="${row.url}">${row.packaging}:${row.version} - ${row.size}</a>
|
||||
<a href="#" data-bind="click: function(){deleteArtifact(row)}"><img src="images/trash.png"/></a> <a
|
||||
href="${row.url}">${row.packaging}:${row.version} - ${row.size}</a>
|
||||
{{else}}
|
||||
<a href="${row.url}">${row.packaging}:${row.version} - ${row.size}</a>
|
||||
{{/if}}
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<div id="modal-login" class="modal hide fade">
|
||||
<div class="modal-header">
|
||||
<a href="#" class="close" data-dismiss="modal">×</a>
|
||||
|
||||
<h3>${$.i18n.prop('login.section.title')}</h3>
|
||||
</div>
|
||||
<div class="modal-body" id="modal-login-content">
|
||||
|
@ -27,14 +28,18 @@
|
|||
<fieldset>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="user-login-form-username">${$.i18n.prop('username')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="user-login-form-username" name="user-login-form-username" class="required" placeholder="${$.i18n.prop('login.username.placehoder')}"/>
|
||||
<input type="text" id="user-login-form-username" name="user-login-form-username" class="required"
|
||||
placeholder="${$.i18n.prop('login.username.placehoder')}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="user-login-form-password">${$.i18n.prop('password')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="user-login-form-password" name="user-login-form-password" class="required" placeholder="${$.i18n.prop('login.password.placehoder')}"/>
|
||||
<input type="password" id="user-login-form-password" name="user-login-form-password" class="required"
|
||||
placeholder="${$.i18n.prop('login.password.placehoder')}"/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -46,7 +51,9 @@
|
|||
<input type="checkbox" id="user-login-form-rememberme">${$.i18n.prop('rememberme')}
|
||||
</label>
|
||||
</div>
|
||||
<button class="btn btn-primary" id="modal-login-ok" data-loading-text="${$.i18n.prop('common.loading')}">${$.i18n.prop('login')}</button>
|
||||
<button class="btn btn-primary" id="modal-login-ok" data-loading-text="${$.i18n.prop('common.loading')}">
|
||||
${$.i18n.prop('login')}
|
||||
</button>
|
||||
<button class="btn btn-info" id="modal-login-password-reset">${$.i18n.prop('password.reset')}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -54,6 +61,7 @@
|
|||
<div id="modal-register" class="modal hide fade">
|
||||
<div class="modal-header">
|
||||
<a href="#" class="close" data-dismiss="modal">×</a>
|
||||
|
||||
<h3>${$.i18n.prop('register.section.title')}</h3>
|
||||
</div>
|
||||
<div class="modal-body" id="modal-register-content">
|
||||
|
@ -62,20 +70,23 @@
|
|||
<fieldset>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="user-register-form-username">${$.i18n.prop('username')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="user-register-form-username" name="user-register-form-username" class="required" />
|
||||
<input type="text" id="user-register-form-username" name="user-register-form-username" class="required"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="user-register-form-fullname">${$.i18n.prop('full.name')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="user-register-form-fullname" name="user-register-form-fullname" class="required" />
|
||||
<input type="text" id="user-register-form-fullname" name="user-register-form-fullname" class="required"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="user-register-form-email">${$.i18n.prop('email')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="user-register-form-email" name="user-register-form-email" class="required email" />
|
||||
<input type="text" id="user-register-form-email" name="user-register-form-email" class="required email"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -90,6 +101,7 @@
|
|||
<div id="modal-password-change" class="modal hide fade">
|
||||
<div class="modal-header">
|
||||
<a href="#" class="close" data-dismiss="modal">×</a>
|
||||
|
||||
<h3>${$.i18n.prop('password.section.title')}</h3>
|
||||
</div>
|
||||
<div class="modal-body" id="modal-password-change-content">
|
||||
|
@ -98,23 +110,31 @@
|
|||
<fieldset>
|
||||
<!-- part displayed only when a logged user want to change password will be hide when validate user registration -->
|
||||
<div class="control-group" id="password-change-form-current-password-div">
|
||||
<label class="control-label" for="password-change-form-current-password">${$.i18n.prop('password.existing')}</label>
|
||||
<label class="control-label"
|
||||
for="password-change-form-current-password">${$.i18n.prop('password.existing')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="password-change-form-current-password" name="password-change-form-current-password" class="required" value=""/>
|
||||
<input type="password" id="password-change-form-current-password"
|
||||
name="password-change-form-current-password" class="required" value=""/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="passwordChangeFormNewPassword">${$.i18n.prop('password.new')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="passwordChangeFormNewPassword" name="passwordChangeFormNewPassword" class="required" value=""/>
|
||||
<input type="password" id="passwordChangeFormNewPassword" name="passwordChangeFormNewPassword"
|
||||
class="required" value=""/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="passwordChangeFormNewPasswordConfirm">${$.i18n.prop('password.new.confirm')}</label>
|
||||
<label class="control-label"
|
||||
for="passwordChangeFormNewPasswordConfirm">${$.i18n.prop('password.new.confirm')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="passwordChangeFormNewPasswordConfirm" name="passwordChangeFormNewPasswordConfirm" class="required" value=""/>
|
||||
<input type="password" id="passwordChangeFormNewPasswordConfirm" name="passwordChangeFormNewPasswordConfirm"
|
||||
class="required" value=""/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -128,6 +148,7 @@
|
|||
<div id="modal-user-edit" class="modal hide fade">
|
||||
<div class="modal-header">
|
||||
<a href="#" class="close" data-dismiss="modal">×</a>
|
||||
|
||||
<h3>${$.i18n.prop('password.section.title')}</h3>
|
||||
</div>
|
||||
<div class="modal-body" id="modal-user-edit-content">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
~ under the License.
|
||||
-->
|
||||
<script id='redback/user-edit-tmpl' type='text/html'>
|
||||
<div id="edit-user-details-pills">
|
||||
<div id="edit-user-details-pills">
|
||||
<ul id="edit_user_details_pills_headers" class="nav nav-pills" data-target="#edit-user-details-pills-content">
|
||||
<li class="active" id="user-view-detail-li">
|
||||
<a data-toggle="tab" href="#user-create-div">${$.i18n.prop('edit')}</a>
|
||||
|
@ -34,58 +34,72 @@
|
|||
<fieldset id="user-create-fieldset">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="username">${$.i18n.prop('username')}</label>
|
||||
|
||||
<div class="controls" id="username-div">
|
||||
{{if $data.username.length>0}}
|
||||
<span class="uneditable-input">${$data.username}</span>
|
||||
{{else}}
|
||||
<input type="text" id="username" name="username" size="30" class="required" data-bind="value: username"/>
|
||||
<input type="text" id="username" name="username" size="30" class="required"
|
||||
data-bind="value: username"/>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="fullname">${$.i18n.prop('full.name')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="fullname" name="fullname" size="30" class="required" data-bind="value: fullName"/>
|
||||
<input type="text" id="fullname" name="fullname" size="30" class="required"
|
||||
data-bind="value: fullName"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="password">${$.i18n.prop('password')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="password" name="password" class="required" data-bind="value: password"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="confirmPassword">${$.i18n.prop('confirm.password')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="confirmPassword" name="confirmPassword" data-bind="value: confirmPassword"/>
|
||||
<input type="password" id="confirmPassword" name="confirmPassword"
|
||||
data-bind="value: confirmPassword"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="email">${$.i18n.prop('email.address')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" id="email" name="email" class="required email" data-bind="value: email"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="validated">${$.i18n.prop('validated')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="validated" name="validated" data-bind="checked: validated"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="locked">${$.i18n.prop('locked')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="locked" name="locked" data-bind="checked: locked"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="passwordChangeRequired">${$.i18n.prop('user.change.password.required')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="passwordChangeRequired" name="passwordChangeRequired" data-bind="checked: passwordChangeRequired"/>
|
||||
<input type="checkbox" id="passwordChangeRequired" name="passwordChangeRequired"
|
||||
data-bind="checked: passwordChangeRequired"/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<button data-bind="click: saveUser" class="btn" id="user-create-form-register-button">${$.i18n.prop('save')}</button>
|
||||
<button data-bind="click: saveUser" class="btn" id="user-create-form-register-button">
|
||||
${$.i18n.prop('save')}
|
||||
</button>
|
||||
<button class="btn" id="user-create-form-cancel-button">${$.i18n.prop('cancel')}</button>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -99,7 +113,7 @@
|
|||
roles edit
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="user_view_roles_list_tmpl" type="text/html">
|
||||
|
@ -147,7 +161,8 @@
|
|||
<tr>
|
||||
<td>${curResource}</td>
|
||||
{{each roleTemplates}}
|
||||
<td><input type="checkbox" value="${$value.namePrefix}${$value.delimiter}${curResource}" data-bind="checked: user.assignedRoles"/></td>
|
||||
<td><input type="checkbox" value="${$value.namePrefix}${$value.delimiter}${curResource}"
|
||||
data-bind="checked: user.assignedRoles"/></td>
|
||||
{{/each}}
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
@ -178,7 +193,9 @@
|
|||
{{each(i, row) itemsOnCurrentPage()}}
|
||||
<tr data-bind="css:{ 'modified': row.modified()}">
|
||||
{{each(j, columnDefinition) columns}}
|
||||
<td>${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }</td>
|
||||
<td>
|
||||
${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] }
|
||||
</td>
|
||||
{{/each}}
|
||||
<td id="users-grid-user-id-${row.username()}">
|
||||
<a href="#" data-bind="click: function(){ editUserBox(row) }">
|
||||
|
@ -271,7 +288,8 @@
|
|||
|
||||
<ul id="roles-view-tabs" class="nav nav-tabs" data-target="roles-view-tabs-content">
|
||||
<li class="active" id="roles-view-tabs-li-roles-grid">
|
||||
<a data-toggle="tab" href="#roles-view" id="roles-view-tabs-a-roles-grid">${$.i18n.prop('roles.grid.tab.title')}</a>
|
||||
<a data-toggle="tab" href="#roles-view"
|
||||
id="roles-view-tabs-a-roles-grid">${$.i18n.prop('roles.grid.tab.title')}</a>
|
||||
</li>
|
||||
<li id="roles-view-tabs-li-roles-edit">
|
||||
<a data-toggle="tab" href="#role-edit">${$.i18n.prop('edit')}</a>
|
||||
|
@ -315,7 +333,9 @@
|
|||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="pull-left">
|
||||
<button class="btn" id="role-edit-description-save" data-bind="click: saveRoleDescription">${$.i18n.prop('save')}</button>
|
||||
<button class="btn" id="role-edit-description-save" data-bind="click: saveRoleDescription">
|
||||
${$.i18n.prop('save')}
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -380,7 +400,8 @@
|
|||
<div class="accordion-group>">
|
||||
<div class="accordion-heading">
|
||||
<h3>
|
||||
<a class="accordion-toggle" href="#role-users-collapse" data-parent="#edit-role-accordion" data-toggle="collapse">${$.i18n.prop('role.edit.section.users')}</a>
|
||||
<a class="accordion-toggle" href="#role-users-collapse" data-parent="#edit-role-accordion"
|
||||
data-toggle="collapse">${$.i18n.prop('role.edit.section.users')}</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div id="role-users-collapse" class="accordion-body collapse">
|
||||
|
@ -390,7 +411,7 @@
|
|||
</div>
|
||||
<ul>
|
||||
{{each $data.parentsRolesUsers}}
|
||||
<li>${$value.fullName} - ( ${$value.username} - ${$value.email} ) </li>
|
||||
<li>${$value.fullName} - ( ${$value.username} - ${$value.email} )</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
@ -413,7 +434,7 @@
|
|||
{{if users().length>0}}
|
||||
<ul>
|
||||
{{each(j, user) users()}}
|
||||
<li>${user.fullName()} - ( ${user.username()} - ${user.email()} ) </li>
|
||||
<li>${user.fullName()} - ( ${user.username()} - ${user.email()} )</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{else}}
|
||||
|
@ -425,16 +446,20 @@
|
|||
<div id="role-edit-users" class="clearfix ar-multiselect pill-pane">
|
||||
|
||||
<div class="ar-multiselect-column ar-multiselect-left">
|
||||
<select data-bind="options: otherUsers ,optionsText: 'username',selectedOptions:selectedOtherUsers" multiple="true" id="role-edit-available-users"></select>
|
||||
<select data-bind="options: otherUsers ,optionsText: 'username',selectedOptions:selectedOtherUsers"
|
||||
multiple="true" id="role-edit-available-users"></select>
|
||||
</div>
|
||||
<div class="ar-multiselect-column ar-multiselect-center">
|
||||
<ul style="list-style: none">
|
||||
<li><input class="btn" id="role-edit-users-add-user" type="button" data-bind="click: addUser" value=">"/></li>
|
||||
<li><input class="btn" id="role-edit-users-remove-user" type="button" data-bind="click: removeUser" value="<"/></li>
|
||||
<li><input class="btn" id="role-edit-users-add-user" type="button" data-bind="click: addUser"
|
||||
value=">"/></li>
|
||||
<li><input class="btn" id="role-edit-users-remove-user" type="button" data-bind="click: removeUser"
|
||||
value="<"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="ar-multiselect-column ar-multiselect-right">
|
||||
<select data-bind="options: users ,optionsText: 'username',selectedOptions:selectedUsers" multiple="true" id="role-edit-affected-users"></select>
|
||||
<select data-bind="options: users ,optionsText: 'username',selectedOptions:selectedUsers" multiple="true"
|
||||
id="role-edit-affected-users"></select>
|
||||
</div>
|
||||
<button class="btn" id="role-edit-users-save" data-bind="click: saveUsers">${$.i18n.prop('save')}</button>
|
||||
</div>
|
||||
|
@ -458,7 +483,8 @@
|
|||
{{each(i, row) itemsOnCurrentPage()}}
|
||||
<tr data-bind="css:{ 'modified': row.modified()||row.usersModified()}">
|
||||
{{each(j, columnDefinition) columns}}
|
||||
{{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText])}}
|
||||
{{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) :
|
||||
row[columnDefinition.rowText])}}
|
||||
<td id="role-${columnDefinition.rowText}-${row.name()}">
|
||||
${val}
|
||||
</td>
|
||||
|
@ -487,12 +513,14 @@
|
|||
<fieldset>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="username">${$.i18n.prop('username')}</label>
|
||||
|
||||
<div class="controls" id="username-div">
|
||||
<span class="uneditable-input" data-bind="text: user.username"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="fullname">${$.i18n.prop('full.name')}</label>
|
||||
|
||||
<div class="controls">
|
||||
{{if user.readOnly}}
|
||||
<span class="uneditable-input" data-bind="text: user.fullName"></span>
|
||||
|
@ -503,6 +531,7 @@
|
|||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="email">${$.i18n.prop('email.address')}</label>
|
||||
|
||||
<div class="controls">
|
||||
{{if user.readOnly}}
|
||||
<span class="uneditable-input" data-bind="text: user.email"></span>
|
||||
|
@ -513,13 +542,16 @@
|
|||
</div>
|
||||
<div class="control-group" id="user-edit-form-current-password-div">
|
||||
<label class="control-label" for="userEditFormCurrentPassword">${$.i18n.prop('password.existing')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="userEditFormCurrentPassword" name="userEditFormCurrentPassword" class="required" value=""/>
|
||||
<input type="password" id="userEditFormCurrentPassword" name="userEditFormCurrentPassword" class="required"
|
||||
value=""/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="userEditFormNewPassword">${$.i18n.prop('password.new')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="userEditFormNewPassword" name="userEditFormNewPassword" class="" value=""/>
|
||||
</div>
|
||||
|
@ -527,8 +559,10 @@
|
|||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="userEditFormNewPasswordConfirm">${$.i18n.prop('password.new.confirm')}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="password" id="userEditFormNewPasswordConfirm" name="userEditFormNewPasswordConfirm" class="" value=""/>
|
||||
<input type="password" id="userEditFormNewPasswordConfirm" name="userEditFormNewPasswordConfirm" class=""
|
||||
value=""/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in New Issue