parent
bc5267c4dc
commit
9bfef874a0
@ -1,5 +1,5 @@
|
||||
$(document).on 'turbolinks:load', ->
|
||||
$('body.moderations .field.closer input[type=radio]').click ->
|
||||
$('body.moderations .radios label').click ->
|
||||
$('body.moderations #event_reason').parent().slideUp()
|
||||
$('body.moderations .field.opener input[type=radio]').click ->
|
||||
$('body.moderations .radios label:last-child').click ->
|
||||
$('body.moderations #event_reason').parent().slideDown()
|
||||
|
@ -0,0 +1,3 @@
|
||||
body.pages main
|
||||
h3, h4
|
||||
text-align: left
|
@ -1,26 +1,5 @@
|
||||
.sessions
|
||||
form
|
||||
margin: 1em auto
|
||||
display: inline-block
|
||||
.field, .actions
|
||||
text-align: left
|
||||
margin: 0.5em
|
||||
*
|
||||
vertical-align: middle
|
||||
.helper p
|
||||
margin: 1px 5px 1px 6.6em
|
||||
label
|
||||
width: 8em
|
||||
display: inline-block
|
||||
&:after
|
||||
content: ':'
|
||||
/*
|
||||
input, textarea, select
|
||||
font-size: larger
|
||||
background-color: #FFB
|
||||
.actions
|
||||
margin-left: 6.75em
|
||||
margin-bottom: 10px
|
||||
.sessions form
|
||||
margin: 6em auto
|
||||
|
||||
.logout
|
||||
margin: 2em auto
|
||||
|
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.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
(function() {
|
||||
$(document).on('turbolinks:load', function() {
|
||||
return tinyMCE.init({
|
||||
schema: 'html5',
|
||||
height: '40em',
|
||||
menubar: '',
|
||||
branding: false,
|
||||
language: 'fr_FR',
|
||||
selector: 'input.description',
|
||||
content_css: '/assets/application-75abbb46f52324695245fd7b9143735c5a76c5a184f1bfd23e2ae3104ea8bef9.css',
|
||||
entity_encoding: 'raw',
|
||||
add_unload_trigger: true,
|
||||
browser_spellcheck: true,
|
||||
toolbar: [' cut copy paste | undo redo | searchreplace | link image media charmap table | code visualblocks preview fullscreen', ' removeformat | bold italic strikethrough | superscript subscript | bullist numlist | alignleft aligncenter alignright alignjustify alignnone | outdent indent'],
|
||||
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, wordcount, contextmenu, code'
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on('turbolinks:before-cache', function() {
|
||||
return tinymce.remove();
|
||||
});
|
||||
|
||||
}).call(this);
|
Binary file not shown.
Loading…
Reference in new issue