Commit a6c5caaa authored by Stéphane Bouvry's avatar Stéphane Bouvry
Browse files

Travaux en cours

parent 00890444
Loading
Loading
Loading
Loading
+4 −7
Changes for module/Oscar/src/Oscar/Controller/PublicController.php: 4 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -33,21 +33,18 @@ class PublicController extends AbstractOscarController

    public function parametersAction()
    {



        /** @var Authentification $auth */
        $auth = $this->getOscarUserContext()->getAuthentification();


        // Récupération des envois automatiques
        $forceSend = $this->getConfiguration('oscar.notifications.fixed');

        if( $this->getHttpXMethod() == "POST" ){
            $action = $this->params()->fromPost('action');

        //$saveDeclarationMode = $this->params()->fromPost('')

            switch ($action) {

        if( $this->getHttpXMethod() == "POST" ){
            }
            $declarationsHours = $this->params()->fromPost('declarationsHours');

            if( $declarationsHours !== null ){
+2
Changes for module/Oscar/view/oscar/public/parameters.phtml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@
                    this.declarationsHours = !this.declarationsHours;
                    var formData = new FormData();
                    formData.append('declarationsHours', this.declarationsHours ? 'on' : 'off');
                    formData.append('action', 'declaration-mode');

                    this.$http.post('', formData)
                        .then(
@@ -340,6 +341,7 @@

                save(){
                    this.loading = true;
                    // todo Utiliser FormData
                    this.$http.post('', { "frequency":  this.frequency.join(',') })
                        .then(
                            success => {
+20 −2
Changes for public/css/_common.scss: 20 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -74,6 +74,15 @@
    margin: 0 0 .25em;
    padding: 0;
  }
  .card-title {
    .right {
      margin-left: auto;
      flex: 0 1 auto;
    }
    .big {
      font-size: 1.4em;
    }
  }
}


@@ -2459,6 +2468,7 @@ span[class*="status-4"] .icon:before{ content: '\e865 '}
      border-top: thin solid $colorGreyLight;
      display: block;
      flex: 0 0 100%;
      transform: translateY(0);

      .validators span:after {
        content: '/';
@@ -2473,8 +2483,6 @@ span[class*="status-4"] .icon:before{ content: '\e865 '}
        align-items: center;
        cursor: pointer;



        &.selected {
          background: lighten($colorBlue, 30%);
        }
@@ -4069,6 +4077,16 @@ $oscar-line: dotted thin $colorGreyLight;
  opacity: 0
}

.slide-enter-active, .slide-leave-active {
  transition: all .3s
}

.slide-enter, .slide-leave-to, .slide-leave-active {
  opacity: 0;
  transform: translateY(-50px);
}


.list-item {
  display: inline-block;
  margin-right: 10px;
+16 −1
Changes for public/css/adaj.css: 16 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -5366,6 +5366,13 @@ button.close {
  margin: 0 0 .25em;
  padding: 0; }

.card .card-title .right {
  margin-left: auto;
  flex: 0 1 auto; }

.card .card-title .big {
  font-size: 1.4em; }

.options-menu {
  display: flex;
  font-weight: 100;
@@ -7104,7 +7111,8 @@ span[class*="status-4"] .icon:before{ content: '\e865 '}
  .validations-admin .declaration .validations {
    border-top: thin solid #888;
    display: block;
    flex: 0 0 100%; }
    flex: 0 0 100%;
    transform: translateY(0); }
    .validations-admin .declaration .validations .validators span:after {
      content: '/';
      color: #eee; }
@@ -8272,6 +8280,13 @@ time.date-missing {
.fade-enter, .fade-leave-to, .fade-leave-active {
  opacity: 0; }

.slide-enter-active, .slide-leave-active {
  transition: all .3s; }

.slide-enter, .slide-leave-to, .slide-leave-active {
  opacity: 0;
  transform: translateY(-50px); }

.list-item {
  display: inline-block;
  margin-right: 10px; }
+16 −1
Changes for public/css/app-beta.css: 16 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -5366,6 +5366,13 @@ button.close {
  margin: 0 0 .25em;
  padding: 0; }

.card .card-title .right {
  margin-left: auto;
  flex: 0 1 auto; }

.card .card-title .big {
  font-size: 1.4em; }

.options-menu {
  display: flex;
  font-weight: 100;
@@ -7104,7 +7111,8 @@ span[class*="status-4"] .icon:before{ content: '\e865 '}
  .validations-admin .declaration .validations {
    border-top: thin solid #AAA;
    display: block;
    flex: 0 0 100%; }
    flex: 0 0 100%;
    transform: translateY(0); }
    .validations-admin .declaration .validations .validators span:after {
      content: '/';
      color: #eee; }
@@ -8272,6 +8280,13 @@ time.date-missing {
.fade-enter, .fade-leave-to, .fade-leave-active {
  opacity: 0; }

.slide-enter-active, .slide-leave-active {
  transition: all .3s; }

.slide-enter, .slide-leave-to, .slide-leave-active {
  opacity: 0;
  transform: translateY(-50px); }

.list-item {
  display: inline-block;
  margin-right: 10px; }
Loading