quiz-secure-personal-data.glz.fr Open in urlscan Pro
188.165.249.187  Public Scan

Submitted URL: https://quiz-secure-personal-data.glz.fr/
Effective URL: https://quiz-secure-personal-data.glz.fr/dashboard
Submission: On September 27 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 1 forms found in the DOM

POST /admin/vignette

<form method="post" action="/admin/vignette" id="form-vignette">
  <div class="row">
    <div class="col-xs-6">
      <img src="http://placehold.it/648x622" id="vignette">
      <div class="row">
        <div class="col-xs-6 col-xs-offset-3">
          <a href="" class="hide btn btn-primary download" download="vignette.png" target="_blank">Télécharger la vignette</a>
        </div>
      </div>
    </div>
    <div class="col-xs-6">
      <div class="col-xs-9">
        <div class="btn-group" data-toggle="buttons"> <label class="btn btn-primary active"><input type="radio" id="vignette_type_0" name="vignette[type]" required="required" value="text"> Texte uniquement</label>
          <label class="btn btn-primary"><input type="radio" id="vignette_type_1" name="vignette[type]" required="required" value="text-picto"> Texte + picto</label>
          <label class="btn btn-primary"><input type="radio" id="vignette_type_2" name="vignette[type]" required="required" value="text-photo"> Texte + photo</label>
        </div>
      </div>
      <div class="col-xs-3 text-right">
        <button class="btn btn-success" id="update-img">Mettre à jour</button>
      </div>
      <div class="row">
        <div class="col-sm-12">
          <div class="form-group">
            <input type="text" id="vignette_text" name="vignette[text]" placeholder="Texte de la vignette" maxlength="42" class="form-control">
          </div>
        </div>
        <div class="form-group form-option hide" id="form-text-picto">
          <div class="col-sm-12">
            <div class="dropdown">
              <button class="btn btn-default dropdown-toggle" type="button" id="picto" data-toggle="dropdown">
                <img src="" alt="Choisir un picto" id="selectedPicto" class="hide">
                <p class="placeholder">Choisir un picto</p>
                <span class="caret"></span>
              </button>
              <ul class="dropdown-menu scrollable-menu" role="menu" aria-labelledby="picto">
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59131173d65a6_1050_1050.png" data-id="6">
                                            <img src="/uploads/59131173d65a6_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/5913119e0f2f9_1050_1050.png" data-id="7">
                                            <img src="/uploads/5913119e0f2f9_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591311a9c25bc_1050_1050.png" data-id="8">
                                            <img src="/uploads/591311a9c25bc_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591311b432ed7_1050_1050.png" data-id="9">
                                            <img src="/uploads/591311b432ed7_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591311dd426b0_1050_1050.png" data-id="12">
                                            <img src="/uploads/591311dd426b0_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59141acdd4c2f_1050_1050.png" data-id="13">
                                            <img src="/uploads/59141acdd4c2f_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c48c0d46c1_1050_1050.png" data-id="15">
                                            <img src="/uploads/591c48c0d46c1_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4aeb99911_1050_1050.png" data-id="17">
                                            <img src="/uploads/591c4aeb99911_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4b03151f3_1050_1050.png" data-id="18">
                                            <img src="/uploads/591c4b03151f3_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4b176f16a_1050_1050.png" data-id="19">
                                            <img src="/uploads/591c4b176f16a_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4b26b2a66_1050_1050.png" data-id="20">
                                            <img src="/uploads/591c4b26b2a66_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4b40cc01b_1050_1050.png" data-id="21">
                                            <img src="/uploads/591c4b40cc01b_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4b5962da8_1050_1050.png" data-id="22">
                                            <img src="/uploads/591c4b5962da8_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4b7e14e80_6250_6250.png" data-id="23">
                                            <img src="/uploads/591c4b7e14e80_6250_6250.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4ba5ea6f2_1050_1050.png" data-id="24">
                                            <img src="/uploads/591c4ba5ea6f2_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4bc2d9323_1050_1050.png" data-id="25">
                                            <img src="/uploads/591c4bc2d9323_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4bdb3379c_1050_1050.png" data-id="26">
                                            <img src="/uploads/591c4bdb3379c_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4c068c6e0_1050_1050.png" data-id="28">
                                            <img src="/uploads/591c4c068c6e0_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4c1551f4f_1050_1050.png" data-id="29">
                                            <img src="/uploads/591c4c1551f4f_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4c2c3ebee_1050_1050.png" data-id="30">
                                            <img src="/uploads/591c4c2c3ebee_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4c3a6fea4_1050_1050.png" data-id="31">
                                            <img src="/uploads/591c4c3a6fea4_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4c58c8f98_1050_1050.png" data-id="32">
                                            <img src="/uploads/591c4c58c8f98_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/591c4c7e0e4e8_1050_1050.png" data-id="33">
                                            <img src="/uploads/591c4c7e0e4e8_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59ae6cc67c8ec_1050_1050.png" data-id="42">
                                            <img src="/uploads/59ae6cc67c8ec_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59b641113fca0_5100_1450.png" data-id="45">
                                            <img src="/uploads/59b641113fca0_5100_1450.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59b6553420038_120_132.png" data-id="46">
                                            <img src="/uploads/59b6553420038_120_132.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59b68ef9a50d3_1050_1050.png" data-id="47">
                                            <img src="/uploads/59b68ef9a50d3_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59b695023c090_1050_1050.png" data-id="48">
                                            <img src="/uploads/59b695023c090_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59b7b02291bec_1050_1050.png" data-id="49">
                                            <img src="/uploads/59b7b02291bec_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59d4f09b6be09_1050_1050.png" data-id="51">
                                            <img src="/uploads/59d4f09b6be09_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/59d6269d9e5c0_1050_1050.png" data-id="52">
                                            <img src="/uploads/59d6269d9e5c0_1050_1050.png" class="img-responsive">
                                        </a>
                </li>
                <li role="presentation">
                  <a role="menuitem" tabindex="-1" href="/uploads/5aaaf82d3eef8_5312_2095.jpeg" data-id="54">
                                            <img src="/uploads/5aaaf82d3eef8_5312_2095.jpeg" class="img-responsive">
                                        </a>
                </li>
              </ul>
            </div>
          </div>
        </div>
        <div class="form-group form-option hide" id="form-text-photo">
          <div class="col-sm-12">
            <style type="text/css" media="screen">
              #vignette_photo_container {
                overflow: hidden;
              }

              #vignette_photo_preview {
                overflow: hidden;
                position: relative;
              }

              #vignette_photo_preview object,
              #vignette_photo_overlay {
                position: absolute;
                top: 0;
                right: 0;
                text-decoration: none;
                display: block;
                z-index: 361;
                width: 19px;
                height: 19px;
                background: url(/bundles/glucozimage/images/edit.gif);
              }

              #vignette_photo_preview object {
                opacity: 0;
                z-index: 362;
              }

              #vignette_photo_container .left {
                float: left;
                position: relative;
              }

              #vignette_photo_control .img_preview img {
                width: 100%;
              }

              #vignette_photo_control .options {
                padding: 0px;
                margin: 0px;
                list-style-type: none;
                position: absolute;
                bottom: 0;
                left: 0;
                z-index: 361;
              }

              #vignette_photo_control .options li {
                background: transparent url(/bundles/glucozimage/images/icons.png);
                display: inline;
                float: left;
                width: 24px;
                height: 24px;
                cursor: pointer;
              }

              #vignette_photo_control .options .rotate {
                background-position: 0 0;
              }

              #vignette_photo_control .options .bw {
                background-position: 0 -24px;
              }

              #vignette_photo_control .options .negative {
                background-position: -24px 0;
              }

              #vignette_photo_control .options .sepia {
                background-position: -24px -24px;
              }

              #vignette_photo_control .options .crop {
                background-position: -48px 0;
              }

              #vignette_photo_control .options .blur {
                background-position: -48px -24px;
              }

              #vignette_photo_control .options .loading {
                background: #FFF url(/bundles/glucozimage/images/ajax-loader.gif) no-repeat;
                padding: 6px 0;
                height: 11px;
              }
            </style>
            <div id="vignette_photo_container">
              <input type="text" id="vignette_photo" name="vignette[photo]" value="" style="display: none;">
              <div class="row">
                <div class="col-xs-4">
                  <div id="uploadifive-vignette_photo_upload" class="uploadifive-button btn btn-primary" style="height: 30px; line-height: 30px; overflow: hidden; position: relative; text-align: center; width: 100px;">
                    <i class="fa fa-picture-o"></i>&nbsp;Ajouter<div id="vignette_photo_upload" class="" style="display: none;"></div><input type="file" style="font-size: 30px; opacity: 0; position: absolute; right: -3px; top: -3px; z-index: 999;"
                      accept="image/*"></div>
                  <div id="vignette_photo_remove" class="btn btn-danger hide no-disabling image-remove-btn"><i class="fa fa-trash-o"></i>&nbsp;Supprimer l'image</div>
                </div>
              </div>
              <span class="help-block sonata-ba-field-widget-help">Types supportés : .jpg, .jpeg, .png, .gif</span>
              <div class="queue" style="margin-bottom: 5px">
                <div id="vignette_photo_queue"></div>
              </div>
              <div id="vignette_photo_control" class="hide">
                <div class="row" style="margin: 15px 0;">
                  <div class="col-sm-12">
                    <div class="col-sm-12">
                      <div class="img_preview">
                        <img src="/bundles/glucozimage/images/transparent.png" id="vignette_photo_preview" class="auto_preview">
                        <ul class="options original" style="z-index: 1000">
                          <li class="crop change"></li>
                        </ul>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <script type="text/javascript">
              var $configs_vignette_photo = {
                "folder": "uploads",
                "fileType": "image\/*",
                "buttonText": "<i class=\"fa fa-picture-o\"><\/i>&nbsp;Ajouter",
                "buttonClass": "btn btn-primary",
                "cancelImg": "\/bundles\/glucozimage\/images\/cancel.png",
                "multi": false,
                "uploadScript": "\/admin\/upload_image"
              };
              var $basePath = '/uploads';
              $basePath = $basePath.substr(0, $basePath.length - 'uploads'.length);
              var url_change = '/admin/api/thumbnails/changes';
              jQuery(document).ready(function($) {
                var $input = $('#vignette_photo');
                var $field = $('#vignette_photo_upload');
                var $remove = $('#vignette_photo_remove');
                var $queue = $('#vignette_photo_queue');
                var $control = $('#vignette_photo_control');
                var baseId = 'vignette_photo'.substr(0, 'vignette_photo'.lastIndexOf('_'));
                var $baseForm = $('#' + baseId);
                $field.data('baseId', baseId);
                var $crop = {};
                var cropCallback = null;
                $crop.minSize = [75, 75];
                $crop.aspectRatio = (75 / 75);
                cropCallback = function(file) {
                  var $data = {
                    filter: 'resize',
                    image: file,
                    class: 'original',
                    opacity: 0.5,
                    w: 75,
                    h: 75
                  };
                  $.ajax({
                    type: 'POST',
                    url: url_change,
                    data: $data,
                    dataType: 'json',
                    context: this,
                    success: function(data) {
                      if (data.result == '1') {
                        if (data.image.file.search(/^[/\\]/) < 0) {
                          data.image.file = '/' + data.image.file;
                        }
                        $input.val(data.image.file);
                        console.log('file', data.image.file);
                        $('#vignette_photo_preview').attr('src', data.image.file);
                        $('#vignette_photo_preview').css('width', 'auto');
                        //createOriginalCrop('vignette_photo', $input, '/', data.image.file, $crop, cropCallback);
                      } else {
                        console.log('Error changing the image');
                      }
                    }
                  });
                };
                $configsvignette_photo = $.extend($configs_vignette_photo, {
                  queueID: 'vignette_photo_queue',
                  formData: {
                    "folder": "uploads"
                  },
                  onUploadComplete: function(file, data) {
                    data = jQuery.parseJSON(data);
                    if (data.result == '1') {
                      if ($control.length) {
                        $control.removeClass('hide');
                      }
                      $input.val(data.file).trigger('change');
                      data.image['file'] = data.file;
                      if (data.image.file.search(/^[/\\]/) < 0) {
                        data.image.file = $basePath + data.image.file;
                      }
                      $remove.removeClass('hide');
                      $field.closest('.uploadifive-button').addClass('hide');
                      setTimeout(function() {
                        createOriginalCrop('vignette_photo', $input, '/', data.image.file, $crop, cropCallback);
                      }, 500);
                      $('#vignette_photo_expand').off('click');
                      $('#vignette_photo_expand').on('click', function(e) {
                        e.preventDefault();
                        expandImage('vignette_photo', $input, '/', $crop, function(file) {
                          createOriginalCrop('vignette_photo', $input, '/', file, $crop, cropCallback);
                        });
                      });
                    } else {
                      console.log('Error uploading the file');
                    }
                  },
                  onUploadError: function(file, errorCode, errorMsg, errorString) {
                    console.log('File: ' + file.name + '; Error code: ' + errorCode + '; Error message: ' + errorMsg + '; Error string: ' + errorString);
                  }
                });
                var removeImage = function() {
                  var $data = {
                    image: $input.val()
                  };
                  $.ajax({
                    method: 'delete',
                    url: '/admin/api/images',
                    data: $data,
                    dataType: 'json',
                    context: this,
                    success: function(data) {
                      if (data.result == '1') {
                        $input.val('');
                        if ($control.length) {
                          $control.addClass('hide');
                        }
                        jscropApi['vignette_photo'].destroy();
                        jscropApi['vignette_photo'] = null;
                        $('#vignette_photo_preview').replaceWith('<img src="/bundles/glucozimage/images/transparent.png" id="vignette_photo_preview" class="auto_preview" />');
                      }
                    }
                  });
                };
                $remove.click(function() {
                  removeImage();
                  $remove.addClass('hide');
                  $field.closest('.uploadifive-button').removeClass('hide');
                  $queue.empty();
                });
                $field.uploadifive($configsvignette_photo);
              });
            </script>
          </div>
        </div>
      </div>
    </div>
  </div>
  <input type="hidden" id="vignette_picto" name="vignette[picto]">
</form>

Text Content

Certaines fonctionnalités ne fonctionnent pas sans JavaScript. Merci de
l'activer sur votre navigateur.
App Sales Pack
Toggle navigation

 * Background
 * Pictos



Télécharger la vignette
Texte uniquement Texte + picto Texte + photo
Mettre à jour

Choisir un picto

 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 

 Ajouter

 Supprimer l'image
Types supportés : .jpg, .jpeg, .png, .gif

 *