Différences entre les versions de « Utilisateur:Jluc/bootstrap »

De Entre Amis
Aller à : navigation, rechercher
(Page créée avec « Test page of implementation of Bootstra's css, components and JavaScript in MediaWiki web site thanks to the extension [https://www.mediawiki.org/wiki/Extension:Bootstrap... »)
 
Ligne 15 : Ligne 15 :
 
<div class="carousel-inner">
 
<div class="carousel-inner">
 
<div class="item active">
 
<div class="item active">
[[Fichier:Monument valley2.jpg|class=img-responsive|link=Catégorie:Jeu_de_données]]
+
<!-- [[Fichier:Monument valley2.jpg|class=img-responsive|link=Catégorie:Jeu_de_données]] -->
 +
[[Fichier:201002.Aussois03.jpg|class=img-responsive|link=Catégorie:Jeu_de_données]]
 
</div>
 
</div>
 
<div class="item">
 
<div class="item">

Version du 27 décembre 2017 à 12:07

Test page of implementation of Bootstra's css, components and JavaScript in MediaWiki web site thanks to the extension Bootstrap and the skin Chameleon.

Please feel free to change wikicode and code examples to make work item that doesnt.

Working features

Caroussel

Responsive images (works)

[[Fichier:Eglise Saint-Pierre d'Extravache.jpg|class=img-responsive]]

Eglise Saint-Pierre d'Extravache.jpg

Typography (works)

<p class="lead">la classe lead est appliquée à ce paragraphe</p>

la classe lead est appliquée à ce paragraphe

<p class="text-success">la classe text-success est appliquée à ce paragraphe</p>

la classe ext-succes est appliquée à ce paragraphe


<abbr title="attribute">attr</abbr> 

attr

Labels ( works)

 <span class="label label-default">Default</span>

Default

Jumbotron (works)

TestJunbotron

CSS

Buttons (works)

Buttons

<div class="btn btn-primary  btn-lg lienbutton" type="button" style="  padding-top: 0.3cm;">[[Accueil]]</div>
<div class="btn btn-primary  btn-lg lienbutton" type="button" >[[Accueil]]</div>
<div class="btn btn-primary  btn-lg" type="button" >[[Accueil]]</div>

Images (works)

[[File:Logo-semantiki.png|class=img-thumbnail]]

Fichier:Logo-semantiki.png

[[File:Logo-semantiki.png|class=img-circle]]

Fichier:Logo-semantiki.png

Components

Glyphicons (works)

<span class="glyphicon glyphicon-search"></span>

Available glyphs

Progress bar (works)

<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
    <span class="sr-only">60% Complete</span>
  </div>
 </div>

60% Complete

Alerts (works)

<div class="alert alert-danger">Oh snap! Change a few things up and try submitting again.</div>
Oh snap! Change a few things up and try submitting again.
<div class="alert alert-warning alert-dismissable">
  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
 </div>

<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Warning! Best check yo self, you're not looking too good.

Non working features

CSS

Components

Thumbnails (doesn't works)

  <img data-src="holder.js/100%x180" alt="...">

...

  <img data-src="holder.js/100%x180" alt="...">

Fichier:Logo-semantiki.png


JavaScript

tooltip (doesn't works)

 <div class="tooltip">
  <div class="tooltip-inner">
    Tooltip!
   </div>
  <div class="tooltip-arrow"></div>
 </div> 

Tooltip!

Collapse (doesn't works)

<a class="btn btn-primary" role="button" data-toggle="collapse" href=" aria-expanded="false" aria-controls="collapseExample">

 Link with href

</a> <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">

 Button with data-target

</button>

 ariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente e

Accordion

<div class="panel-group" id="accordion">
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
          Collapsible Group Item #1
        </a>
      </h4>
    </div>
    <div id="collapseOne" class="panel-collapse collapse in">
      <div class="panel-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
          Collapsible Group Item #2
        </a>
      </h4>
    </div>
    <div id="collapseTwo" class="panel-collapse collapse">
      <div class="panel-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
          Collapsible Group Item #3
        </a>
      </h4>
    </div>
    <div id="collapseThree" class="panel-collapse collapse">
      <div class="panel-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>
</div>

<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> Collapsible Group Item #1 </a>

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

<a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> Collapsible Group Item #2 </a>

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

<a data-toggle="collapse" data-parent="#accordion" href="#collapseThree"> Collapsible Group Item #3 </a>

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.