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