Small UI changes

+ updated bootstrap
+ add .gitignore when creating themes
+ moving bootstrap and fontello config.json into utilities folder
This commit is contained in:
Luc Didry
2016-07-19 13:21:57 +02:00
parent 4d2721f533
commit 48cc398efb
15 changed files with 481 additions and 307 deletions
+3
View File
@@ -85,6 +85,9 @@ EOF
open $f, '>', File::Spec->catfile($home, 'Makefile') or die "Unable to open $home/Makefile: $!";
print $f $makefile;
close $f;
open $f, '>', File::Spec->catfile($home, '.gitignore') or die "Unable to open $home/.gitignore: $!";
print $f 'public/packed/';
close $f;
} else {
say "$name theme already exists. Aborting.";
exit 1;
+27 -25
View File
@@ -20,9 +20,9 @@ msgstr ""
#. ($delay)
#. (config('max_delay')
#: themes/default/templates/partial/lutim.js.ep:238
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:248
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
msgid "%1 days"
msgstr "%1 Tage"
@@ -40,7 +40,7 @@ msgid "1 year"
msgstr "1 Jahr"
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
msgstr "24 Stunden"
@@ -67,9 +67,9 @@ msgstr "Klicken um den Dateibrowser zu öffnen"
msgid "Contributors"
msgstr "Mitwirkende"
#: themes/default/templates/partial/lutim.js.ep:313
#: themes/default/templates/partial/lutim.js.ep:310
#: themes/default/templates/partial/lutim.js.ep:359
#: themes/default/templates/partial/lutim.js.ep:431
#: themes/default/templates/partial/lutim.js.ep:437
msgid "Copy all view links to clipboard"
msgstr "Alle Links zum Anschauen in die Zwischenablage kopieren"
@@ -79,10 +79,11 @@ msgstr "Alle Links zum Anschauen in die Zwischenablage kopieren"
#: themes/default/templates/index.html.ep:77
#: themes/default/templates/index.html.ep:85
#: themes/default/templates/index.html.ep:93
#: themes/default/templates/partial/lutim.js.ep:180
#: themes/default/templates/partial/lutim.js.ep:192
#: themes/default/templates/partial/lutim.js.ep:206
#: themes/default/templates/partial/lutim.js.ep:220
#: themes/default/templates/partial/common.js.ep:45
#: themes/default/templates/partial/lutim.js.ep:176
#: themes/default/templates/partial/lutim.js.ep:188
#: themes/default/templates/partial/lutim.js.ep:202
#: themes/default/templates/partial/lutim.js.ep:217
msgid "Copy to clipboard"
msgstr "In die Zwischenablage kopieren"
@@ -94,13 +95,14 @@ msgstr "Zähler"
#: themes/default/templates/index.html.ep:147
#: themes/default/templates/index.html.ep:178
#: themes/default/templates/myfiles.html.ep:16
#: themes/default/templates/partial/lutim.js.ep:259
#: themes/default/templates/partial/lutim.js.ep:256
msgid "Delete at first view?"
msgstr "Nach erstem Aufruf löschen?"
#: themes/default/templates/index.html.ep:98
#: themes/default/templates/myfiles.html.ep:19
#: themes/default/templates/partial/common.js.ep:36
#: themes/default/templates/partial/common.js.ep:37
#: themes/default/templates/partial/common.js.ep:40
msgid "Deletion link"
msgstr "Link zum Löschen"
@@ -110,8 +112,8 @@ msgstr "Laden Sie alle Bilder"
#: themes/default/templates/index.html.ep:81
#: themes/default/templates/index.html.ep:83
#: themes/default/templates/partial/lutim.js.ep:194
#: themes/default/templates/partial/lutim.js.ep:198
#: themes/default/templates/partial/lutim.js.ep:202
msgid "Download link"
msgstr "Link zum Herunterladen"
@@ -133,7 +135,7 @@ msgstr "Ziehe Bilder in den dafür vorgesehenen Bereich und Lutim wird vier URLs
msgid "Encrypt the image (Lutim does not keep the key)."
msgstr "Verschlüssle das Bild (Lutim behält den Key nicht)"
#: themes/default/templates/partial/lutim.js.ep:74
#: themes/default/templates/partial/lutim.js.ep:72
msgid "Error while trying to modify the image."
msgstr "Beim bearbeiten des Bildes ist ein Fehler aufgetreten."
@@ -162,8 +164,8 @@ msgstr "Fork me!"
msgid "Gallery link"
msgstr "Link zur Galerie"
#: themes/default/templates/partial/lutim.js.ep:127
#: themes/default/templates/partial/lutim.js.ep:145
#: themes/default/templates/partial/lutim.js.ep:125
#: themes/default/templates/partial/lutim.js.ep:142
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Drücke STRG+C und dann Enter um den Kurz-Link zu kopieren."
@@ -224,7 +226,7 @@ msgstr "Behalte EXIF-Daten"
#: themes/default/templates/index.html.ep:118
#: themes/default/templates/index.html.ep:166
#: themes/default/templates/index.html.ep:206
#: themes/default/templates/partial/lutim.js.ep:263
#: themes/default/templates/partial/lutim.js.ep:260
msgid "Let's go!"
msgstr "Los gehts!"
@@ -234,8 +236,8 @@ msgstr "Lizenz:"
#: themes/default/templates/index.html.ep:89
#: themes/default/templates/index.html.ep:91
#: themes/default/templates/partial/lutim.js.ep:208
#: themes/default/templates/partial/lutim.js.ep:212
#: themes/default/templates/partial/lutim.js.ep:216
msgid "Link for share on social networks"
msgstr "Links zum teilen auf sozialen Netzwerken"
@@ -251,8 +253,8 @@ msgstr "Haupt-Entwickler"
#: themes/default/templates/index.html.ep:73
#: themes/default/templates/index.html.ep:75
#: themes/default/templates/partial/lutim.js.ep:186
#: themes/default/templates/partial/lutim.js.ep:189
#: themes/default/templates/partial/lutim.js.ep:182
#: themes/default/templates/partial/lutim.js.ep:185
msgid "Markdown syntax"
msgstr "Markdown Syntax"
@@ -290,7 +292,7 @@ msgstr "Warten Sie mal"
msgid "Send an image"
msgstr "Sende ein Bild"
#: themes/default/templates/partial/lutim.js.ep:53
#: themes/default/templates/partial/lutim.js.ep:51
msgid "Share it!"
msgstr "Teile es!"
@@ -299,7 +301,7 @@ msgid "Share on Twitter"
msgstr "Teile es auf Twitter"
#: themes/default/templates/index.html.ep:133
#: themes/default/templates/partial/lutim.js.ep:274
#: themes/default/templates/partial/lutim.js.ep:271
msgid "Something bad happened"
msgstr "Es ist ein Fehler aufgetreten"
@@ -335,7 +337,7 @@ msgstr "Die Datei %1 ist kein Bild."
#. ($c->req->max_message_size)
#: lib/Lutim/Controller.pm:253
#: lib/Lutim/Controller.pm:322
#: themes/default/templates/partial/lutim.js.ep:335
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "Die Datei überschreitet die Größenbeschränkung (%1)"
@@ -372,7 +374,7 @@ msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "Es sind keine URLs mehr verfügbar. Versuche es erneut oder kontaktiere den Administrator. %1"
#: themes/default/templates/index.html.ep:60
#: themes/default/templates/partial/lutim.js.ep:46
#: themes/default/templates/partial/lutim.js.ep:45
msgid "Tweet it!"
msgstr "Twittere es!"
@@ -422,8 +424,8 @@ msgstr "Hochladen ist momentan deaktiviert. Versuche es später erneut oder kont
#: themes/default/templates/index.html.ep:65
#: themes/default/templates/index.html.ep:67
#: themes/default/templates/myfiles.html.ep:14
#: themes/default/templates/partial/lutim.js.ep:168
#: themes/default/templates/partial/lutim.js.ep:172
#: themes/default/templates/partial/lutim.js.ep:176
msgid "View link"
msgstr "Link ansehen"
+27 -25
View File
@@ -18,9 +18,9 @@ msgstr ""
#. ($delay)
#. (config('max_delay')
#: themes/default/templates/partial/lutim.js.ep:238
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:248
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
msgid "%1 days"
msgstr ""
@@ -38,7 +38,7 @@ msgid "1 year"
msgstr "1 year"
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
msgstr "24 hours"
@@ -65,9 +65,9 @@ msgstr "Click to open the file browser"
msgid "Contributors"
msgstr "Contributors"
#: themes/default/templates/partial/lutim.js.ep:313
#: themes/default/templates/partial/lutim.js.ep:310
#: themes/default/templates/partial/lutim.js.ep:359
#: themes/default/templates/partial/lutim.js.ep:431
#: themes/default/templates/partial/lutim.js.ep:437
msgid "Copy all view links to clipboard"
msgstr ""
@@ -77,10 +77,11 @@ msgstr ""
#: themes/default/templates/index.html.ep:77
#: themes/default/templates/index.html.ep:85
#: themes/default/templates/index.html.ep:93
#: themes/default/templates/partial/lutim.js.ep:180
#: themes/default/templates/partial/lutim.js.ep:192
#: themes/default/templates/partial/lutim.js.ep:206
#: themes/default/templates/partial/lutim.js.ep:220
#: themes/default/templates/partial/common.js.ep:45
#: themes/default/templates/partial/lutim.js.ep:176
#: themes/default/templates/partial/lutim.js.ep:188
#: themes/default/templates/partial/lutim.js.ep:202
#: themes/default/templates/partial/lutim.js.ep:217
msgid "Copy to clipboard"
msgstr "Copy to clipboard"
@@ -92,13 +93,14 @@ msgstr ""
#: themes/default/templates/index.html.ep:147
#: themes/default/templates/index.html.ep:178
#: themes/default/templates/myfiles.html.ep:16
#: themes/default/templates/partial/lutim.js.ep:259
#: themes/default/templates/partial/lutim.js.ep:256
msgid "Delete at first view?"
msgstr "Delete at first view?"
#: themes/default/templates/index.html.ep:98
#: themes/default/templates/myfiles.html.ep:19
#: themes/default/templates/partial/common.js.ep:36
#: themes/default/templates/partial/common.js.ep:37
#: themes/default/templates/partial/common.js.ep:40
msgid "Deletion link"
msgstr "Deletion link"
@@ -108,8 +110,8 @@ msgstr ""
#: themes/default/templates/index.html.ep:81
#: themes/default/templates/index.html.ep:83
#: themes/default/templates/partial/lutim.js.ep:194
#: themes/default/templates/partial/lutim.js.ep:198
#: themes/default/templates/partial/lutim.js.ep:202
msgid "Download link"
msgstr "Download link"
@@ -131,7 +133,7 @@ msgstr "Drag and drop an image in the appropriate area or use the traditional wa
msgid "Encrypt the image (Lutim does not keep the key)."
msgstr "Encrypt the image (Lutim does not keep the key)."
#: themes/default/templates/partial/lutim.js.ep:74
#: themes/default/templates/partial/lutim.js.ep:72
msgid "Error while trying to modify the image."
msgstr ""
@@ -160,8 +162,8 @@ msgstr "Fork me!"
msgid "Gallery link"
msgstr ""
#: themes/default/templates/partial/lutim.js.ep:127
#: themes/default/templates/partial/lutim.js.ep:145
#: themes/default/templates/partial/lutim.js.ep:125
#: themes/default/templates/partial/lutim.js.ep:142
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr ""
@@ -222,7 +224,7 @@ msgstr "Keep EXIF tags"
#: themes/default/templates/index.html.ep:118
#: themes/default/templates/index.html.ep:166
#: themes/default/templates/index.html.ep:206
#: themes/default/templates/partial/lutim.js.ep:263
#: themes/default/templates/partial/lutim.js.ep:260
msgid "Let's go!"
msgstr "Let's go!"
@@ -232,8 +234,8 @@ msgstr "License:"
#: themes/default/templates/index.html.ep:89
#: themes/default/templates/index.html.ep:91
#: themes/default/templates/partial/lutim.js.ep:208
#: themes/default/templates/partial/lutim.js.ep:212
#: themes/default/templates/partial/lutim.js.ep:216
msgid "Link for share on social networks"
msgstr "Link for share on social networks"
@@ -247,8 +249,8 @@ msgstr "Main developers"
#: themes/default/templates/index.html.ep:73
#: themes/default/templates/index.html.ep:75
#: themes/default/templates/partial/lutim.js.ep:186
#: themes/default/templates/partial/lutim.js.ep:189
#: themes/default/templates/partial/lutim.js.ep:182
#: themes/default/templates/partial/lutim.js.ep:185
msgid "Markdown syntax"
msgstr "Markdown syntax"
@@ -283,7 +285,7 @@ msgstr "Please contact the administrator: %1"
msgid "Send an image"
msgstr "Send an image"
#: themes/default/templates/partial/lutim.js.ep:53
#: themes/default/templates/partial/lutim.js.ep:51
msgid "Share it!"
msgstr ""
@@ -292,7 +294,7 @@ msgid "Share on Twitter"
msgstr "Share on Twitter"
#: themes/default/templates/index.html.ep:133
#: themes/default/templates/partial/lutim.js.ep:274
#: themes/default/templates/partial/lutim.js.ep:271
msgid "Something bad happened"
msgstr "Something bad happened"
@@ -328,7 +330,7 @@ msgstr "The file %1 is not an image."
#. ($c->req->max_message_size)
#: lib/Lutim/Controller.pm:253
#: lib/Lutim/Controller.pm:322
#: themes/default/templates/partial/lutim.js.ep:335
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "The file exceed the size limit (%1)"
@@ -365,7 +367,7 @@ msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "There is no more available URL. Retry or contact the administrator. %1"
#: themes/default/templates/index.html.ep:60
#: themes/default/templates/partial/lutim.js.ep:46
#: themes/default/templates/partial/lutim.js.ep:45
msgid "Tweet it!"
msgstr "Tweet it!"
@@ -415,8 +417,8 @@ msgstr "Uploading is currently disabled, please try later or contact the adminis
#: themes/default/templates/index.html.ep:65
#: themes/default/templates/index.html.ep:67
#: themes/default/templates/myfiles.html.ep:14
#: themes/default/templates/partial/lutim.js.ep:168
#: themes/default/templates/partial/lutim.js.ep:172
#: themes/default/templates/partial/lutim.js.ep:176
msgid "View link"
msgstr "View link"
+27 -25
View File
@@ -20,9 +20,9 @@ msgstr ""
#. ($delay)
#. (config('max_delay')
#: themes/default/templates/partial/lutim.js.ep:238
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:248
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
msgid "%1 days"
msgstr "%1 días"
@@ -40,7 +40,7 @@ msgid "1 year"
msgstr "1 año"
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
msgstr "24 horas"
@@ -67,9 +67,9 @@ msgstr "Clic para abrir el explorador de archivos"
msgid "Contributors"
msgstr "Contribuidores"
#: themes/default/templates/partial/lutim.js.ep:313
#: themes/default/templates/partial/lutim.js.ep:310
#: themes/default/templates/partial/lutim.js.ep:359
#: themes/default/templates/partial/lutim.js.ep:431
#: themes/default/templates/partial/lutim.js.ep:437
msgid "Copy all view links to clipboard"
msgstr "Copiar todos los enlaces de visualización al portapapeles"
@@ -79,10 +79,11 @@ msgstr "Copiar todos los enlaces de visualización al portapapeles"
#: themes/default/templates/index.html.ep:77
#: themes/default/templates/index.html.ep:85
#: themes/default/templates/index.html.ep:93
#: themes/default/templates/partial/lutim.js.ep:180
#: themes/default/templates/partial/lutim.js.ep:192
#: themes/default/templates/partial/lutim.js.ep:206
#: themes/default/templates/partial/lutim.js.ep:220
#: themes/default/templates/partial/common.js.ep:45
#: themes/default/templates/partial/lutim.js.ep:176
#: themes/default/templates/partial/lutim.js.ep:188
#: themes/default/templates/partial/lutim.js.ep:202
#: themes/default/templates/partial/lutim.js.ep:217
msgid "Copy to clipboard"
msgstr "Copiar al portapapeles"
@@ -94,13 +95,14 @@ msgstr "Contador"
#: themes/default/templates/index.html.ep:147
#: themes/default/templates/index.html.ep:178
#: themes/default/templates/myfiles.html.ep:16
#: themes/default/templates/partial/lutim.js.ep:259
#: themes/default/templates/partial/lutim.js.ep:256
msgid "Delete at first view?"
msgstr "¿Borrar en la primera vista?"
#: themes/default/templates/index.html.ep:98
#: themes/default/templates/myfiles.html.ep:19
#: themes/default/templates/partial/common.js.ep:36
#: themes/default/templates/partial/common.js.ep:37
#: themes/default/templates/partial/common.js.ep:40
msgid "Deletion link"
msgstr "Enlace para borrar"
@@ -110,8 +112,8 @@ msgstr "Descargar todas las imágenes"
#: themes/default/templates/index.html.ep:81
#: themes/default/templates/index.html.ep:83
#: themes/default/templates/partial/lutim.js.ep:194
#: themes/default/templates/partial/lutim.js.ep:198
#: themes/default/templates/partial/lutim.js.ep:202
msgid "Download link"
msgstr "Enlace de descarga"
@@ -133,7 +135,7 @@ msgstr "Arrastre y suelte una imagen en el área apropiada, o use el método tra
msgid "Encrypt the image (Lutim does not keep the key)."
msgstr "Las imágenes se cifran en el servidor (Lutim no guarda la clave)."
#: themes/default/templates/partial/lutim.js.ep:74
#: themes/default/templates/partial/lutim.js.ep:72
msgid "Error while trying to modify the image."
msgstr "Error al intentar modificar la imagen."
@@ -162,8 +164,8 @@ msgstr "¡Clóname!"
msgid "Gallery link"
msgstr "Enlace a la galería"
#: themes/default/templates/partial/lutim.js.ep:127
#: themes/default/templates/partial/lutim.js.ep:145
#: themes/default/templates/partial/lutim.js.ep:125
#: themes/default/templates/partial/lutim.js.ep:142
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Presione Ctrl + C, entonces Ingresar para copiar el enlace"
@@ -224,7 +226,7 @@ msgstr "Mantener las etiquetas EXIF"
#: themes/default/templates/index.html.ep:118
#: themes/default/templates/index.html.ep:166
#: themes/default/templates/index.html.ep:206
#: themes/default/templates/partial/lutim.js.ep:263
#: themes/default/templates/partial/lutim.js.ep:260
msgid "Let's go!"
msgstr "¡Vamos allá!"
@@ -234,8 +236,8 @@ msgstr "Licencia:"
#: themes/default/templates/index.html.ep:89
#: themes/default/templates/index.html.ep:91
#: themes/default/templates/partial/lutim.js.ep:208
#: themes/default/templates/partial/lutim.js.ep:212
#: themes/default/templates/partial/lutim.js.ep:216
msgid "Link for share on social networks"
msgstr "Enlace para compartir en redes sociales"
@@ -249,8 +251,8 @@ msgstr "Desarrolladores principales"
#: themes/default/templates/index.html.ep:73
#: themes/default/templates/index.html.ep:75
#: themes/default/templates/partial/lutim.js.ep:186
#: themes/default/templates/partial/lutim.js.ep:189
#: themes/default/templates/partial/lutim.js.ep:182
#: themes/default/templates/partial/lutim.js.ep:185
msgid "Markdown syntax"
msgstr "Sintaxis de Markdown"
@@ -288,7 +290,7 @@ msgstr "Por favor espera"
msgid "Send an image"
msgstr "Enviar una imagen"
#: themes/default/templates/partial/lutim.js.ep:53
#: themes/default/templates/partial/lutim.js.ep:51
msgid "Share it!"
msgstr "¡Compártelo!"
@@ -297,7 +299,7 @@ msgid "Share on Twitter"
msgstr "Compartir en Twitter"
#: themes/default/templates/index.html.ep:133
#: themes/default/templates/partial/lutim.js.ep:274
#: themes/default/templates/partial/lutim.js.ep:271
msgid "Something bad happened"
msgstr "Algo malo ha pasado"
@@ -333,7 +335,7 @@ msgstr "El archivo %1 no es una imagen."
#. ($c->req->max_message_size)
#: lib/Lutim/Controller.pm:253
#: lib/Lutim/Controller.pm:322
#: themes/default/templates/partial/lutim.js.ep:335
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "El archivo supera el límite de tamaño (%1)"
@@ -370,7 +372,7 @@ msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "No más URL disponibles. Inténtelo de nuevo o contacte con el administrador. %1"
#: themes/default/templates/index.html.ep:60
#: themes/default/templates/partial/lutim.js.ep:46
#: themes/default/templates/partial/lutim.js.ep:45
msgid "Tweet it!"
msgstr "¡Tuitéalo!"
@@ -420,8 +422,8 @@ msgstr "La carga está deshabilitada en estos momentos, por favor inténtelo má
#: themes/default/templates/index.html.ep:65
#: themes/default/templates/index.html.ep:67
#: themes/default/templates/myfiles.html.ep:14
#: themes/default/templates/partial/lutim.js.ep:168
#: themes/default/templates/partial/lutim.js.ep:172
#: themes/default/templates/partial/lutim.js.ep:176
msgid "View link"
msgstr "Enlace de visualización"
+27 -25
View File
@@ -20,9 +20,9 @@ msgstr ""
#. ($delay)
#. (config('max_delay')
#: themes/default/templates/partial/lutim.js.ep:238
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:248
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
msgid "%1 days"
msgstr "%1 jours"
@@ -40,7 +40,7 @@ msgid "1 year"
msgstr "1 an"
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:247
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
msgstr "24 heures"
@@ -67,9 +67,9 @@ msgstr "Cliquez pour utiliser le navigateur de fichier"
msgid "Contributors"
msgstr "Contributeurs"
#: themes/default/templates/partial/lutim.js.ep:313
#: themes/default/templates/partial/lutim.js.ep:310
#: themes/default/templates/partial/lutim.js.ep:359
#: themes/default/templates/partial/lutim.js.ep:431
#: themes/default/templates/partial/lutim.js.ep:437
msgid "Copy all view links to clipboard"
msgstr "Copier tous les liens de visualisation dans le presse-papier"
@@ -79,10 +79,11 @@ msgstr "Copier tous les liens de visualisation dans le presse-papier"
#: themes/default/templates/index.html.ep:77
#: themes/default/templates/index.html.ep:85
#: themes/default/templates/index.html.ep:93
#: themes/default/templates/partial/lutim.js.ep:180
#: themes/default/templates/partial/lutim.js.ep:192
#: themes/default/templates/partial/lutim.js.ep:206
#: themes/default/templates/partial/lutim.js.ep:220
#: themes/default/templates/partial/common.js.ep:45
#: themes/default/templates/partial/lutim.js.ep:176
#: themes/default/templates/partial/lutim.js.ep:188
#: themes/default/templates/partial/lutim.js.ep:202
#: themes/default/templates/partial/lutim.js.ep:217
msgid "Copy to clipboard"
msgstr "Copier dans le presse-papier"
@@ -94,13 +95,14 @@ msgstr "Compteur"
#: themes/default/templates/index.html.ep:147
#: themes/default/templates/index.html.ep:178
#: themes/default/templates/myfiles.html.ep:16
#: themes/default/templates/partial/lutim.js.ep:259
#: themes/default/templates/partial/lutim.js.ep:256
msgid "Delete at first view?"
msgstr "Supprimer au premier accès ?"
#: themes/default/templates/index.html.ep:98
#: themes/default/templates/myfiles.html.ep:19
#: themes/default/templates/partial/common.js.ep:36
#: themes/default/templates/partial/common.js.ep:37
#: themes/default/templates/partial/common.js.ep:40
msgid "Deletion link"
msgstr "Lien de suppression"
@@ -110,8 +112,8 @@ msgstr "Télécharger toutes les images"
#: themes/default/templates/index.html.ep:81
#: themes/default/templates/index.html.ep:83
#: themes/default/templates/partial/lutim.js.ep:194
#: themes/default/templates/partial/lutim.js.ep:198
#: themes/default/templates/partial/lutim.js.ep:202
msgid "Download link"
msgstr "Lien de téléchargement"
@@ -133,7 +135,7 @@ msgstr "Faites glisser des images dans la zone prévue à cet effet ou sélectio
msgid "Encrypt the image (Lutim does not keep the key)."
msgstr "Chiffrer l'image (Lutim ne stocke pas la clé)."
#: themes/default/templates/partial/lutim.js.ep:74
#: themes/default/templates/partial/lutim.js.ep:72
msgid "Error while trying to modify the image."
msgstr "Une erreur est survenue en essayant de modifier l'image."
@@ -162,8 +164,8 @@ msgstr "Créez un fork !"
msgid "Gallery link"
msgstr "Lien vers la galerie"
#: themes/default/templates/partial/lutim.js.ep:127
#: themes/default/templates/partial/lutim.js.ep:145
#: themes/default/templates/partial/lutim.js.ep:125
#: themes/default/templates/partial/lutim.js.ep:142
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Faites Ctrl+C puis appuyez sur la touche Entrée pour copier le lien"
@@ -224,7 +226,7 @@ msgstr "Conserver les données EXIF"
#: themes/default/templates/index.html.ep:118
#: themes/default/templates/index.html.ep:166
#: themes/default/templates/index.html.ep:206
#: themes/default/templates/partial/lutim.js.ep:263
#: themes/default/templates/partial/lutim.js.ep:260
msgid "Let's go!"
msgstr "Allons-y !"
@@ -234,8 +236,8 @@ msgstr "Licence :"
#: themes/default/templates/index.html.ep:89
#: themes/default/templates/index.html.ep:91
#: themes/default/templates/partial/lutim.js.ep:208
#: themes/default/templates/partial/lutim.js.ep:212
#: themes/default/templates/partial/lutim.js.ep:216
msgid "Link for share on social networks"
msgstr "Lien pour partager sur les réseaux sociaux"
@@ -249,8 +251,8 @@ msgstr "Développeurs de l'application"
#: themes/default/templates/index.html.ep:73
#: themes/default/templates/index.html.ep:75
#: themes/default/templates/partial/lutim.js.ep:186
#: themes/default/templates/partial/lutim.js.ep:189
#: themes/default/templates/partial/lutim.js.ep:182
#: themes/default/templates/partial/lutim.js.ep:185
msgid "Markdown syntax"
msgstr "Syntaxe Markdown"
@@ -288,7 +290,7 @@ msgstr "Veuillez patienter"
msgid "Send an image"
msgstr "Envoyer une image"
#: themes/default/templates/partial/lutim.js.ep:53
#: themes/default/templates/partial/lutim.js.ep:51
msgid "Share it!"
msgstr "Partagez !"
@@ -297,7 +299,7 @@ msgid "Share on Twitter"
msgstr "Partager sur Twitter"
#: themes/default/templates/index.html.ep:133
#: themes/default/templates/partial/lutim.js.ep:274
#: themes/default/templates/partial/lutim.js.ep:271
msgid "Something bad happened"
msgstr "Un problème est survenu"
@@ -335,7 +337,7 @@ msgstr "Le fichier %1 n'est pas une image."
#. ($c->req->max_message_size)
#: lib/Lutim/Controller.pm:253
#: lib/Lutim/Controller.pm:322
#: themes/default/templates/partial/lutim.js.ep:335
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "Le fichier dépasse la limite de taille (%1)"
@@ -372,7 +374,7 @@ msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "Il n'y a plus d'URL disponible. Veuillez réessayer ou contacter l'administrateur. %1."
#: themes/default/templates/index.html.ep:60
#: themes/default/templates/partial/lutim.js.ep:46
#: themes/default/templates/partial/lutim.js.ep:45
msgid "Tweet it!"
msgstr "Tweetez !"
@@ -422,8 +424,8 @@ msgstr "L'envoi d'images est actuellement désactivé, veuillez réessayer plus
#: themes/default/templates/index.html.ep:65
#: themes/default/templates/index.html.ep:67
#: themes/default/templates/myfiles.html.ep:14
#: themes/default/templates/partial/lutim.js.ep:168
#: themes/default/templates/partial/lutim.js.ep:172
#: themes/default/templates/partial/lutim.js.ep:176
msgid "View link"
msgstr "Lien d'affichage"
+203 -70
View File
@@ -1,15 +1,15 @@
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=1ae09bdf270195e14997)
* Config saved to config.json and https://gist.github.com/1ae09bdf270195e14997
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=a3e981920dd6bd53664e6b133bd0d53f)
* Config saved to config.json and https://gist.github.com/a3e981920dd6bd53664e6b133bd0d53f
*/
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@@ -1727,6 +1727,10 @@ output {
.form-control::-webkit-input-placeholder {
color: #999999;
}
.form-control::-ms-expand {
border: 0;
background-color: transparent;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
@@ -2133,7 +2137,7 @@ select[multiple].input-lg {
}
@media (min-width: 768px) {
.form-horizontal .form-group-lg .control-label {
padding-top: 14.3px;
padding-top: 11px;
font-size: 18px;
}
}
@@ -2241,9 +2245,6 @@ fieldset[disabled] a.btn {
.open > .dropdown-toggle.btn-default {
background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
@@ -2252,13 +2253,7 @@ fieldset[disabled] .btn-default:hover,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
fieldset[disabled] .btn-default.focus {
background-color: #ffffff;
border-color: #cccccc;
}
@@ -2307,9 +2302,6 @@ fieldset[disabled] .btn-default.active {
.open > .dropdown-toggle.btn-primary {
background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
@@ -2318,13 +2310,7 @@ fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
fieldset[disabled] .btn-primary.focus {
background-color: #428bca;
border-color: #357ebd;
}
@@ -2373,9 +2359,6 @@ fieldset[disabled] .btn-primary.active {
.open > .dropdown-toggle.btn-success {
background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
@@ -2384,13 +2367,7 @@ fieldset[disabled] .btn-success:hover,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
fieldset[disabled] .btn-success.focus {
background-color: #5cb85c;
border-color: #4cae4c;
}
@@ -2439,9 +2416,6 @@ fieldset[disabled] .btn-success.active {
.open > .dropdown-toggle.btn-info {
background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
@@ -2450,13 +2424,7 @@ fieldset[disabled] .btn-info:hover,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
fieldset[disabled] .btn-info.focus {
background-color: #5bc0de;
border-color: #46b8da;
}
@@ -2505,9 +2473,6 @@ fieldset[disabled] .btn-info.active {
.open > .dropdown-toggle.btn-warning {
background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
@@ -2516,13 +2481,7 @@ fieldset[disabled] .btn-warning:hover,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
fieldset[disabled] .btn-warning.focus {
background-color: #f0ad4e;
border-color: #eea236;
}
@@ -2571,9 +2530,6 @@ fieldset[disabled] .btn-warning.active {
.open > .dropdown-toggle.btn-danger {
background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
@@ -2582,13 +2538,7 @@ fieldset[disabled] .btn-danger:hover,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
fieldset[disabled] .btn-danger.focus {
background-color: #d9534f;
border-color: #d43f3a;
}
@@ -2629,19 +2579,22 @@ fieldset[disabled] .btn-link:focus {
color: #999999;
text-decoration: none;
}
.btn-lg {
.btn-lg,
.btn-group-lg > .btn {
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
}
.btn-sm {
.btn-sm,
.btn-group-sm > .btn {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.btn-xs {
.btn-xs,
.btn-group-xs > .btn {
padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
@@ -2694,6 +2647,177 @@ tbody.collapse.in {
-o-transition-timing-function: ease;
transition-timing-function: ease;
}
.btn-group,
.btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
position: relative;
float: left;
}
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
z-index: 2;
}
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
margin-left: -1px;
}
.btn-toolbar {
margin-left: -5px;
}
.btn-toolbar .btn,
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
float: left;
}
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
margin-left: 5px;
}
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
border-radius: 0;
}
.btn-group > .btn:first-child {
margin-left: 0;
}
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.btn-group > .btn-group {
float: left;
}
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
outline: 0;
}
.btn-group > .btn + .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
}
.btn-group > .btn-lg + .dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
}
.btn-group.open .dropdown-toggle {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-group.open .dropdown-toggle.btn-link {
-webkit-box-shadow: none;
box-shadow: none;
}
.btn .caret {
margin-left: 0;
}
.btn-lg .caret {
border-width: 5px 5px 0;
border-bottom-width: 0;
}
.dropup .btn-lg .caret {
border-width: 0 5px 5px;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group,
.btn-group-vertical > .btn-group > .btn {
display: block;
float: none;
width: 100%;
max-width: 100%;
}
.btn-group-vertical > .btn-group > .btn {
float: none;
}
.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
.btn-group-vertical > .btn-group + .btn-group {
margin-top: -1px;
margin-left: 0;
}
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
border-radius: 0;
}
.btn-group-vertical > .btn:first-child:not(:last-child) {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn:last-child:not(:first-child) {
border-top-right-radius: 0;
border-top-left-radius: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.btn-group-justified {
display: table;
width: 100%;
table-layout: fixed;
border-collapse: separate;
}
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
float: none;
display: table-cell;
width: 1%;
}
.btn-group-justified > .btn-group .btn {
width: 100%;
}
.btn-group-justified > .btn-group .dropdown-menu {
left: auto;
}
[data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
position: absolute;
clip: rect(0, 0, 0, 0);
pointer-events: none;
}
.input-group {
position: relative;
display: table;
@@ -2711,6 +2835,9 @@ tbody.collapse.in {
width: 100%;
margin-bottom: 0;
}
.input-group .form-control:focus {
z-index: 3;
}
.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
@@ -3054,7 +3181,11 @@ button.close {
.row:before,
.row:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
.form-horizontal .form-group:after,
.btn-toolbar:before,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:before,
.btn-group-vertical > .btn-group:after {
content: " ";
display: table;
}
@@ -3063,7 +3194,9 @@ button.close {
.container:after,
.container-fluid:after,
.row:after,
.form-horizontal .form-group:after {
.form-horizontal .form-group:after,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:after {
clear: both;
}
.center-block {
File diff suppressed because one or more lines are too long
+6
View File
@@ -60,3 +60,9 @@ label.always-encrypt {
#gallery-url {
margin-bottom: 10px;
}
.adjust-addon {
width: 42px;
}
.adjust-addon .btn {
width: 43px;
}
+8 -8
View File
@@ -1,12 +1,12 @@
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=1ae09bdf270195e14997)
* Config saved to config.json and https://gist.github.com/1ae09bdf270195e14997
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=a3e981920dd6bd53664e6b133bd0d53f)
* Config saved to config.json and https://gist.github.com/a3e981920dd6bd53664e6b133bd0d53f
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
@@ -14,13 +14,13 @@ if (typeof jQuery === 'undefined') {
+function ($) {
'use strict';
var version = $.fn.jquery.split(' ')[0].split('.')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')
}
}(jQuery);
/* ========================================================================
* Bootstrap: alert.js v3.3.5
* Bootstrap: alert.js v3.3.6
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
@@ -39,7 +39,7 @@ if (typeof jQuery === 'undefined') {
$(el).on('click', dismiss, this.close)
}
Alert.VERSION = '3.3.5'
Alert.VERSION = '3.3.6'
Alert.TRANSITION_DURATION = 150
@@ -115,7 +115,7 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: transition.js v3.3.5
* Bootstrap: transition.js v3.3.6
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
+4 -4
View File
@@ -1,11 +1,11 @@
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=1ae09bdf270195e14997)
* Config saved to config.json and https://gist.github.com/1ae09bdf270195e14997
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=a3e981920dd6bd53664e6b133bd0d53f)
* Config saved to config.json and https://gist.github.com/a3e981920dd6bd53664e6b133bd0d53f
*/
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1==n[0]&&9==n[1]&&n[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function n(n){return this.each(function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new e(this)),"string"==typeof n&&i[n].call(r)})}var r='[data-dismiss="alert"]',e=function(n){t(n).on("click",r,this.close)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.prototype.close=function(n){function r(){a.detach().trigger("closed.bs.alert").remove()}var i=t(this),s=i.attr("data-target");s||(s=i.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);n&&n.preventDefault(),a.length||(a=i.closest(".alert")),a.trigger(n=t.Event("close.bs.alert")),n.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r())};var i=t.fn.alert;t.fn.alert=n,t.fn.alert.Constructor=e,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",r,e.prototype.close)}(jQuery),+function(t){"use strict";function n(){var t=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var r in n)if(void 0!==t.style[r])return{end:n[r]};return!1}t.fn.emulateTransitionEnd=function(n){var r=!1,e=this;t(this).one("bsTransitionEnd",function(){r=!0});var i=function(){r||t(e).trigger(t.support.transition.end)};return setTimeout(i,n),this},t(function(){t.support.transition=n(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1==n[0]&&9==n[1]&&n[2]<1||n[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function n(n){return this.each(function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new e(this)),"string"==typeof n&&i[n].call(r)})}var r='[data-dismiss="alert"]',e=function(n){t(n).on("click",r,this.close)};e.VERSION="3.3.6",e.TRANSITION_DURATION=150,e.prototype.close=function(n){function r(){s.detach().trigger("closed.bs.alert").remove()}var i=t(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);n&&n.preventDefault(),s.length||(s=i.closest(".alert")),s.trigger(n=t.Event("close.bs.alert")),n.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r())};var i=t.fn.alert;t.fn.alert=n,t.fn.alert.Constructor=e,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",r,e.prototype.close)}(jQuery),+function(t){"use strict";function n(){var t=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var r in n)if(void 0!==t.style[r])return{end:n[r]};return!1}t.fn.emulateTransitionEnd=function(n){var r=!1,e=this;t(this).one("bsTransitionEnd",function(){r=!0});var i=function(){r||t(e).trigger(t.support.transition.end)};return setTimeout(i,n),this},t(function(){t.support.transition=n(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);
+2 -2
View File
@@ -15,7 +15,7 @@
</a>
</div>
<input class="form-control" name="gallery-url-input" type="text" id="gallery-url-input" readonly></input>
<a href="#" onClick="copyToClipboard($(this));" class="input-group-addon jsonly" title="<%= l('Copy to clipboard') %>">
<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon jsonly" title="<%= l('Copy to clipboard') %>">
<span class="icon icon-clipboard"></span>
</a>
</div>
@@ -33,7 +33,7 @@
</a>
</div>
<input class="form-control" name="zip-url-input" type="text" id="zip-url-input" readonly></input>
<a href="#" onClick="copyToClipboard($(this));" class="input-group-addon jsonly" title="<%= l('Copy to clipboard') %>">
<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon jsonly" title="<%= l('Copy to clipboard') %>">
<span class="icon icon-clipboard"></span>
</a>
</div>
+14 -1
View File
@@ -33,7 +33,20 @@
if (only_url !== undefined && only_url === true) {
return link;
}
return '<a class="btn btn-default col-xs-12 text-left" href="#" title="<%= l('Deletion link') %>" id="del-'+url+'" data-short="'+url+'" data-token="'+token+'"><span class="icon icon-trash"></span> '+link+'</a>';
return [
'<label class="sr-only" for="link-del-', url, '"><%= l('Deletion link') %></label>',
'<div class="input-group input-group-sm">',
'<div class="input-group-btn">',
'<a class="btn btn-default text-danger" href="#" title="<%= l('Deletion link') %>" id="del-', url, '" data-short="', url, '" data-token="', token, '">',
'<span class="icon icon-trash"></span> ',
'</a>',
'</div>',
'<input type="text" class="form-control" id="link-del-', url, '" value="', link, '" readonly>',
'<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
'<span class="icon icon-clipboard"></span>',
'</a>',
'</div>'
].join('');
} else if (dl !== '') {
url = url+'?'+dl;
}
+125 -116
View File
@@ -42,14 +42,12 @@
}
function tw_url(url) {
var btn = [
'&nbsp;&nbsp;&nbsp;',
'<a title="<%= l('Tweet it!') %>" target="_blank" href="https://twitter.com/share?url=<%== url_for('/')->to_abs() %>', url, '?t">',
'<a title="<%= l('Tweet it!') %>" target="_blank" href="https://twitter.com/share?url=<%== url_for('/')->to_abs() %>', url, '?t" class="btn btn-default">',
'<span class="icon icon-twitter"></span>',
'</a>'
].join('');
if (navigator.mozSetMessageHandler !== undefined) {
btn = btn+[
'&nbsp;&nbsp;&nbsp;',
'<a title="<%= l('Share it!') %>" target="_blank" href="" onclick="share(\'<%== url_for('/')->to_abs() %>', url, '?t\');return false;">',
'<span class="icon icon-share"></span>',
'</a>'
@@ -137,7 +135,6 @@
var successful = copyText(text.join("\n"));
var msg = successful ? 'successful' : 'unsuccessful';
console.debug('Copying text command was ' + msg);
throw new Error('Prout');
if (!successful) {
throw new Error('Copying text command was ' + msg);
}
@@ -151,129 +148,129 @@
var s_url = link([msg.short, '.', msg.ext].join(''), '');
var thumb = (msg.thumb !== null) ? [
'<div class="col-sm-1">',
' <a href="', s_url, '" target="_blank">',
' <img class="thumbnail img-responsive" alt="', msg.filename, ' thumbnail" src="', msg.thumb, '">',
' </a>',
'<a href="', s_url, '" target="_blank">',
'<img class="thumbnail img-responsive" alt="', msg.filename, ' thumbnail" src="', msg.thumb, '">',
'</a>',
'</div>'
].join('') : ''
return [
'<div class="alert alert-success" id="alert-', msg.real_short, '">',
' <button type="button" class="close" data-dismiss="alert" aria-hidden="true" onclick="rmFromShortHash(\'', msg.short, '.', msg.ext, '\');rmFromZipHash(\'', msg.short, '\');">&times;</button>',
' <div class="row">', thumb,
' <div class="col-sm-11">',
' <h4>',
' <a href="', s_url, '" target="_blank">',
'<button type="button" class="close" data-dismiss="alert" aria-hidden="true" onclick="rmFromShortHash(\'', msg.short, '.', msg.ext, '\');rmFromZipHash(\'', msg.short, '\');">&times;</button>',
'<div class="row">', thumb,
'<div class="col-sm-11">',
'<h4>',
'<a href="', s_url, '" target="_blank">',
msg.filename,
'</a>',
tw_url(msg.short),
' </h4>',
' <form class="form">',
' <div class="form-group">',
' <label class="sr-only" for="view', msg.real_short, '"><%= l('View link') %></label>',
' <div class="input-group col-sm-6">',
' <div class="input-group-addon">',
' <a href="', s_url, '" target="_blank">',
' <span class="icon icon-eye" title =" <%= l('View link') %>"></span>',
' </a>',
' </div>',
' <input type="text" class="form-control view-link-input" id="view', msg.real_short, '" value="', s_url, '" readonly>',
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
' <span class="icon icon-clipboard"></span>',
' </a>',
' </div>',
' </div>',
' <div class="form-group">',
' <label class="sr-only" for="markdown', msg.real_short, '"><%= l('Markdown syntax') %></label>',
' <div class="input-group col-sm-6">',
' <div class="input-group-addon">',
' <span class="markdown-mark-solid" title ="<%= l('Markdown syntax') %>"></span>',
' </div>',
' <input type="text" class="form-control" id="markdown', msg.real_short, '" value="![](', link(msg.short, ''), ')" readonly>',
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
' <span class="icon icon-clipboard"></span>',
' </a>',
' </div>',
' </div>',
' <div class="form-group">',
' <label class="sr-only" for="download', msg.real_short, '"><%= l('Download link') %></label>',
' <div class="input-group col-sm-6">',
' <div class="input-group-addon">',
' <a href="', link(msg.short, 'dl'), '">',
' <span class="icon icon-download" title ="<%= l('Download link') %>"></span>',
' </a>',
' </div>',
' <input type="text" class="form-control" id="download', msg.real_short, '" value="', link(msg.short, 'dl'), '" readonly>',
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
' <span class="icon icon-clipboard"></span>',
' </a>',
' </div>',
' </div>',
' <div class="form-group">',
' <label class="sr-only" for="share', msg.real_short, '"><%= l('Link for share on social networks') %></label>',
' <div class="input-group col-sm-6">',
' <div class="input-group-addon">',
' <a href="', link(msg.short, 't'), '" target="_blank">',
' <span class="icon icon-share" title ="<%= l('Link for share on social networks') %>"></span>',
' </a>',
' </div>',
' <input type="text" class="form-control" id="share', msg.real_short, '" value="', link(msg.short, 't'), '" readonly>',
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
' <span class="icon icon-clipboard"></span>',
' </a>',
' </div>',
' </div>',
' <div class="form-group">',
' <div class="input-group col-sm-6 col-xs-12">',
' <span class="form-control-static">', link(msg.real_short, '', msg.token), '</span>',
' </div>',
' </div>',
' </form>',
' </div>',
' </div>',
' <div class="row">',
' <form class="form col-sm-11 col-sm-offset-1" role="form" method="POST" action="', link(msg.real_short, '', msg.token, true), '">',
' <div class="form-group form-inline">',
' <select id="day-', msg.real_short, '" name="delete-day" class="form-control">',
'</a>',
'</h4>',
'<form class="form">',
'<div class="form-group">',
'<label class="sr-only" for="view', msg.real_short, '"><%= l('View link') %></label>',
'<div class="input-group input-group-sm col-sm-6">',
'<div class="input-group-btn adjust-addon">',
'<a href="', s_url, '" target="_blank" class="btn btn-default">',
'<span class="icon icon-eye" title=" <%= l('View link') %>"></span>',
'</a>',
'</div>',
'<input type="text" class="form-control view-link-input" id="view', msg.real_short, '" value="', s_url, '" readonly>',
'<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
'<span class="icon icon-clipboard"></span>',
'</a>',
'</div>',
'</div>',
'<div class="form-group">',
'<label class="sr-only" for="markdown', msg.real_short, '"><%= l('Markdown syntax') %></label>',
'<div class="input-group input-group-sm col-sm-6">',
'<div class="input-group-addon adjust-addon">',
'<span class="markdown-mark-solid" title="<%= l('Markdown syntax') %>"></span>',
'</div>',
'<input type="text" class="form-control" id="markdown', msg.real_short, '" value="![](', link(msg.short, ''), ')" readonly>',
'<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
'<span class="icon icon-clipboard"></span>',
'</a>',
'</div>',
'</div>',
'<div class="form-group">',
'<label class="sr-only" for="download', msg.real_short, '"><%= l('Download link') %></label>',
'<div class="input-group input-group-sm col-sm-6">',
'<div class="input-group-btn adjust-addon">',
'<a href="', link(msg.short, 'dl'), '" class="btn btn-default">',
'<span class="icon icon-download" title="<%= l('Download link') %>"></span>',
'</a>',
'</div>',
'<input type="text" class="form-control" id="download', msg.real_short, '" value="', link(msg.short, 'dl'), '" readonly>',
'<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
'<span class="icon icon-clipboard"></span>',
'</a>',
'</div>',
'</div>',
'<div class="form-group">',
'<label class="sr-only" for="share', msg.real_short, '"><%= l('Link for share on social networks') %></label>',
'<div class="input-group input-group-sm col-sm-6">',
'<div class="input-group-btn adjust-addon">',
'<a href="', link(msg.short, 't'), '" target="_blank" class="btn btn-default">',
'<span class="icon icon-share" title="<%= l('Link for share on social networks') %>"></span>',
'</a>',
tw_url(msg.short),
'</div>',
'<input type="text" class="form-control" id="share', msg.real_short, '" value="', link(msg.short, 't'), '" readonly>',
'<a href="#" onClick="event.preventDefault();copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
'<span class="icon icon-clipboard"></span>',
'</a>',
'</div>',
'</div>',
'<div class="form-group">',
'<div class="input-group col-sm-6 col-xs-12">',
'<span class="form-control-static">', link(msg.real_short, '', msg.token), '</span>',
'</div>',
'</div>',
'</form>',
'</div>',
'</div>',
'<div class="row">',
'<form class="form col-sm-11 col-sm-offset-1" role="form" method="POST" action="', link(msg.real_short, '', msg.token, true), '">',
'<div class="form-group form-inline">',
'<select id="day-', msg.real_short, '" name="delete-day" class="form-control">',
% for my $delay (qw/0 1 7 30 365/) {
% my $text = ($delay == 7 || $delay == 30) ? l('%1 days', $delay) : $d->{'delay_'.$delay};
% if (config('max_delay')) {
% if ($delay) {
% if ($delay < config('max_delay')) {
' <option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
'<option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
% } elsif ($delay == config('max_delay')) {
' <option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
'<option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
% last;
% } else {
% my $text = ($delay == 1) ? l('24 hours') : l('%1 days', $delay);
' <option value="<%= config('max_delay') %>" <%== is_selected(config('max_delay')) %>><%= l('%1 days', config('max_delay')) %></option>',
'<option value="<%= config('max_delay') %>" <%== is_selected(config('max_delay')) %>><%= l('%1 days', config('max_delay')) %></option>',
% last;
% }
% }
% } else {
' <option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
'<option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
% }
% }
' </select>&nbsp;',
' <div class="checkbox">',
' <label>',
' <input id="first-view-', msg.real_short, '" type="checkbox" name="first-view"> <%= l('Delete at first view?') %>',
' </label>',
' </div>&nbsp;',
' <a href="#" onclick="modify(\'', link(msg.real_short, '', msg.token, true), '\', \'', msg.real_short, '\');return false;" class="btn btn-sm btn-default btn-primary">',
' <%= l('Let\'s go!') %>',
' </a>',
' </div>',
' </form>',
' </div>',
'</select>&nbsp;',
'<div class="checkbox">',
'<label>',
'<input id="first-view-', msg.real_short, '" type="checkbox" name="first-view"> <%= l('Delete at first view?') %>',
'</label>',
'</div>&nbsp;',
'<a href="#" onclick="modify(\'', link(msg.real_short, '', msg.token, true), '\', \'', msg.real_short, '\');return false;" class="btn btn-sm btn-default btn-primary">',
'<%= l('Let\'s go!') %>',
'</a>',
'</div>',
'</form>',
'</div>',
'</div>'
].join('');
} else {
return [
'<div class="alert alert-danger">',
' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>',
' <strong><%= l('Something bad happened') %></strong><br>',
'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>',
'<strong><%= l('Something bad happened') %></strong><br>',
msg.filename,
' <br>',
'<br>',
msg.msg,
'</div>'
].join('');
@@ -289,11 +286,11 @@
$('.messages').append([
'<div id="', id, '-div">',
file.name, '<br>',
' <div class="progress">',
' <div id="', id, '"class="progress-bar progress-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">',
' <span id="', id, '-text" class="pull-left" style="padding-left: 10px;"> 0%</span>',
' </div>',
' </div>',
'<div class="progress">',
'<div id="', id, '"class="progress-bar progress-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">',
'<span id="', id, '-text" class="pull-left" style="padding-left: 10px;"> 0%</span>',
'</div>',
'</div>',
'</div>'
].join(''));
},
@@ -309,9 +306,9 @@
$('.messages').prepend(
[
'<div class="col-xs-12 col-sm-11 col-sm-offset-1">',
' <a id="copy-all" href="#" class="btn btn-info" onClick="copyAllToClipboard();">',
' <%= l('Copy all view links to clipboard') %>',
' </a>',
'<a id="copy-all" href="#" class="btn btn-info" onClick="event.preventDefault();copyAllToClipboard();">',
'<%= l('Copy all view links to clipboard') %>',
'</a>',
'</div>'
].join('')
);
@@ -356,7 +353,13 @@
$('.messages').append(buildMessage(data.success, data.msg));
if (data.success) {
if ($('#copy-all').length === 0) {
$('.messages').prepend('<div class="col-xs-12 col-sm-11 col-sm-offset-1"><a id="copy-all" href="#" class="btn btn-info" onClick="copyAllToClipboard();"><%= l('Copy all view links to clipboard') %></a></div>');
$('.messages').prepend([
'<div class="col-xs-12 col-sm-11 col-sm-offset-1">',
'<a id="copy-all" href="#" class="btn btn-info" onClick="event.preventDefault();copyAllToClipboard();">',
'<%= l('Copy all view links to clipboard') %>',
'</a>',
'</div>'
].join(''));
}
$('#lutim-file-url').val('');
addToShortHash(data.msg.short+'.'+data.msg.ext);
@@ -388,11 +391,11 @@
$('.messages').append([
'<div id="1-div">', file.name, '<br>',
' <div class="progress">',
' <div id="1"class="progress-bar progress-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">',
' <span id="1-text" class="pull-left" style="padding-left: 10px;"> 0%</span>',
' </div>',
' </div>',
'<div class="progress">',
'<div id="1"class="progress-bar progress-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">',
'<span id="1-text" class="pull-left" style="padding-left: 10px;"> 0%</span>',
'</div>',
'</div>',
'</div>'
].join(''));
// Ajax Submit
@@ -428,7 +431,13 @@
success: function (data, message, xhr){
$('#1-div').remove();
if ($('#copy-all').length === 0 && data.success) {
$('.messages').prepend('<div class="col-xs-12 col-sm-11 col-sm-offset-1"><a id="copy-all" href="#" class="btn btn-info" onClick="copyAllToClipboard();"><%= l('Copy all view links to clipboard') %></a></div>');
$('.messages').prepend([
'<div class="col-xs-12 col-sm-11 col-sm-offset-1">',
'<a id="copy-all" href="#" class="btn btn-info" onClick="event.preventDefault();copyAllToClipboard();">',
'<%= l('Copy all view links to clipboard') %>',
'</a>',
'</div>'
].join(''));
}
$('.messages').append(buildMessage(data.success, data.msg));
if (data.success) {
@@ -378,6 +378,7 @@
"@blockquote-border-color": "@gray-lighter",
"@page-header-border-color": "@gray-lighter",
"@dl-horizontal-offset": "@component-offset-horizontal",
"@dl-horizontal-breakpoint": "@grid-float-breakpoint",
"@hr-border": "@gray-lighter"
},
"css": [
@@ -388,6 +389,7 @@
"forms.less",
"buttons.less",
"responsive-utilities.less",
"button-groups.less",
"input-groups.less",
"alerts.less",
"progress-bars.less",
@@ -398,5 +400,5 @@
"alert.js",
"transition.js"
],
"customizerUrl": "http://getbootstrap.com/customize/?id=1ae09bdf270195e14997"
"customizerUrl": "http://getbootstrap.com/customize/?id=a3e981920dd6bd53664e6b133bd0d53f"
}