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

move buttons out of tables

parent fd587696
No related branches found
No related tags found
No related merge requests found
......@@ -19,30 +19,26 @@
[% FOREACH account IN accounts %]
[% template = account.profile() _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<div class="small-12 medium-6 large-4 columns">
<div class="account">
<table>
<caption>[% lh.maketext("Account profile: [_1]", account.profile()) %]</caption>
<tr>
<td><strong>[% lh.maketext("user name:") %]</strong></td>
<td>user[% account.id() %]</td>
</tr>
<tr>
<td><strong>[% lh.maketext("password:") %]</strong></td>
<td>[% account.password() %]</td>
</tr>
<tr>
<td colspan="2">
<strong>[% lh.maketext("comment:") %]</strong>
<div class="comment">[% description.${lh.language_tag()} %]</div>
</td>
</tr>
<tr>
<td colspan="2" class="text-center" >
<button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button>
</td>
</tr>
</table>
<div class="account small-12 medium-6 large-4 columns">
<table>
<caption>[% lh.maketext("Account profile: [_1]", account.profile()) %]</caption>
<tr>
<td><strong>[% lh.maketext("user name:") %]</strong></td>
<td>user[% account.id() %]</td>
</tr>
<tr>
<td><strong>[% lh.maketext("password:") %]</strong></td>
<td>[% account.password() %]</td>
</tr>
<tr>
<td colspan="2">
<strong>[% lh.maketext("comment:") %]</strong>
<div class="comment">[% description.${lh.language_tag()} %]</div>
</td>
</tr>
</table>
<div class="text-center" >
<button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button>
</div>
</div>
<div class="reveal" data-reveal id="account_details_[% account.id() %]">
......
......@@ -21,30 +21,26 @@
[% FOREACH account IN accounts %]
[% template = account.profile() _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<div class="small-12 medium-6 large-4 columns">
<div class="account">
<table>
<caption>[% lh.maketext("Account profile: [_1]", account.profile()) %]</caption>
<tr>
<td><strong>[% lh.maketext("user name:") %]</strong></td>
<td>user[% account.id() %]</td>
</tr>
<tr>
<td><strong>[% lh.maketext("password:") %]</strong></td>
<td>[% account.password() %]</td>
</tr>
<tr>
<td colspan="2">
<strong>[% lh.maketext("comment:") %]</strong>
<div class="comment">[% description.${lh.language_tag()} %]</div>
</td>
</tr>
<tr>
<td colspan="2" class="text-center" >
<button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button>
</td>
</tr>
</table>
<div class="account small-12 medium-6 large-4 columns">
<table>
<caption>[% lh.maketext("Account profile: [_1]", account.profile()) %]</caption>
<tr>
<td><strong>[% lh.maketext("user name:") %]</strong></td>
<td>user[% account.id() %]</td>
</tr>
<tr>
<td><strong>[% lh.maketext("password:") %]</strong></td>
<td>[% account.password() %]</td>
</tr>
<tr>
<td colspan="2">
<strong>[% lh.maketext("comment:") %]</strong>
<div class="comment">[% description.${lh.language_tag()} %]</div>
</td>
</tr>
</table>
<div class="text-center">
<button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% lh.maketext("show details") %]</button>
</div>
</div>
<div class="reveal" data-reveal id="account_details_[% account.id() %]">
......
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