Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


              <!DOCTYPE html>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Utilisateurs - PLS</title>

    <div class="jumbotron">
        <div class="container">
            <h1>Faire une recherche d'utilisateur</h1>
            <ul class="nav nav-tabs">
                <li class="active"><a data-toggle="tab" href="#normal">Recherche standard</a></li>
                <li><a data-toggle="tab" href="#file">Recherche par fichier</a></li>
            <div class="tab-content">
                <form method="post" action="/search/" enctype="multipart/form-data">
                    <div class="input-group">
                        <div id="normal" class="tab-pane fade in active">
                                Entrer des mails, des noms de domaine ou des nom d'utilisateur séparés par un saut de ligne :
                                <small style="font-size: 75%">Pour inclure les sous-domaines, chercher *</small>
                            <textarea class="form-control" placeholder="Mots-clés" name="search" id="search-area" style="--lines:1;"></textarea>
                        <div id="file" class="tab-pane fade">
                            <p>Uploader un fichier contenant les données à rechercher : </p>
                            <input id="fileupload" type="file" name="file">
                            <input type="hidden" name="search" value="">
                        <input type="hidden" name="leak" id="leak-hidden" value="-1">
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="leak-drop">
                            Tous<span class="caret"></span></button>
                        <ul class="dropdown-menu" id="leak-list">
                            <li><a href="#" id="leak-all"><b>Tous</b></a></li>
                            <input type="text" placeholder="Rechercher..." id="search-input" onkeyup="filterSearchFunction()" autocomplete="off">
                            <li><a href="#" id="leak-1">aaa</a></li>
                            <li><a href="#" id="leak-2">bbb</a></li>
                        <button class="btn btn-default" type="submit">Chercher</button>
	$(document).ready(function() {
        $("#leak-list a").click(function(e) {
            $('#leak-drop').html($(this).html() + '<span class="caret"></span>');
            if ($(this).attr('id') == 'leak-all')
                $('#leak-hidden').attr('value', '-1');
                $('#leak-hidden').attr('value', $(this).attr('id').split('-')[1]);


              .jumbotron ul.nav-tabs>>a {
    background: #eee;

#search-area {
    --lines: 1;
    --my-line-height: 1.25em;
    appearance: none;
    resize: none;
    height: calc(var(--my-line-height) * var(--lines) + 6px + 1rem);
    line-height: var(--my-line-height);
    font-size: 1em;
    background: #fff

#search-input {
    box-sizing: border-box;
    display: block;
    border: none;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 3px 20px;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;

#search-input:focus {outline: 3px solid #ddd;}


              // Adaptation de la taille de la textarea
const newLine = /\n/g;
const handleEnter = (event) => {
	if (event.key === "Enter" && !event.shiftKey) {
const handleSize = (event) => {
	const lines =  Math.max(Math.min(( || []).length + 1, 4), 0);"--lines", lines);
const textarea = document.querySelector("#search-area");
textarea.addEventListener("keydown", handleEnter);
textarea.addEventListener("input", handleSize);
handleSize({target: textarea});

// Recherche dans le menu déroulant
function filterSearchFunction() {
    var input, filter, ul, li, a, i;
    input = document.getElementById("search-input");
    filter = input.value.toUpperCase();
    div = document.getElementById("leak-list");
    a = div.getElementsByTagName("a");
    for (i = 1; i < a.length; i++) {
        txtValue = a[i].textContent || a[i].innerText;
        if (txtValue.toUpperCase().indexOf(filter) > -1) {
            a[i].style.display = "";
        } else {
            a[i].style.display = "none";