ordered list for group listing in group quests

This commit is contained in:
Daniel 2014-05-17 16:15:21 +02:00
commit a15b2146e0
2 changed files with 8 additions and 6 deletions

View file

@ -65,7 +65,7 @@
<section> <section>
<h1><i class="fa fa-users fa-fw"></i><?=$groupsgroup['name']?></h1> <h1><i class="fa fa-users fa-fw"></i><?=$groupsgroup['name']?></h1>
<ul class="grpqlist"> <ol class="grpqlist">
<?php foreach($groups as &$group) : ?> <?php foreach($groups as &$group) : ?>
<li> <li>
<span class="date"><?=$dateFormatter->format(new \DateTime($group['created']))?></span> <span class="date"><?=$dateFormatter->format(new \DateTime($group['created']))?></span>
@ -73,5 +73,5 @@
<span class="xp"><?=sprintf(_('%dXPs'), $group['xps'])?></span> <span class="xp"><?=sprintf(_('%dXPs'), $group['xps'])?></span>
</li> </li>
<?php endforeach ?> <?php endforeach ?>
</ul> </ol>
</section> </section>

View file

@ -265,10 +265,9 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
/** Charactergroup Quest **/ /** Charactergroup Quest **/
.grpqlist li{background:#fff;margin-bottom:6px;padding:5px 15px 5px 0;font-size:.875em;border-radius:3px} .grpqlist li{list-style-type:decimal;background:#fff;margin:0 0 6px 30px;padding:5px 15px;font-size:.875em;border-radius:3px}
.grpqlist .date{padding:0 15px;border-right:1px solid #dad8d5} .grpqlist .date{padding:0 15px 0 0;display:block}
.grpqlist .group{padding:0 15px} .grpqlist .xp{display:block}
.grpqlist .xp{float:right}
.gqgllry li{display:inline-block} .gqgllry li{display:inline-block}
@ -365,6 +364,9 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
.gchars li{width:32%} .gchars li{width:32%}
.grpqlist .date{float:left}
.grpqlist .xp{float:right}
.achmnts .xpbar{width:89%} .achmnts .xpbar{width:89%}
.admnql span{float:right} .admnql span{float:right}