Commit f21d2ea9 authored by Luc Didry's avatar Luc Didry
Browse files

Default theme refactoring tweaks

parent 8869cfc1
......@@ -66,6 +66,7 @@ span.red {
.dropdown .action-modify,
.dropdown .action-remove,
.dropdown .action-view,
.dropdown .action-copy,
.dropdown .action-remove-user,
.dropdown .action-impersonate {
color: #337ab7 !important;
......
This diff is collapsed.
......@@ -15,7 +15,7 @@
% my ($e, $num) = @_;
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading<%= $num %>">
<h4 class="panel-title">
<h1 class="h4 panel-title">
<a role="button" data-toggle="collapse" data-parent="#catAccordion" href="#collapse<%= $num %>" aria-expanded="true" aria-controls="collapse<%= $num %>">
<%= $e->name %>
</a>
......@@ -53,7 +53,7 @@
</ul>
</div>
</div>
</h4>
</h1>
</div>
<div id="collapse<%= $num %>" class="panel-collapse collapse" role="tabpanel">
<div class="panel-body">
......
......@@ -5,6 +5,7 @@ var i18n = {
addDolo: '<%= l('Add a dolo') %>',
rmDolo: '<%= l('Delete dolo') %>',
modDolo: '<%= l('Modify dolo') %>',
copyDolo: '<%= l('Copy dolomon URL')%>',
doloRmName: '<%= l('Are you sure you want to delete the dolo XXXX?') %>',
emptyPix: '<%= l('Use a transparent gif as target') %>',
showCat: '<%= l('Show category') %>',
......
......@@ -4,7 +4,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="<%= l('Close') %>"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"></h4>
<h1 class="h4 modal-title"></h1>
</div>
<div class="modal-body">
<form>
......
......@@ -65,6 +65,13 @@
<%= l('Delete dolo') %>
</a>
</li>
<li>
<a class="action-copy" href="#"
data-text="<%= url_for('hit', short => $e->short)->to_abs %>">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<%= l('Copy dolomon URL') %>
</a>
</li>
</ul>
</div>
</div>
......@@ -133,6 +140,13 @@
<%= l('Delete dolo') %>
</a>
</li>
<li>
<a class="action-copy" href="#"
data-text="<%= url_for('hit', short => $f->short)->to_abs %>">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<%= l('Copy dolomon URL') %>
</a>
</li>
</ul>
</div>
</div>
......
......@@ -59,6 +59,13 @@
<%= l('Delete dolo') %>
</a>
</li>
<li>
<a class="action-copy" href="#"
data-text="<%= url_for('hit', short => $d->short)->to_abs %>">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<%= l('Copy dolomon URL') %>
</a>
</li>
</ul>
</div>
</div>
......@@ -122,6 +129,13 @@
<%= l('Delete dolo') %>
</a>
</li>
<li>
<a class="action-copy" href="#"
data-text="<%= url_for('hit', short => $f->short)->to_abs %>">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<%= l('Copy dolomon URL') %>
</a>
</li>
</ul>
</div>
</div>
......
......@@ -44,6 +44,13 @@
<%= l('Delete dolo') %>
</a>
</li>
<li>
<a class="action-copy" href="#"
data-text="<%= url_for('hit', short => $d->short)->to_abs %>">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<%= l('Copy dolomon URL') %>
</a>
</li>
</ul>
</div>
</div>
......@@ -91,6 +98,13 @@
<%= l('Delete dolo') %>
</a>
</li>
<li>
<a class="action-copy" href="#"
data-text="<%= url_for('hit', short => $f->short)->to_abs %>">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<%= l('Copy dolomon URL') %>
</a>
</li>
</ul>
</div>
</div>
......
......@@ -4,7 +4,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="<%= l('Close') %>"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"></h4>
<h1 class="h4 modal-title"></h1>
</div>
<div class="modal-body">
<form>
......
......@@ -4,7 +4,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="<%= l('Close') %>"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"></h4>
<h1 class="h4 modal-title"></h1>
</div>
<div class="modal-body">
<p></p>
......
......@@ -15,7 +15,7 @@
% my ($e, $num) = @_;
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading<%= $num %>">
<h4 class="panel-title">
<h1 class="h4 panel-title">
<a role="button" data-toggle="collapse" data-parent="#tagAccordion" href="#collapse<%= $num %>" aria-expanded="true" aria-controls="collapse<%= $num %>">
<%= $e->name %>
</a>
......@@ -57,7 +57,7 @@
</ul>
</div>
</div>
</h4>
</h1>
</div>
<div id="collapse<%= $num %>" class="panel-collapse collapse" role="tabpanel">
<div class="panel-body">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment