1
0
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:
Antoine
2016-08-05 13:48:17 +02:00
parent 6490efeee1
commit eb5e7bb481
3 changed files with 9 additions and 5 deletions

View File

@@ -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}}">

View File

@@ -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"