2012-05-22 19:40:57 +04:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
zerobin.paste_not_found = true;
|
|
|
|
|
</script>
|
|
|
|
|
|
2012-05-02 13:37:28 +04:00
|
|
|
|
<p class="alert alert-error">
|
2020-08-11 12:55:29 +03:00
|
|
|
|
<a class="close" data-dismiss="alert" href="#" @click.prevent="$event.target.parentNode.remove()">×</a>
|
2012-05-02 13:36:57 +04:00
|
|
|
|
<strong class="title">404 Error!</strong>
|
2012-05-02 12:46:51 +04:00
|
|
|
|
<span class="message">
|
2012-05-02 13:36:57 +04:00
|
|
|
|
Either this paste has expired or this page never existed.
|
2012-05-02 12:46:51 +04:00
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="file-upload">
|
2020-08-11 12:55:29 +03:00
|
|
|
|
<input type="button" class="btn btn-upload" :value="isUploading ? 'Uploading...': 'Upload file'"
|
|
|
|
|
:disabled="isUploading">
|
|
|
|
|
<input type="file" class="hide-upload" id="file-upload" @change="handleUpload($event.target.files)">
|
2012-05-02 12:46:51 +04:00
|
|
|
|
</p>
|
|
|
|
|
|
2020-08-11 17:37:03 +03:00
|
|
|
|
<form class="well" method="post" action="/paste/create" @submit.prevent="encryptAndSendPaste()">
|
|
|
|
|
<p class=" paste-option">
|
2020-08-11 12:55:29 +03:00
|
|
|
|
<label for="expiration">Expiration:</label>
|
|
|
|
|
<select id="expiration" name="expiration" v-model="newPaste.expiration">
|
|
|
|
|
<option value="burn_after_reading">Burn after reading</option>
|
|
|
|
|
<option selected value="1_day">1 day</option>
|
|
|
|
|
<option value="1_month">1 month</option>
|
|
|
|
|
<option value="never">Never</option>
|
|
|
|
|
</select>
|
2020-08-12 12:01:31 +03:00
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
2020-08-11 12:55:29 +03:00
|
|
|
|
</p>
|
|
|
|
|
<p>
|
2020-08-11 17:37:03 +03:00
|
|
|
|
<div class=" progress progress-striped active" v-show="isLoading">
|
2012-05-02 12:46:51 +04:00
|
|
|
|
<div class="bar"></div>
|
2020-08-12 12:01:31 +03:00
|
|
|
|
</div>
|
|
|
|
|
<textarea rows="10" style="width:100%;" class="input-xlarge" id="content" name="content" autofocus
|
|
|
|
|
v-on:keydown.prevent.ctrl.enter="encryptAndSendPaste()"></textarea>
|
2020-08-11 12:55:29 +03:00
|
|
|
|
</p>
|
|
|
|
|
<p class="paste-option down" v-if="displayBottomToolBar">
|
|
|
|
|
<label for="expiration">Expiration:</label>
|
|
|
|
|
<select id="expiration" name="expiration" v-model="newPaste.expiration">
|
|
|
|
|
<option value="burn_after_reading">Burn after reading</option>
|
|
|
|
|
<option selected value="1_day">1 day</option>
|
|
|
|
|
<option value="1_month">1 month</option>
|
|
|
|
|
<option value="never">Never</option>
|
|
|
|
|
</select>
|
2020-08-11 17:37:03 +03:00
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
2020-08-11 12:55:29 +03:00
|
|
|
|
</p>
|
2012-05-02 12:46:51 +04:00
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
2020-08-11 12:55:29 +03:00
|
|
|
|
% rebase('base', settings=settings, pastes_count=pastes_count)
|