Main table no more constrained to a width of 90%

This commit is contained in:
echarp 2017-05-04 23:09:21 +02:00
parent 9e6af6a5f6
commit a048844ce1
57 changed files with 157652 additions and 39 deletions

View File

@ -1,4 +1,4 @@
== Agenda du libre
= Agenda du libre
Ceci est une application permettant de lister des évènements sur un calendier,
évènements proposés par tout un chacun mais nécessitant une modération avant
@ -16,7 +16,7 @@ https://git.framasoft.org/agenda-libre/agenda-libre-php
https://bitbucket.org/mlhamel/agendadulibre
=== Prérequis
== Prérequis
Exemple d'installation pour Debian:
{{{
@ -32,7 +32,7 @@ Il faut de plus installer les paquets {{{zlib1g-dev}}} et {{{libsqlite3-dev}}}
ou {{{libmysqlclient-dev}}}.
=== Code source
== Code source
Pour installer l'Agenda du libre, vous devrez récupérer le code source à l'aide
de "git", puis installer les dépendances avec "bundler" (bundler est packagé
@ -50,7 +50,7 @@ Dans le cas d'une installation en mode production, on utilisera plutôt
`--without test developement`.
=== Base de données
== Base de données
La base de données peut être "sqlite3", "postgresql" ou "mysql2". Par défaut
sqlite3 est configurée, mais vous pouvez la modifier dans le fichier
@ -59,7 +59,7 @@ sqlite3 est configurée, mais vous pouvez la modifier dans le fichier
/!\ En pratique, en 2017-03, PostgreSQL server ne parvenait pas à interprêter
le fichier schema.rb généré automatiquement depuis une base fonctionnelle.
==== Dans le cas d'une installation MySQL
=== Dans le cas d'une installation MySQL
Il convient d'installer d'abord MySQL server sur sa machine :
{{{
@ -85,8 +85,9 @@ Mettez en place le schéma comme ceci:
}}}
=== Lancement
==== En développement
== Lancement
=== En développement
Puis lancez rails (avec tests et vérifications de sécurité):
{{{
@ -100,7 +101,7 @@ Votre premier modérateur admin est identifié par "admin@example.com", son mot
passe étant "password".
==== En production
=== En production
{{{
~ # apt install libapache2-mod-passenger
@ -121,7 +122,7 @@ passe étant "password".
}}}
=== Aide mémoire
== Aide mémoire
Commande à utiliser en console rails pour créer plusieurs événements:
{{{
@ -134,7 +135,7 @@ Commande à utiliser pour précompiler les assets avant leur déploiement dans u
bundle exec rake assets:precompile RAILS_ENV=assets
}}}
=== Mise à jour
== Mise à jour
Pour mettre à jour l'agenda du libre, il faut d'abord aller chercher la version de master la plus récente sur le git
upstream (https://git.framasoft.org/agenda-libre/agenda-libre-ruby). Une fois cela fait, il faut y ré-appliquer les
@ -160,7 +161,7 @@ Puis redémarrer avec:
~ $ bundle exec rails s
}}}
=== Discussions
== Discussions
https://kiwiirc.com/client/irc.freenode.net/agendadulibre

View File

@ -82,10 +82,12 @@ header.top
ul.countries
float: right
width: 91px
font-size: smaller
margin-top: -1em
margin-top: -0.8em
line-height: 1em
margin-left: 2em
margin-left: 1em
margin-right: 1em
list-style-type: none
li
text-align: left

View File

@ -23,7 +23,6 @@ p.full_address
text-transform: capitalize
body.events.index table
width: 90%
max-width: 100%
// So we can ellipse past events
table-layout: fixed

View File

@ -9,9 +9,7 @@ form#orga_search
position: absolute
font-size: larger
text-align: right
margin-top: -1.2em
white-space: nowrap
padding-right: 2px
label
display: none
em.fa

View File

@ -28,13 +28,13 @@
%li.map_france
= link_to t('.france'), '//www.agendadulibre.org'
%li.map_quebec
= link_to t('.quebec'), '//www.agendadulibre.qc.ca'
= link_to t('.quebec'), 'http://www.agendadulibre.qc.ca'
%li.map_belgique
= link_to t('.belgique'), '//www.agendadulibre.be'
%li.map_suisse
= link_to t('.suisse'), '//www.agendadulibre.ch'
%li.map_brasil
= link_to t('.brasil'), '//agenda.softwarelivre.org'
= link_to t('.brasil'), 'http://agenda.softwarelivre.org'
%h1= link_to t('.title'), root_path
%h2= t '.subtitle'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

View File

@ -0,0 +1,21 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-12922f8d27744fe5233d0c8f855c532cad64561e248ebaa05442fd6b59f73af2.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);

View File

@ -0,0 +1 @@
tinymce.PluginManager.add("anchor",function(e){var t=function(e){return!e.attr("href")&&(e.attr("id")||e.attr("name"))&&!e.firstChild},n=function(e){return function(n){for(var r=0;r<n.length;r++)t(n[r])&&n[r].attr("contenteditable",e)}},r=function(e){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(e)},i=function(){var t=e.selection.getNode(),n="A"==t.tagName&&""===e.dom.getAttrib(t,"href"),i="";n&&(i=t.id||t.name||""),e.windowManager.open({title:"Anchor",body:{type:"textbox",name:"id",size:40,label:"Id",value:i},onsubmit:function(i){var o=i.data.id;return r(o)?void(n?(t.removeAttribute("name"),t.id=o):(e.selection.collapse(!0),e.execCommand("mceInsertContent",!1,e.dom.createHTML("a",{id:o})))):(i.preventDefault(),void e.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."))}})};tinymce.Env.ceFalse&&e.on("PreInit",function(){e.parser.addNodeFilter("a",n("false")),e.serializer.addNodeFilter("a",n(null))}),e.addCommand("mceAnchor",i),e.addButton("anchor",{icon:"anchor",tooltip:"Anchor",onclick:i,stateSelector:"a:not([href])"}),e.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",onclick:i})});

View File

@ -1 +1 @@
plugin-48c211e97cdf2fba4e8456ddc0464c301c61ff2d2751aa178d41c5eca38fbbe9.js
plugin-f642e411a2a702256b0069e5baf65ef62d31c34e92e993123aad88e22ee295ce.js

View File

@ -1 +1 @@
plugin-48c211e97cdf2fba4e8456ddc0464c301c61ff2d2751aa178d41c5eca38fbbe9.js.gz
plugin-f642e411a2a702256b0069e5baf65ef62d31c34e92e993123aad88e22ee295ce.js.gz

View File

@ -0,0 +1 @@
tinymce.PluginManager.add("importcss",function(e){function t(e){var t=tinymce.Env.cacheSuffix;return"string"==typeof e&&(e=e.replace("?"+t,"").replace("&"+t,"")),e}function n(t){var n=e.settings,r=n.skin!==!1&&(n.skin||"lightgray");if(r){var i=n.skin_url;return i=i?e.documentBaseURI.toAbsolute(i):tinymce.baseURL+"/skins/"+r,t===i+"/content"+(e.inline?".inline":"")+".min.css"}return!1}function r(e){return"string"==typeof e?function(t){return t.indexOf(e)!==-1}:e instanceof RegExp?function(t){return e.test(t)}:e}function i(r,i){function o(e,r){var s,l=e.href;if(l=t(l),l&&i(l,r)&&!n(l)){p(e.imports,function(e){o(e,!0)});try{s=e.cssRules||e.rules}catch(e){}p(s,function(e){e.styleSheet?o(e.styleSheet,!0):e.selectorText&&p(e.selectorText.split(","),function(e){a.push(tinymce.trim(e))})})}}var a=[],s={};p(e.contentCSS,function(e){s[e]=!0}),i||(i=function(e,t){return t||s[e]});try{p(r.styleSheets,function(e){o(e)})}finally{}return a}function o(t){var n,r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(r){var i=r[1],o=r[2].substr(1).split(".").join(" "),a=tinymce.makeMap("a,img");return r[1]?(n={title:t},e.schema.getTextBlockElements()[i]?n.block=i:e.schema.getBlockElements()[i]||a[i.toLowerCase()]?n.selector=i:n.inline=i):r[2]&&(n={inline:"span",title:t.substr(1),classes:o}),e.settings.importcss_merge_classes!==!1?n.classes=o:n.attributes={"class":o},n}}function a(e,t){return tinymce.util.Tools.grep(e,function(e){return!e.filter||e.filter(t)})}function s(e){return tinymce.util.Tools.map(e,function(e){return tinymce.util.Tools.extend({},e,{original:e,selectors:{},filter:r(e.filter),item:{text:e.title,menu:[]}})})}function l(e,t){return null===t||e.settings.importcss_exclusive!==!1}function c(t,n,r){return!(l(e,n)?t in r:t in n.selectors)}function u(t,n,r){l(e,n)?r[t]=!0:n.selectors[t]=!0}function d(t,n,r){var i,a=e.settings;return i=r&&r.selector_converter?r.selector_converter:a.importcss_selector_converter?a.importcss_selector_converter:o,i.call(t,n,r)}var f=this,p=tinymce.each;e.on("renderFormatsMenu",function(t){var n=e.settings,o={},l=r(n.importcss_selector_filter),m=t.control,g=s(n.importcss_groups),h=function(t,n){if(c(t,n,o)){u(t,n,o);var r=d(f,t,n);if(r){var i=r.name||tinymce.DOM.uniqueId();return e.formatter.register(i,r),tinymce.extend({},m.settings.itemDefaults,{text:r.title,format:i})}}return null};e.settings.importcss_append||m.items().remove(),p(i(t.doc||e.getDoc(),r(n.importcss_file_filter)),function(e){if(e.indexOf(".mce-")===-1&&(!l||l(e))){var t=a(g,e);if(t.length>0)tinymce.util.Tools.each(t,function(t){var n=h(e,t);n&&t.item.menu.push(n)});else{var n=h(e,null);n&&m.add(n)}}}),p(g,function(e){e.item.menu.length>0&&m.add(e.item)}),t.control.renderNew()}),f.convertSelectorToFormat=o});

View File

@ -1 +1 @@
plugin-31acbbaaa49b20377e4f5d5a830d9e09babddb9a1c5b7978b843098176e318b5.js
plugin-5386dd0994914eaf7431876cb0b2d9cf505a8d91c0f8fd739c5166bd21f6376d.js

View File

@ -1 +1 @@
plugin-31acbbaaa49b20377e4f5d5a830d9e09babddb9a1c5b7978b843098176e318b5.js.gz
plugin-5386dd0994914eaf7431876cb0b2d9cf505a8d91c0f8fd739c5166bd21f6376d.js.gz

View File

@ -1 +1 @@
plugin-69b25b69974c739637d6459489642fc95bddc8dc564f2b482d7ec94f3082f935.js
plugin-c56f1732e8069ebaca97437c3b99a69ed2663f558cd50a817ee721661673510c.js

View File

@ -1 +1 @@
plugin-69b25b69974c739637d6459489642fc95bddc8dc564f2b482d7ec94f3082f935.js.gz
plugin-c56f1732e8069ebaca97437c3b99a69ed2663f558cd50a817ee721661673510c.js.gz

View File

@ -1 +1 @@
plugin-deedd7c7d99c7401ab698f65a1e299819b487e52e662c7866f8700ba8d67a351.js
plugin-f5341fd5503efcd25c050b419868be59073ba2e0bf58bf7a73877c052109e0de.js

View File

@ -1 +1 @@
plugin-deedd7c7d99c7401ab698f65a1e299819b487e52e662c7866f8700ba8d67a351.js.gz
plugin-f5341fd5503efcd25c050b419868be59073ba2e0bf58bf7a73877c052109e0de.js.gz

View File

@ -1 +1 @@
plugin-f7d8cf6dd7bd24908d5c58c664a54cbe4838c542ec26e35f3c4b198f53f98291.js
plugin-524c40b866f13bbb8fea23d9b8529d00df10b94695e646bd4303eaff9f658e7c.js

View File

@ -1 +1 @@
plugin-f7d8cf6dd7bd24908d5c58c664a54cbe4838c542ec26e35f3c4b198f53f98291.js.gz
plugin-524c40b866f13bbb8fea23d9b8529d00df10b94695e646bd4303eaff9f658e7c.js.gz

View File

@ -1 +1 @@
plugin-5f3b35988457fcc9d2c2c35601acb041b7b59246dc16d061433cf741cba9ca26.js
plugin-58e9f99c4c09431f853051ab6a87504487a9042e520c68e84d9adc59346659a6.js

View File

@ -1 +1 @@
plugin-5f3b35988457fcc9d2c2c35601acb041b7b59246dc16d061433cf741cba9ca26.js.gz
plugin-58e9f99c4c09431f853051ab6a87504487a9042e520c68e84d9adc59346659a6.js.gz

View File

@ -1 +1 @@
plugin-d9ec660425815b227f5c3fbdc8b5d066a0530ec824ba37b47169aabd3f864ea7.js
plugin-649a9308c0183e56c3ba78002d7b480ecbba84ff30361c36bcea6ed07ea6be4f.js

View File

@ -1 +1 @@
plugin-d9ec660425815b227f5c3fbdc8b5d066a0530ec824ba37b47169aabd3f864ea7.js.gz
plugin-649a9308c0183e56c3ba78002d7b480ecbba84ff30361c36bcea6ed07ea6be4f.js.gz

View File

@ -0,0 +1,11 @@
window.tinymce = window.tinymce || {
base: '/assets/tinymce',
suffix: ''
};
if (typeof Turbolinks != 'undefined' && Turbolinks.supported) {
document.addEventListener('turbolinks:before-render', function() {
tinymce.remove();
});
}
;

View File

@ -1 +1 @@
preinit-84328a53e798df12f891eb49871773fd9f925439c8630e9e22423a82ef9e6f89.js
preinit-4eb7f4ac58f2f450d20185cf83ca1d8550d2a1419141bfe70eb5a2c4afe67349.js

View File

@ -1 +1 @@
preinit-84328a53e798df12f891eb49871773fd9f925439c8630e9e22423a82ef9e6f89.js.gz
preinit-4eb7f4ac58f2f450d20185cf83ca1d8550d2a1419141bfe70eb5a2c4afe67349.js.gz

View File

@ -1 +1 @@
theme-95446aa7daedd3754400947ecc50a607971ef2068d093e7c9a889c5908ff6f40.js
theme-a400085213d427d78d8a1e35089ae6cd00831e51d33a3342a198d1bc62851640.js

View File

@ -1 +1 @@
theme-95446aa7daedd3754400947ecc50a607971ef2068d093e7c9a889c5908ff6f40.js.gz
theme-a400085213d427d78d8a1e35089ae6cd00831e51d33a3342a198d1bc62851640.js.gz

View File

@ -1 +1 @@
tinymce-6c5174912bf31a8ee031a9acb5d2b7d05f7bcd42e3ed0d26d7d217a5343eb2bf.js
tinymce-d7f6811cb92d1e7638015669d3ec90175d4cb1309ecad56ff9d757b25fe18172.js

View File

@ -1 +1 @@
tinymce-6c5174912bf31a8ee031a9acb5d2b7d05f7bcd42e3ed0d26d7d217a5343eb2bf.js.gz
tinymce-d7f6811cb92d1e7638015669d3ec90175d4cb1309ecad56ff9d757b25fe18172.js.gz