mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 08:45:13 +00:00
key export: center QR code on the page
This commit is contained in:
parent
04bd6fb013
commit
1fabb2df58
1 changed files with 6 additions and 3 deletions
|
@ -2171,8 +2171,11 @@ if (typeof define == 'function' && define.amd) define([], function() { return Sh
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* center the QR code on the page */
|
||||||
|
#qr {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -2217,7 +2220,7 @@ if (typeof define == 'function' && define.amd) define([], function() { return Sh
|
||||||
<div id="printout">
|
<div id="printout">
|
||||||
<div id="title" contenteditable>BorgBackup Printable Key Backup</div>
|
<div id="title" contenteditable>BorgBackup Printable Key Backup</div>
|
||||||
<div contenteditable>To restore either scan the QR code below, decode it and import it using
|
<div contenteditable>To restore either scan the QR code below, decode it and import it using
|
||||||
<pre>borg key-import /path/to/repo scannedfile</pre>
|
<pre>borg key import /path/to/repo scannedfile</pre>
|
||||||
|
|
||||||
Or run
|
Or run
|
||||||
<pre>borg key import --paper /path/to/repo</pre> and type in the text below.<br><br></div>
|
<pre>borg key import --paper /path/to/repo</pre> and type in the text below.<br><br></div>
|
||||||
|
|
Loading…
Reference in a new issue