Skip to content
Snippets Groups Projects
Commit 97a81f6e authored by Alexis POYEN's avatar Alexis POYEN
Browse files

Feat : change buton icon

parent fe9004a0
No related branches found
No related tags found
1 merge request!66Resolve "Hide useless element"
Pipeline #6308 passed
This commit is part of merge request !66. Comments created here will be created in the context of that merge request.
......@@ -33,15 +33,15 @@ class CandidateList {
this.CandidateModel.current_user = await Auth.GetUser();
const mountpoint = where;
document.getElementById(mountpoint).innerHTML = /* HTML */ `
<header class="card-header">
<header id="dropdown-candidate-lists" class="card-header clickable">
<p id="candidate-list-title" class="card-header-title">
Liste des candidats par circonscription
</p>
<button id="dropdown-candidate-lists" class="button">
<span class="icon is-small">
<a>
<span class="icon is-large">
<i class="fas fa-caret-down"></i>
</span>
</button>
</a>
</header>
<div id="candidate-lists-dropdown-content" class="columns card-content">
<div class="column">
......
......@@ -30,15 +30,15 @@ class RoundDesk {
this.SectionModel.current_user = await Auth.GetUser();
const mountpoint = where;
document.getElementById(mountpoint).innerHTML = /* HTML */ `
<header class="card-header">
<header id="dropdown-round-desks" class="card-header clickable">
<p id="desk-round-title" class="card-header-title">
Bureaux de votes
</p>
<button id="dropdown-round-desks" class="button">
<span class="icon is-small">
<a>
<span class="icon is-large">
<i class="fas fa-caret-down"></i>
</span>
</button>
</a>
</header>
<div id="desk-rounds-dropdown-content" class="columns card-content">
<div class="column">
......@@ -112,7 +112,10 @@ class RoundDesk {
deskRoundTemplate(deskRound) {
return /* HTML */ `<div class="card card-list">
<div id="deskrounds-deskround-${deskRound.ID}" class="card-content clickable">
<div
id="deskrounds-deskround-${deskRound.ID}"
class="card-content clickable"
>
<div class="content">
<nav class="level">
<div
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment