mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Merge branch 'v2' of github.com:Tygs/0bin into v2
This commit is contained in:
commit
0d824b70bd
@ -171,7 +171,7 @@ var app = new Vue({
|
|||||||
})
|
})
|
||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
app.forceLoad("/");
|
window.location = "/";
|
||||||
} else {
|
} else {
|
||||||
form.forEach(function (node) {
|
form.forEach(function (node) {
|
||||||
node.disabled = false;
|
node.disabled = false;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<div class="well paste-form">
|
<div class="well paste-form">
|
||||||
<form action="/" method="get" accept-charset="utf-8">
|
<form action="/" method="get" accept-charset="utf-8">
|
||||||
|
|
||||||
<div :class="{'d-flex': true, 'justify-content-between': true , 'reader-mode-tools': readerMode}" >
|
<div :class="{'d-flex': true, 'justify-content-between': true , 'reader-mode-tools': readerMode}">
|
||||||
|
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<button v-if="support.clipboard && currentPaste.type === 'text'" @click.prevent="copyToClipboard()"
|
<button v-if="support.clipboard && currentPaste.type === 'text'" @click.prevent="copyToClipboard()"
|
||||||
@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
<div class="d-flex justify-content-between down">
|
<div class="d-flex justify-content-between down">
|
||||||
<div v-if="currentPaste.ownerKey">
|
<div v-if="currentPaste.ownerKey">
|
||||||
<button class="btn btn-clone btn-secondary" @click="handleDeletePaste()">Delete Paste</button>
|
<button class="btn btn-secondary" @click.prevent="handleDeletePaste()">Delete Paste</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span class="paste-option btn-group responsive-icons">
|
<span class="paste-option btn-group responsive-icons">
|
||||||
@ -179,7 +179,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<textarea rows="10" style="width:100%;" class=" form-control" @keydown.ctrl.enter="encryptAndSendPaste()"
|
<textarea rows="10" style="width:100%;" class=" form-control" @keydown.ctrl.enter="encryptAndSendPaste()"
|
||||||
id="content" name="content"></textarea>
|
id="content" name="content"></textarea>
|
||||||
<div class="paste-options">
|
<div class="paste-options">
|
||||||
<h6>Optional fields (those are <em>not</em> encrypted):</h6>
|
<h6>Optional fields (those are <em>not</em> encrypted):</h6>
|
||||||
|
|
||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
|
Loading…
Reference in New Issue
Block a user