Fix delete button position
This commit is contained in:
parent
2de03383f6
commit
7749566835
@ -58,8 +58,8 @@ export default class PositionDialogModel extends ViewModel {
|
||||
* @return {string}
|
||||
*/
|
||||
getHtml() {
|
||||
return `<div style="float:left;">${$._('editingposition', this.positionIndex + 1, `<b>${uUtils.htmlEncode(this.position.trackname)}</b>`)}</div>
|
||||
<div class="red-button button-resolve"><b><a data-bind="onPositionDelete">${$._('delposition')}</a></b></div>
|
||||
return `<div class="red-button button-resolve"><b><a data-bind="onPositionDelete">${$._('delposition')}</a></b></div>
|
||||
<div>${$._('editingposition', this.positionIndex + 1, `<b>${uUtils.htmlEncode(this.position.trackname)}</b>`)}</div>
|
||||
<div style="clear: both; padding-bottom: 1em;"></div>
|
||||
<form id="positionForm">
|
||||
<label><b>${$._('comment')}</b></label><br>
|
||||
|
@ -52,8 +52,8 @@ export default class TrackDialogModel extends ViewModel {
|
||||
* @return {string}
|
||||
*/
|
||||
getHtml() {
|
||||
return `<div style="float:left">${$._('editingtrack', `<b>${uUtils.htmlEncode(this.track.name)}</b>`)}</div>
|
||||
<div class="red-button button-resolve"><b><a data-bind="onTrackDelete">${$._('deltrack')}</a></b></div>
|
||||
return `<div class="red-button button-resolve"><b><a data-bind="onTrackDelete">${$._('deltrack')}</a></b></div>
|
||||
<div>${$._('editingtrack', `<b>${uUtils.htmlEncode(this.track.name)}</b>`)}</div>
|
||||
<div style="clear: both; padding-bottom: 1em;"></div>
|
||||
<form id="trackForm">
|
||||
<label><b>${$._('trackname')}</b></label>
|
||||
|
@ -138,8 +138,8 @@ export default class UserDialogModel extends ViewModel {
|
||||
break;
|
||||
case 'edit':
|
||||
observer = 'onUserUpdate';
|
||||
deleteButton = `<div style="float:left">${$._('editinguser', `<b>${uUtils.htmlEncode(this.user.login)}</b>`)}</div>
|
||||
<div class="red-button button-resolve"><b><a data-bind="onUserDelete">${$._('deluser')}</a></b></div>
|
||||
deleteButton = `<div class="red-button button-resolve"><b><a data-bind="onUserDelete">${$._('deluser')}</a></b></div>
|
||||
<div>${$._('editinguser', `<b>${uUtils.htmlEncode(this.user.login)}</b>`)}</div>
|
||||
<div style="clear: both; padding-bottom: 1em;"></div>`;
|
||||
fields = `<label><b>${$._('password')}</b></label>
|
||||
<input type="password" placeholder="${$._('passwordenter')}" name="password" data-bind="password" required>
|
||||
|
Loading…
x
Reference in New Issue
Block a user