mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
visually separate format-buttons from direct-links
This commit is contained in:
parent
7208ba0e53
commit
2d5efacb59
3 changed files with 10 additions and 8 deletions
|
@ -8,11 +8,11 @@
|
|||
<div class="btn-group" role="group">
|
||||
<div class="btn btn-primary" disabled>Audio</div>
|
||||
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-flag-o"></span>
|
||||
native
|
||||
</a>
|
||||
<a href="<?=h($selection->getTranslatedLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getTranslatedLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-flag"></span>
|
||||
translated
|
||||
</a>
|
||||
|
@ -21,6 +21,7 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<br /><br />
|
||||
<? endif ?>
|
||||
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
<div class="btn-group" role="group">
|
||||
<div class="btn btn-primary" disabled>Slides</div>
|
||||
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-flag-o"></span>
|
||||
native
|
||||
</a>
|
||||
<a href="<?=h($selection->getTranslatedLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getTranslatedLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-flag"></span>
|
||||
translated
|
||||
</a>
|
||||
|
@ -21,6 +21,7 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<br /><br />
|
||||
<? endif ?>
|
||||
|
||||
|
||||
|
|
|
@ -6,22 +6,22 @@
|
|||
<? $selection = $room->createSelectionObject($res) ?>
|
||||
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
|
||||
<div class="btn-group" role="group">
|
||||
<div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div>
|
||||
<div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div>
|
||||
|
||||
<? if($room->hasTranslation()): ?>
|
||||
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-flag-o"></span>
|
||||
native
|
||||
</a>
|
||||
<a href="<?=h($selection->getTranslatedLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getTranslatedLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-flag"></span>
|
||||
translated
|
||||
</a>
|
||||
|
||||
<? else: ?>
|
||||
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-default">
|
||||
<a href="<?=h($selection->getLink())?>" class="btn btn-primary">
|
||||
<span class="fa fa-video-camera"></span>
|
||||
video
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue