Compare commits
2 Commits
3430b6e59e
...
a793850b04
Author | SHA1 | Date |
---|---|---|
|
a793850b04 | |
|
5fb17f741c |
|
@ -1,8 +1,11 @@
|
|||
Vue.component('copybox',{
|
||||
template : `
|
||||
<div class="y2t-output">
|
||||
<button v-on:click="copyToClipboard">Copy</button>
|
||||
<div class="top">
|
||||
<span></span><button v-on:click="copyToClipboard"><span class="byl-icon-copy">Copy to clipboard</span></button>
|
||||
</div>
|
||||
<p>{{ txt }}</p>
|
||||
<div class="shader"></div>
|
||||
</div>
|
||||
`,
|
||||
props : {
|
||||
|
|
|
@ -10,6 +10,12 @@
|
|||
|
||||
<div id="root">
|
||||
|
||||
<section id="output">
|
||||
|
||||
<h4>Here are your prompts!</h4>
|
||||
|
||||
<p>You can copy them one by one in ChatGPT. Why is it presented that way? Check out our <a href="./QnA/" target="_blank">Q&A page</a>.</p>
|
||||
|
||||
<?php
|
||||
$url = $_POST['url'];
|
||||
$lang = $_POST['lang'];
|
||||
|
@ -25,6 +31,9 @@
|
|||
}
|
||||
?>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<script src="assets/js/vue.min.js"></script>
|
||||
<script src="assets/js/main.js"></script>
|
||||
|
|
Loading…
Reference in New Issue