Skip to content

Commit

Permalink
#24 [CSS] fix: re-organize css files & keep only files related to eo-…
Browse files Browse the repository at this point in the history
…framework or generics objects of dolibarr
  • Loading branch information
Théo David committed Jan 5, 2023
1 parent 5fbab18 commit c97801c
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 269 deletions.
2 changes: 0 additions & 2 deletions css/scss/element/_element.scss

This file was deleted.

50 changes: 0 additions & 50 deletions css/scss/modal/_apte-inapte.scss

This file was deleted.

2 changes: 0 additions & 2 deletions css/scss/modal/_modal.scss

This file was deleted.

2 changes: 2 additions & 0 deletions css/scss/module/_module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
@import "notice/notice";
@import "form/form";
@import "pagination/pagination";
@import "patchnote/patchnote";
@import "medias/medias";
File renamed without changes.
2 changes: 2 additions & 0 deletions css/scss/module/medias/_medias.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "actions";
@import "photo";
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 0 additions & 37 deletions css/scss/page/_control-medias.scss

This file was deleted.

152 changes: 0 additions & 152 deletions css/scss/page/_control.scss

This file was deleted.

4 changes: 0 additions & 4 deletions css/scss/page/_page.scss

This file was deleted.

18 changes: 0 additions & 18 deletions css/scss/page/_question-add.scss

This file was deleted.

2 changes: 0 additions & 2 deletions css/scss/page/index.php

This file was deleted.

4 changes: 2 additions & 2 deletions lib/saturne_functions.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function saturne_show_medias_linked($modulepart = 'ecm', $sdir, $size = 0, $nbma
if ($urladvanced) $return .= '<a href="' . $urladvanced . '">';
else $return .= '<a href="' . DOL_URL_ROOT . '/viewimage.php?modulepart=' . $modulepart . '&entity=' . $conf->entity . '&file=' . urlencode($pdir . $photo) . '" class="aphoto" target="_blank">';
}
$return .= '<img width="' . $conf->global->DOLISMQ_MEDIA_MAX_WIDTH_LARGE . '" height="' . $conf->global->DOLISMQ_MEDIA_MAX_HEIGHT_LARGE . '" class="photo photowithmargin" src="' . DOL_URL_ROOT . '/viewimage.php?modulepart=' . $modulepart . '&entity=' . $conf->entity . '&file=' . urlencode($pdir . $photo) . '">';
$return .= '<img width="' . $conf->global->SATURNE_MEDIA_MAX_WIDTH_LARGE . '" height="' . $conf->global->SATURNE_MEDIA_MAX_HEIGHT_LARGE . '" class="photo photowithmargin" src="' . DOL_URL_ROOT . '/viewimage.php?modulepart=' . $modulepart . '&entity=' . $conf->entity . '&file=' . urlencode($pdir . $photo) . '">';
if ($showfilename) $return .= '<br>' . $viewfilename;
}

Expand All @@ -283,7 +283,7 @@ function saturne_show_medias_linked($modulepart = 'ecm', $sdir, $size = 0, $nbma
if ($urladvanced) $return .= '<a href="' . $urladvanced . '">';
else $return .= '<a href="' . DOL_URL_ROOT . '/viewimage.php?modulepart=' . $modulepart . '&entity=' . $conf->entity . '&file=' . urlencode($pdir . $photo) . '" class="aphoto" target="_blank">';
}
$return .= '<img width="' . $conf->global->DOLISMQ_MEDIA_MAX_WIDTH_MEDIUM . '" height="' . $conf->global->DOLISMQ_MEDIA_MAX_HEIGHT_MEDIUM . '" class="photo photowithmargin" src="' . DOL_URL_ROOT . '/viewimage.php?modulepart=' . $modulepart . '&entity=' . $conf->entity . '&file=' . urlencode($pdir . $photo) . '">';
$return .= '<img width="' . $conf->global->SATURNE_MEDIA_MAX_WIDTH_MEDIUM . '" height="' . $conf->global->SATURNE_MEDIA_MAX_HEIGHT_MEDIUM . '" class="photo photowithmargin" src="' . DOL_URL_ROOT . '/viewimage.php?modulepart=' . $modulepart . '&entity=' . $conf->entity . '&file=' . urlencode($pdir . $photo) . '">';
if ($showfilename) $return .= '<br>' . $viewfilename;
}

Expand Down

0 comments on commit c97801c

Please sign in to comment.