Skip to content
Extraits de code Groupes Projets
Vérifiée Valider dbb506cd rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Reduce the size of the kara cards, to place more of them on the same window

parent 211eb67f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!13Dev kubat: More work done on the instance
<%# vim: ts=4 syntax=html <%# vim: ts=4 syntax=html
The template for the kara in kara cards %> The template for the kara in kara cards %>
<span hidden class = "karaID"><%= kara.id %></span> <span hidden class = "karaID"><%= kara.id %></span>
<span class="karaElement p-2 bd-highlight mr-auto"><%= kara.cat %> - <%= kara.language %> / <b><%= kara.source %></b><br> <span class="karaElement bd-highlight mr-auto"><%= kara.cat %> - <%= kara.language %> / <b><%= kara.source %></b><br>
<%= kara.type %> - <b><%= kara.title %></b> <i>[<%= kara.author %>]</i> <%= kara.type %> - <b><%= kara.title %></b> <i>[<%= kara.author %>]</i>
</span> </span>
<% if (kara.hasOwnProperty('position')) { %> <% if (kara.hasOwnProperty('position')) { %>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
The template for the kara card in lists %> The template for the kara card in lists %>
<li class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3 karaCard" draggable="true"> <li class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3 karaCard" draggable="true">
<%- include('kara.ejs'); %> <%- include('kara.ejs'); %>
<div class="karaElement p-2 bd-highlight"> <div class="karaElement bd-highlight">
<div class="d-flex flex-row bd-highlight mb-3 btn-group karaActionBtnGroup" role="group"> <div class="d-flex flex-row bd-highlight mb-3 btn-group karaActionBtnGroup" role="group">
<button class="btn btn-outline-light karaActionBtn karaAddBtn" title="Add"><i class="fas fa-plus"></i></button> <button class="btn btn-outline-light karaActionBtn karaAddBtn" title="Add"><i class="fas fa-plus"></i></button>
<button class="btn btn-outline-light karaActionBtn karaInsertBtn" title="Insert"><i class="fas fa-level-up-alt"></i></button> <button class="btn btn-outline-light karaActionBtn karaInsertBtn" title="Insert"><i class="fas fa-level-up-alt"></i></button>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
The template for the kara card in lists %> The template for the kara card in lists %>
<li class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3 karaCard karaQueue" draggable="true"> <li class="card p-2 bd-highlight shadow-none d-flex flex-row bd-highlight mb-3 karaCard karaQueue" draggable="true">
<%- include('kara.ejs'); %> <%- include('kara.ejs'); %>
<div class="karaElement p-2 bd-highlight"> <div class="karaElement bd-highlight">
<div class="d-flex flex-row bd-highlight mb-3 btn-group karaActionBtnGroup" role="group"> <div class="d-flex flex-row bd-highlight mb-3 btn-group karaActionBtnGroup" role="group">
<button class="btn btn-outline-light karaActionBtn karaPlayBtn" title="Play"><i class="fas fa-play"></i></button> <button class="btn btn-outline-light karaActionBtn karaPlayBtn" title="Play"><i class="fas fa-play"></i></button>
<button class="btn btn-outline-light karaActionBtn karaDeleteBtn" title="Delete"><i class="fas fa-times"></i></button> <button class="btn btn-outline-light karaActionBtn karaDeleteBtn" title="Delete"><i class="fas fa-times"></i></button>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter