mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 23:53:24 +00:00
Ajoute des informations dans le champ de partage
This commit is contained in:
@@ -481,7 +481,8 @@ label {
|
|||||||
input {
|
input {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
input[type="text"] {
|
input[type="text"],
|
||||||
|
textarea {
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
border: 1px solid #DEDEDE;
|
border: 1px solid #DEDEDE;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@@ -489,11 +490,13 @@ input[type="text"] {
|
|||||||
color: #555;
|
color: #555;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
height: 34px;
|
|
||||||
line-height: 1.42857;
|
line-height: 1.42857;
|
||||||
outline: none;
|
outline: none;
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
}
|
}
|
||||||
|
input[type="text"] {
|
||||||
|
height: 34px;
|
||||||
|
}
|
||||||
.btn, .btn:hover, .btn:focus,
|
.btn, .btn:hover, .btn:focus,
|
||||||
a.btn, a.btn:hover, a.btn:focus {
|
a.btn, a.btn:hover, a.btn:focus {
|
||||||
background-color: #CB4D59;
|
background-color: #CB4D59;
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<div class="share-link">
|
<div class="share-link">
|
||||||
<form action="index.html" method="get">
|
<form action="index.html" method="get">
|
||||||
<label for="url">Lien à partager</label>
|
<label for="share">Lien à partager</label>
|
||||||
<input type="text" name="url" id="url" value="{{url}}">
|
<textarea name="share" rows="6" cols="40">#Kaamelott Soundboard - {{title}}
|
||||||
|
{{url}}</textarea>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="likely" data-title="#Kaamelott Soundboard - {{title}}" data-url="{{url}}">
|
<div class="likely" data-title="#Kaamelott Soundboard - {{title}}" data-url="{{url}}">
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ define("views/share", function(require) {
|
|||||||
ui: {
|
ui: {
|
||||||
background: "#modal-back",
|
background: "#modal-back",
|
||||||
body: ".share-link",
|
body: ".share-link",
|
||||||
field: "input:text"
|
field: "textarea"
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
"click @ui.background": "destroy"
|
"click @ui.background": "destroy"
|
||||||
|
|||||||
Reference in New Issue
Block a user