Skip to content

Commit

Permalink
Merge pull request #15 from iCAPLyon1/5.x
Browse files Browse the repository at this point in the history
Minor update design
  • Loading branch information
smaurier committed Sep 9, 2015
2 parents d2f7f7e + f14c4ae commit e23c787
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
18 changes: 18 additions & 0 deletions Resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,21 @@ span.invisible-section-text {font-style: italic;}
margin-top: -25px;
text-align: right;
}

.wiki-contents-inner.well ul.sortable-list.sortable-enable li{
padding: 5px 5px 5px 15px;
font-size: 0.9em;
}

/* Grip */
.wiki-contents-inner.well ul.sortable-list.sortable-enable li::before{
content: "..\A ..\A ..\A ..\A ";
display: inline-block;
line-height: 5px;
margin-left: -11px;
margin-top: -5px;
position: absolute;
width: 5px;
}


2 changes: 1 addition & 1 deletion Resources/translations/icap_wiki.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ back_to_history: "Retour à l'historique"
edit: 'Modifier'
delete: 'Supprimer'
Delete: 'Supprimer'
Create: 'Creer'
Create: 'Créer'
Confirm: 'Confirmer'
Cancel: 'Annuler'
Save: 'Sauvegarder'
Expand Down
6 changes: 3 additions & 3 deletions Resources/views/Wiki/view.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
<div class="wiki-contents-title">
{{ 'wiki_contents'|trans({},'icap_wiki') }}
{% if isAdmin %}
<a id="move-contents-trigger" class="btn btn-default btn-xs pull-right">
<i class="fa fa-resize-vertical"></i> <i class="fa fa-reorder"></i>
</a>
<span id="move-contents-trigger" class="btn btn-default btn-xs pull-right">
<i class="fa fa-resize-vertical"></i> <span class="fa fa-arrows"></span>
</span>
{% endif %}
</div>
{% include "IcapWikiBundle:Wiki:wikiContents.html.twig" with {'sections' : tree[0].__children, 'isAdmin' : isAdmin, 'delimeter' : '.', 'rootId' : tree[0].id } %}
Expand Down

0 comments on commit e23c787

Please sign in to comment.