Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates progressbar code example #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions components.html
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ <h1>Barra de progresso</h1>
<code>
<span class="el">&lt;</span>div
<span class="attr">class</span><span class="el">=</span><span class="value">"bar"</span>
<span class="attr">data-percentage</span><span class="el">=</span><span class="value">"20%"</span>
<span class="attr">data-percentage</span><span class="el">=</span><span class="value">"20"</span>
<span class="attr">data-color</span><span class="el">=</span><span class="value">"success"</span>
<span class="attr">data-tooltip</span><span class="el">=</span><span class="value">"Test"</span>
<span class="attr">data-text</span><span class="el">=</span><span class="value">"20% do total"<span class="el">&gt;</span>
Expand All @@ -523,7 +523,7 @@ <h1>Barra de progresso</h1>
</p>
<ul>
<li><code>class="bar"</code> - Classe que ativa a barra de progresso.</li>
<li><code>data-percentage="x%"</code> - Atributo que determina o progresso.</li>
<li><code>data-percentage="x"</code> - Atributo que determina o progresso.</li>
</ul>
<p>
<strong>Atributos opcionais:</strong>
Expand All @@ -534,11 +534,11 @@ <h1>Barra de progresso</h1>
<li><code>data-tooltip=""</code> - Determina a mensagem que vai aparecer quando a barra estiver em <code>:hover</code>.</li>
<li><code>data-text=""</code> - Determina o texto que deve aparecer no indicador de progresso.</li>
</ul>
<div class="bar" data-percentage="20%" data-color="success" data-tooltip="Test" data-text="20% do total"></div>
<div class="bar" data-percentage="40%" data-color="warning" data-tooltip="40"></div>
<div class="bar" data-percentage="60%" data-color="danger" data-tooltip="60"></div>
<div class="bar" data-percentage="80%" data-color="info" data-tooltip="80"></div>
<div class="bar" data-percentage="100%" data-tooltip="100"></div>
<div class="bar" data-percentage="20" data-color="success" data-tooltip="Test" data-text="20% do total"></div>
<div class="bar" data-percentage="40" data-color="warning" data-tooltip="40"></div>
<div class="bar" data-percentage="60" data-color="danger" data-tooltip="60"></div>
<div class="bar" data-percentage="80" data-color="info" data-tooltip="80"></div>
<div class="bar" data-percentage="100" data-tooltip="100"></div>
</section>
<section id="tooltips" class="gt-section">
<h2>Tooltips</h2>
Expand Down