mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 15:43:24 +00:00
Ajoute des informations dans le champ de partage
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<div class="share-link">
|
||||
<form action="index.html" method="get">
|
||||
<label for="url">Lien à partager</label>
|
||||
<input type="text" name="url" id="url" value="{{url}}">
|
||||
<label for="share">Lien à partager</label>
|
||||
<textarea name="share" rows="6" cols="40">#Kaamelott Soundboard - {{title}}
|
||||
{{url}}</textarea>
|
||||
</form>
|
||||
|
||||
<div class="likely" data-title="#Kaamelott Soundboard - {{title}}" data-url="{{url}}">
|
||||
|
||||
@@ -18,7 +18,7 @@ define("views/share", function(require) {
|
||||
ui: {
|
||||
background: "#modal-back",
|
||||
body: ".share-link",
|
||||
field: "input:text"
|
||||
field: "textarea"
|
||||
},
|
||||
events: {
|
||||
"click @ui.background": "destroy"
|
||||
|
||||
Reference in New Issue
Block a user