Skip to content
Snippets Groups Projects
Commit d49529f6 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

use plain titles instead of table captions

parent 6458ed3f
No related branches found
No related tags found
No related merge requests found
...@@ -310,7 +310,7 @@ td.label { ...@@ -310,7 +310,7 @@ td.label {
.wizard > .content { .wizard > .content {
border: 2px solid #d90d12; border: 2px solid #d90d12;
} }
div.account table caption { div.account h3 {
background-color: #41494c; background-color: #41494c;
} }
div.account table tbody { div.account table tbody {
......
...@@ -165,18 +165,18 @@ div.account { ...@@ -165,18 +165,18 @@ div.account {
box-shadow: 0 3px 5px #333; box-shadow: 0 3px 5px #333;
padding:0.5rem; padding:0.5rem;
} }
div.account table { div.account h3 {
table-layout: fixed;
word-wrap: break-word;
margin-bottom: 0;
}
div.account table caption {
background-color: #f1893b; background-color: #f1893b;
color: #FFFFFF; color: #FFFFFF;
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
} }
div.account table {
table-layout: fixed;
word-wrap: break-word;
margin-bottom: 0;
}
div.account table tbody { div.account table tbody {
border:1px solid #f1893b; border:1px solid #f1893b;
} }
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
[% template = account.profile() _ '.tt2' %] [% template = account.profile() _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %] [% PROCESS $template scope=account.scope() id=account.id() | trim %]
<div class="account small-12 medium-6 large-4 columns"> <div class="account small-12 medium-6 large-4 columns">
<h3>[% lh.maketext("Account profile: [_1]", account.profile()) %]</h3>
<table> <table>
<caption>[% lh.maketext("Account profile: [_1]", account.profile()) %]</caption>
<tr> <tr>
<td><strong>[% lh.maketext("user name:") %]</strong></td> <td><strong>[% lh.maketext("user name:") %]</strong></td>
<td>user[% account.id() %]</td> <td>user[% account.id() %]</td>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button> <button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button>
</div> </div>
</div> </div>
<div class="reveal" data-reveal id="account_details_[% account.id() %]"> <div class="account reveal" data-reveal id="account_details_[% account.id() %]">
<button class="close-button" data-close aria-label="Close modal" type="button"> <button class="close-button" data-close aria-label="Close modal" type="button">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
</p> </p>
<div> <div>
<table> <table>
<caption>[% lh.maketext("List of user attributes") %]</caption>
[% FOREACH pair IN attributes.pairs %] [% FOREACH pair IN attributes.pairs %]
<tr> <tr>
<th>[% pair.key %]</th><td>[% pair.value.join(', ') %]</td> <th>[% pair.key %]</th><td>[% pair.value.join(', ') %]</td>
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
[% template = account.profile() _ '.tt2' %] [% template = account.profile() _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %] [% PROCESS $template scope=account.scope() id=account.id() | trim %]
<div class="account small-12 medium-6 large-4 columns"> <div class="account small-12 medium-6 large-4 columns">
<h3>[% lh.maketext("Account profile: [_1]", account.profile()) %]</h3>
<table> <table>
<caption>[% lh.maketext("Account profile: [_1]", account.profile()) %]</caption>
<tr> <tr>
<td><strong>[% lh.maketext("user name:") %]</strong></td> <td><strong>[% lh.maketext("user name:") %]</strong></td>
<td>user[% account.id() %]</td> <td>user[% account.id() %]</td>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button> <button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button>
</div> </div>
</div> </div>
<div class="reveal" data-reveal id="account_details_[% account.id() %]"> <div class="account reveal" data-reveal id="account_details_[% account.id() %]">
<button class="close-button" data-close aria-label="Close modal" type="button"> <button class="close-button" data-close aria-label="Close modal" type="button">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
</p> </p>
<div> <div>
<table> <table>
<caption>[% lh.maketext("List of user attributes") %]</caption>
[% FOREACH pair IN attributes.pairs %] [% FOREACH pair IN attributes.pairs %]
<tr> <tr>
<th>[% pair.key %]</th><td>[% pair.value.join(', ') %]</td> <th>[% pair.key %]</th><td>[% pair.value.join(', ') %]</td>
......
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