Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
Menu feedback #143
Browse files Browse the repository at this point in the history
  • Loading branch information
gmfc committed Mar 2, 2017
1 parent 72e11e4 commit 59f2d79
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
margin-right: 1.5em;
}

.ui.menu {
border-radius: 0;
}


.main.container {
margin-top: 7em;
}
Expand All @@ -47,24 +52,15 @@
</div>
</div>

<div class="ui main container">
<a class="" href="./medicao.html">
<div class="ui segment">
<h2><i class="file text outline icon"></i> Gerar Relatório</h2>
</div>
</a>
<a class="" href="./realtime.html">
<div class="ui segment">
<h2><i class="unhide icon"></i>Visualização em tempo real</h2>
</div>
</a>
<a class="" href="./debug.html">
<div class="ui segment">
<h2><i class="usb icon"></i>Teste de conexão</h2>
</div>
</a>
<div id="navbtn" class="ui main container">


<div class="fluid ui big vertical labeled icon buttons">
<button id="hv" class="ui button" onclick="document.location.href='./medicao.html'"><i class="file text outline icon"></i> Gerar Relatório</button>
<button id="hv" class="ui button" onclick="document.location.href='./realtime.html'"><i class="unhide icon"></i>Visualização em tempo real</button>
<button id="hv" class="ui button" onclick="document.location.href='./debug.html'"><i class="usb icon"></i>Teste de conexão</button>
</div>


<div id="updatepopup" class="ui icon message" style="margin-top:45px; display:none;">
<i class="green idea icon"></i>
Expand All @@ -86,8 +82,8 @@ <h2><i class="usb icon"></i>Teste de conexão</h2>


<script>
$(".segment").hover(function() {
$(this).toggleClass("raised");
$(".button").hover(function() {
$(this).toggleClass("black");
});
var ver = require('./package.json').version;

Expand All @@ -96,7 +92,7 @@ <h2><i class="usb icon"></i>Teste de conexão</h2>
if (data[0].tag_name !== ver) {
$('#updatepopup').show();
$('#ver').text(data[0].tag_name);
$('#name').text('"'+data[0].name+'"');
$('#name').text('"' + data[0].name + '"');
$('#downloadurl').attr('href', data[0].assets[0].browser_download_url);
}
});
Expand Down

0 comments on commit 59f2d79

Please sign in to comment.