topics
BIN
app/assets/images/admin/file_types/_blank.png
Executable file
After Width: | Height: | Size: 558 B |
BIN
app/assets/images/admin/file_types/_page.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/assets/images/admin/file_types/aac.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/assets/images/admin/file_types/ai.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/assets/images/admin/file_types/aiff.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/assets/images/admin/file_types/avi.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/bmp.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/c.png
Executable file
After Width: | Height: | Size: 902 B |
BIN
app/assets/images/admin/file_types/cpp.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/admin/file_types/css.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/dat.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
app/assets/images/admin/file_types/dmg.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/doc.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/assets/images/admin/file_types/dotx.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/dwg.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
BIN
app/assets/images/admin/file_types/dxf.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
BIN
app/assets/images/admin/file_types/eps.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/exe.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/assets/images/admin/file_types/flv.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/gif.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/assets/images/admin/file_types/h.png
Executable file
After Width: | Height: | Size: 817 B |
BIN
app/assets/images/admin/file_types/hpp.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/admin/file_types/html.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/ics.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/iso.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/assets/images/admin/file_types/java.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/jpg.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/key.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/mid.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/assets/images/admin/file_types/mp3.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/assets/images/admin/file_types/mp4.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/assets/images/admin/file_types/mpg.png
Executable file
After Width: | Height: | Size: 2.1 KiB |
BIN
app/assets/images/admin/file_types/odf.png
Executable file
After Width: | Height: | Size: 1.4 KiB |
BIN
app/assets/images/admin/file_types/ods.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/assets/images/admin/file_types/odt.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/assets/images/admin/file_types/otp.png
Executable file
After Width: | Height: | Size: 1.3 KiB |
BIN
app/assets/images/admin/file_types/ots.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/ott.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/pdf.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/php.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/png.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/ppt.png
Executable file
After Width: | Height: | Size: 1.4 KiB |
BIN
app/assets/images/admin/file_types/psd.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
app/assets/images/admin/file_types/py.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/qt.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/rar.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/rb.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/assets/images/admin/file_types/rtf.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/admin/file_types/sql.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/assets/images/admin/file_types/tga.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/tgz.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/tiff.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/assets/images/admin/file_types/txt.png
Executable file
After Width: | Height: | Size: 1023 B |
BIN
app/assets/images/admin/file_types/wav.png
Executable file
After Width: | Height: | Size: 2.1 KiB |
BIN
app/assets/images/admin/file_types/xls.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/assets/images/admin/file_types/xlsx.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/xml.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/assets/images/admin/file_types/yml.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/admin/file_types/zip.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
@ -8,11 +8,14 @@ function init_note_upload_fields(note_id){
|
|||||||
autoUpload: true,
|
autoUpload: true,
|
||||||
progressall: function (e, data) {
|
progressall: function (e, data) {
|
||||||
var progress = parseInt(data.loaded / data.total * 100, 10);
|
var progress = parseInt(data.loaded / data.total * 100, 10);
|
||||||
|
if(progress == 100){
|
||||||
$(this).find('.progress .bar').html(progress + '% téléchargé.');
|
$(this).find('.progress').html('traitement en cours.');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$(this).find('.progress').html(progress + '% téléchargé.');}
|
||||||
},
|
},
|
||||||
always: function (e, data) {
|
always: function (e, data) {
|
||||||
$(this).find('.progress .bar').html("");
|
$(this).find('.progress').html("");
|
||||||
},
|
},
|
||||||
|
|
||||||
drop: function (e, data) {
|
drop: function (e, data) {
|
||||||
@ -33,11 +36,18 @@ function init_note_upload_fields(note_id){
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
|
$(".note .add_file").live("click",function(){
|
||||||
|
|
||||||
|
$(this).next('input').click();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -43,6 +43,82 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
body {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
width:100%;
|
||||||
|
font-size: 13px;
|
||||||
|
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
|
||||||
|
&.wysihtml5-editor{
|
||||||
|
background:transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#breadcrumb{
|
||||||
|
padding:0px;
|
||||||
|
height:40px;
|
||||||
|
position:relative;
|
||||||
|
color:#FFFFFF;
|
||||||
|
background: #2E2E2E;
|
||||||
|
|
||||||
|
*{
|
||||||
|
color:#FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav{
|
||||||
|
a{
|
||||||
|
display:inline-block;
|
||||||
|
padding:13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.personnal{
|
||||||
|
width:140px;
|
||||||
|
float:right;
|
||||||
|
position:relative;
|
||||||
|
|
||||||
|
span{
|
||||||
|
display:inline-block;
|
||||||
|
top:-15px;
|
||||||
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.avatar{
|
||||||
|
width:36px;
|
||||||
|
border-radius:50%;
|
||||||
|
margin:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover{
|
||||||
|
|
||||||
|
.menu{
|
||||||
|
display:block;
|
||||||
|
position:absolute;
|
||||||
|
z-index:1000;
|
||||||
|
top:40px;
|
||||||
|
background:#2E2E2E;
|
||||||
|
|
||||||
|
a{
|
||||||
|
display:block;
|
||||||
|
width:120px;
|
||||||
|
padding:10px 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
&.code {
|
&.code {
|
||||||
@ -64,117 +140,6 @@ ol {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Dashboard */
|
|
||||||
#dashboard_menu{
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
a
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
float:left;
|
|
||||||
display:block;
|
|
||||||
|
|
||||||
|
|
||||||
margin:30px;
|
|
||||||
padding:10px;
|
|
||||||
|
|
||||||
margin-bottom:20px;
|
|
||||||
|
|
||||||
|
|
||||||
@include background(linear-gradient(#FAFAFA, #EEE));
|
|
||||||
@include border-radius(5px);
|
|
||||||
color:black;
|
|
||||||
|
|
||||||
|
|
||||||
background: white;
|
|
||||||
width: 200px;
|
|
||||||
padding: 10px;
|
|
||||||
margin: auto;
|
|
||||||
|
|
||||||
position:relative;
|
|
||||||
|
|
||||||
margin-left:20px;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
content:"";
|
|
||||||
position:absolute;
|
|
||||||
z-index:-1;
|
|
||||||
bottom:15px;
|
|
||||||
left:10px;
|
|
||||||
width:50%;
|
|
||||||
height:20%;
|
|
||||||
max-width:300px;
|
|
||||||
|
|
||||||
@include box-shadow(rgba(0, 0, 0, 0.7) 0 20px 15px );
|
|
||||||
@include transform(rotate(-3deg));
|
|
||||||
}
|
|
||||||
|
|
||||||
&:after{
|
|
||||||
right:10px;
|
|
||||||
left:auto;
|
|
||||||
@include transform(rotate(3deg));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
display:block;
|
|
||||||
padding:15px;
|
|
||||||
|
|
||||||
margin-bottom:20px;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
text-align:center;
|
|
||||||
color:black;
|
|
||||||
|
|
||||||
img{
|
|
||||||
display:block;
|
|
||||||
margin:auto;
|
|
||||||
height:100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
&:hover{
|
|
||||||
@include border-radius(5px 5px 12px 5px / 5px 5px 25px 5px);
|
|
||||||
@include background-image(linear-gradient(bottom right, #cccccc, white 10%,white));
|
|
||||||
&:after{
|
|
||||||
|
|
||||||
|
|
||||||
@include transform(rotate(10deg));
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,19 +17,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
body {
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
width:100%;
|
|
||||||
font-size: 13px;
|
|
||||||
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
|
|
||||||
&.wysihtml5-editor{
|
|
||||||
background:transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -78,33 +66,13 @@ body {
|
|||||||
|
|
||||||
/* general.css */
|
/* general.css */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#menu_items_breadcrumbs .add_menu_item_link{
|
#menu_items_breadcrumbs .add_menu_item_link{
|
||||||
float:right;
|
float:right;
|
||||||
margin-top:2px;
|
margin-top:2px;
|
||||||
}
|
}
|
||||||
#breadcrumb{
|
|
||||||
|
|
||||||
padding:10px 10px 10px 10px;
|
|
||||||
position:relative;
|
|
||||||
color:#FFFFFF;
|
|
||||||
background: #2E2E2E;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
#breadcrumb .logout_link{
|
|
||||||
|
|
||||||
position:absolute;
|
|
||||||
right:10px;
|
|
||||||
top:10px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#breadcrumb *{
|
|
||||||
color:#FFFFFF;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.main_slide{
|
.main_slide{
|
||||||
|
|
||||||
@ -439,352 +407,6 @@ a:hover{
|
|||||||
color:#3F94EB;
|
color:#3F94EB;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* core/fluid_grid */
|
|
||||||
/*
|
|
||||||
Variable Grid System (Fluid Version).
|
|
||||||
Learn more ~ http://www.spry-soft.com/grids/
|
|
||||||
Based on 960 Grid System - http://960.gs/ & 960 Fluid - http://www.designinfluences.com/
|
|
||||||
|
|
||||||
Licensed under GPL and MIT.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Containers
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
.container_12 {
|
|
||||||
width: 100%;
|
|
||||||
/*
|
|
||||||
margin-left: 4%;
|
|
||||||
margin-right: 4%;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Grid >> Global
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
.grid_1,
|
|
||||||
.grid_2,
|
|
||||||
.grid_3,
|
|
||||||
.grid_4,
|
|
||||||
.grid_5,
|
|
||||||
.grid_6,
|
|
||||||
.grid_7,
|
|
||||||
.grid_8,
|
|
||||||
.grid_9,
|
|
||||||
.grid_10,
|
|
||||||
.grid_11,
|
|
||||||
.grid_12 {
|
|
||||||
display:inline;
|
|
||||||
float: left;
|
|
||||||
position: relative;
|
|
||||||
margin-left: 1%;
|
|
||||||
margin-right: 1%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Grid >> Children (Alpha ~ First, Omega ~ Last)
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
.alpha {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.omega {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Grid >> 12 Columns
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
.container_12 .grid_1 {
|
|
||||||
width:6.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_2 {
|
|
||||||
width:14.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_3 {
|
|
||||||
width:23.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_4 {
|
|
||||||
width:31.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_5 {
|
|
||||||
width:39.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_6 {
|
|
||||||
width:48.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_7 {
|
|
||||||
width:56.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_8 {
|
|
||||||
width:64.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_9 {
|
|
||||||
width:73.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_10 {
|
|
||||||
width:81.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_11 {
|
|
||||||
width:89.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .grid_12 {
|
|
||||||
width:98.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Prefix Extra Space >> 12 Columns
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
.container_12 .prefix_1 {
|
|
||||||
padding-left:8.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_2 {
|
|
||||||
padding-left:16.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_3 {
|
|
||||||
padding-left:25.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_4 {
|
|
||||||
padding-left:33.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_5 {
|
|
||||||
padding-left:41.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_6 {
|
|
||||||
padding-left:50.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_7 {
|
|
||||||
padding-left:58.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_8 {
|
|
||||||
padding-left:66.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_9 {
|
|
||||||
padding-left:75.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_10 {
|
|
||||||
padding-left:83.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .prefix_11 {
|
|
||||||
padding-left:91.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Suffix Extra Space >> 12 Columns
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
.container_12 .suffix_1 {
|
|
||||||
padding-right:8.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_2 {
|
|
||||||
padding-right:16.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_3 {
|
|
||||||
padding-right:25.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_4 {
|
|
||||||
padding-right:33.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_5 {
|
|
||||||
padding-right:41.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_6 {
|
|
||||||
padding-right:50.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_7 {
|
|
||||||
padding-right:58.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_8 {
|
|
||||||
padding-right:66.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_9 {
|
|
||||||
padding-right:75.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_10 {
|
|
||||||
padding-right:83.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .suffix_11 {
|
|
||||||
padding-right:91.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Push Space >> 12 Columns
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
.container_12 .push_1 {
|
|
||||||
left:8.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_2 {
|
|
||||||
left:16.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_3 {
|
|
||||||
left:25.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_4 {
|
|
||||||
left:33.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_5 {
|
|
||||||
left:41.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_6 {
|
|
||||||
left:50.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_7 {
|
|
||||||
left:58.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_8 {
|
|
||||||
left:66.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_9 {
|
|
||||||
left:75.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_10 {
|
|
||||||
left:83.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .push_11 {
|
|
||||||
left:91.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Pull Space >> 12 Columns
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
.container_12 .pull_1 {
|
|
||||||
left:-8.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_2 {
|
|
||||||
left:-16.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_3 {
|
|
||||||
left:-25.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_4 {
|
|
||||||
left:-33.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_5 {
|
|
||||||
left:-41.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_6 {
|
|
||||||
left:-50.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_7 {
|
|
||||||
left:-58.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_8 {
|
|
||||||
left:-66.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_9 {
|
|
||||||
left:-75.0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_10 {
|
|
||||||
left:-83.333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container_12 .pull_11 {
|
|
||||||
left:-91.667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Clear Floated Elements
|
|
||||||
----------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* http://sonspring.com/journal/clearing-floats */
|
|
||||||
|
|
||||||
.clear {
|
|
||||||
clear: both;
|
|
||||||
display: block;
|
|
||||||
overflow: hidden;
|
|
||||||
visibility: hidden;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
|
|
||||||
|
|
||||||
.clearfix:after {
|
|
||||||
clear: both;
|
|
||||||
content: ' ';
|
|
||||||
display: block;
|
|
||||||
font-size: 0;
|
|
||||||
line-height: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clearfix {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
* html .clearfix {
|
|
||||||
height: 1%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clearfix {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* forms.css */
|
/* forms.css */
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#topic_app_index{
|
#topic_app_index{
|
||||||
|
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:50px;
|
top:40px;
|
||||||
left:0px;
|
left:0px;
|
||||||
right:0px;
|
right:0px;
|
||||||
bottom:0px;
|
bottom:0px;
|
||||||
@ -113,6 +113,12 @@
|
|||||||
|
|
||||||
.note_file{
|
.note_file{
|
||||||
margin:8px 0px;
|
margin:8px 0px;
|
||||||
|
|
||||||
|
.icon{
|
||||||
|
height:20px;
|
||||||
|
position:relative;
|
||||||
|
top:4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.note_file_queue{
|
.note_file_queue{
|
||||||
@ -128,33 +134,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.note_file_form{
|
.fileupload{
|
||||||
float:right;
|
|
||||||
|
.add_file{
|
||||||
|
background:black;
|
||||||
|
color:white;
|
||||||
|
padding:5px 10px;
|
||||||
|
position:absolute;
|
||||||
|
right:10px;
|
||||||
|
top:5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress{
|
||||||
|
position:absolute;
|
||||||
|
right:10px;
|
||||||
|
top:30px;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
input[type=file]{
|
input[type=file]{
|
||||||
display:none;
|
display:none;
|
||||||
|
|
||||||
}
|
}
|
||||||
label{
|
|
||||||
color: #17b;
|
|
||||||
cursor:pointer;
|
|
||||||
&:hover, &:active {
|
|
||||||
color: #39e;
|
|
||||||
background-color: none;
|
|
||||||
outline: none; }
|
|
||||||
&:link, &:visited, &:hover {
|
|
||||||
-webkit-transition: all 0.3s ease;
|
|
||||||
-moz-transition: all 0.3s ease;
|
|
||||||
-o-transition: all 0.3s ease;
|
|
||||||
transition: all 0.3s ease; }
|
|
||||||
&:active {
|
|
||||||
color: #b41;
|
|
||||||
-webkit-transition: none;
|
|
||||||
-moz-transition: none;
|
|
||||||
-o-transition: none;
|
|
||||||
transition: none; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<script src="/ace_editor/ace-uncompressed-noconflict.js" type="text/javascript" charset="utf-8"></script>
|
<script src="/ace_editor/ace-uncompressed-noconflict.js" type="text/javascript" charset="utf-8"></script>
|
||||||
= csrf_meta_tag
|
= csrf_meta_tag
|
||||||
|
|
||||||
|
%style=Pygments.css('.highlight')
|
||||||
|
|
||||||
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
||||||
|
|
||||||
@ -30,13 +31,19 @@
|
|||||||
|
|
||||||
|
|
||||||
#breadcrumb
|
#breadcrumb
|
||||||
=image_tag (current_admin.file? ? current_admin.file.square.url : ""), :class => "avatar", :style => "width:30px; border-radius:50%;"
|
|
||||||
|
|
||||||
=link_to "Dashboard", "/admin"
|
|
||||||
=link_to "Se déconnecter", destroy_admin_session_path, :class => "logout_link"
|
|
||||||
|
|
||||||
|
.personnal
|
||||||
|
=image_tag (current_admin.file? ? current_admin.file.square.url : ""), :class => "avatar"
|
||||||
|
%span
|
||||||
|
=current_admin.firstname
|
||||||
|
=current_admin.name
|
||||||
|
|
||||||
|
.menu
|
||||||
|
=link_to "Se déconnecter", destroy_admin_session_path, :class => "logout_link"
|
||||||
|
|
||||||
|
|
||||||
|
%nav
|
||||||
|
=link_to "Dashboard", "/admin"
|
||||||
|
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
%form.fileupload{:action => note_files_path(:note_id => note.id), :enctype => "multipart/form-data", :method => "POST"}
|
%form.fileupload{:action => note_files_path(:note_id => note.id), :enctype => "multipart/form-data", :method => "POST"}
|
||||||
|
|
||||||
|
|
||||||
|
%button.add_file ajouter des fichiers
|
||||||
|
|
||||||
%input{:multiple => "", :name => "files[]", :type => "file", :style => "float:right;"}
|
%input{:multiple => "", :name => "files[]", :type => "file", :style => "float:right;"}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
.note_file#note_file{:id => note_file.id}
|
.note_file#note_file{:id => note_file.id}
|
||||||
|
-ext = File.extname(note_file.file.path)[1..-1]
|
||||||
|
=image_tag "admin/file_types/"+ext+".png", :class => "icon"
|
||||||
=l note_file.created_at, :format => :short
|
=l note_file.created_at, :format => :short
|
||||||
=note_file.name
|
=note_file.name
|
||||||
=link_to "supprimer", note_file_path(note_file), :remote => true, :method => :delete, :confirm => "Voulez-vous vraiment supprimer ce fichier ?"
|
=link_to "supprimer", note_file_path(note_file), :remote => true, :method => :delete, :confirm => "Voulez-vous vraiment supprimer ce fichier ?"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#note_form
|
#note_form
|
||||||
|
%p ```
|
||||||
= form_for @note, :remote => true do |f|
|
= form_for @note, :remote => true do |f|
|
||||||
|
|
||||||
=f.hidden_field :topic_id
|
=f.hidden_field :topic_id
|
||||||
|