Skip to content

Commit

Permalink
widget/raffles: Add popout
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Apr 28, 2018
1 parent 30f0bcc commit 37e716d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/popout.html
Expand Up @@ -92,6 +92,7 @@
page.base('/popout/')
page('/', function(p){
const id = p.hash.length === 0 ? 'dashboard' : p.hash
$('title').text(`sogeBot UI - ${id}`)
// load widget
$('#widget')
.load('../widgets/' +
Expand Down
5 changes: 5 additions & 0 deletions public/widgets/raffles.html
Expand Up @@ -23,6 +23,11 @@
<i class="fas fa-cog" aria-hidden="true"></i>
</a>
</li>
<li role="presentation" class="nav-item widget-popout">
<a class="nav-link" title="Popout" target="_blank" href="/popout/#raffles">
<i class="fas fa-external-link-alt"></i>
</a>
</li>
<li class="nav-item ml-auto">
<h6 class="widget-title" data-lang="widget-title-raffles"></h6>
</li>
Expand Down

0 comments on commit 37e716d

Please sign in to comment.