Skip to content

Commit

Permalink
Dev: little improvment on basic
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 24, 2016
1 parent 69b08e5 commit 1684e94
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
3 changes: 3 additions & 0 deletions templates/basic/css/template.css
Expand Up @@ -11,6 +11,9 @@ html {
position: relative;
min-height: 100%;
}

/* Some space */
.navigator{margin-top: 1em;margin-bottom: 1em; }
/* Some no boostrap class */
.ls-language-changer-item{text-align:right}
.dir-rtl .ls-language-changer-item{text-align:left}
Expand Down
16 changes: 10 additions & 6 deletions templates/basic/pstpl/navigator.pstpl
@@ -1,6 +1,10 @@
<div class="navigator text-center">{NAVIGATOR}</div>
<!-- Review this par : using div ? -->
{if(!is_empty(SAVE) or !is_empty(CLEARALL),"<ul class='list-unstyled list-inline save-clear'>","")}
{if(!is_empty(SAVE),"<li>"+SAVE+"</li>","")}
{if(!is_empty(CLEARALL),"<li>"+CLEARALL+"</li>","")}
{if(!is_empty(SAVE) or !is_empty(CLEARALL),"</ul>","")}
<div class="navigator row hidden-xs">
<div class="col-sm-6 text-left">{MOVEPREVBUTTON}</div>
<div class="col-sm-6 text-right">{MOVENEXTBUTTON}</div>
</div>
<div class="navigator text-center visible-xs-block">{NAVIGATOR}</div>
<!-- Need improvment -->
<ul class='list-unstyled list-inline save-clear-list'>
<li>{CLEARALL}</li><!-- btn-link in core ? -->
<li>{SAVE}</li>
</ul>

0 comments on commit 1684e94

Please sign in to comment.