Allow selection of process output and commands.
parent
687f1f640f
commit
29743ad3c4
|
|
@ -43,6 +43,10 @@
|
|||
|
||||
.pg-bg-process-logs {
|
||||
width: 100%;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.pg-bg-etime {
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ class BackupMessage(IProcessDesc):
|
|||
res += html.safe_str(
|
||||
_("Running command:")
|
||||
)
|
||||
res += '</b><br><i>'
|
||||
res += '</b><br><span class="pg-bg-cmd enable-selection">'
|
||||
res += html.safe_str(cmd)
|
||||
|
||||
replace_next = False
|
||||
|
|
@ -177,7 +177,7 @@ class BackupMessage(IProcessDesc):
|
|||
if arg == '--file':
|
||||
replace_next = True
|
||||
res += cmdArg(arg)
|
||||
res += '</i></div>'
|
||||
res += '</span></div>'
|
||||
|
||||
return res
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ class Message(IProcessDesc):
|
|||
res += html.safe_str(
|
||||
_("Running command:")
|
||||
)
|
||||
res += '</b><br><span class="pg-bg-cmd">'
|
||||
res += '</b><br><span class="pg-bg-cmd enable-selection">'
|
||||
res += html.safe_str(cmd)
|
||||
|
||||
replace_next = False
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ class RestoreMessage(IProcessDesc):
|
|||
res += html.safe_str(
|
||||
_("Running command:")
|
||||
)
|
||||
res += '</b><br><i>'
|
||||
res += '</b><br><span class="pg-bg-cmd enable-selection">'
|
||||
res += html.safe_str(cmd)
|
||||
|
||||
def cmdArg(x):
|
||||
|
|
@ -119,7 +119,7 @@ class RestoreMessage(IProcessDesc):
|
|||
if no_args > 1:
|
||||
res += ' "' + html.safe_str(arg) + '"'
|
||||
|
||||
res += '</i></div>'
|
||||
res += '</span></div>'
|
||||
|
||||
return res
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue