Skip to content

Commit 6c55eb3

Browse files
author
Nick Jonas
committed
archived coder lib and weather
1 parent a69b75a commit 6c55eb3

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

coder-apps/common/coderlib/static/css/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ html, body {
44
margin: 0;
55
border: 0;
66
padding: 0;
7+
overflow:hidden;
78
}
89

910
body {
@@ -95,6 +96,11 @@ H2 {
9596
-o-transform: rotate(-90deg);
9697
transform: rotate(-90deg);
9798
}
99+
100+
.pi #coder_basicnav, .RPi #coder_basicnav, .raspi #coder_basicnav, .rasberrypi #coder_basicnav, .rpi #coder_basicnav{
101+
display:none;
102+
}
103+
98104
#coder_basicnav .coder_editbutton {
99105
position: absolute;
100106
right: 0px;

coder-apps/drinabox/weather/app/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ exports.index_handler = function( req, res ) {
2121
tmplvars['app_name'] = exports.settings.appname;
2222
tmplvars['app_url'] = exports.settings.appurl;
2323
tmplvars['device_name'] = exports.settings.device_name;
24+
tmplvars['env'] = exports.settings.env;
2425

2526
// get weather
2627
var coord = ['40.7127', '-74.0059'];

coder-apps/drinabox/weather/views/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<script src="{{&static_url}}/js/index.js"></script>
2424
<!-- End apps includes -->
2525
</head>
26-
<body class="">
26+
<body class="{{&env}}">
2727
<div class="pagecontent screen">
2828
<div class="weather current"><i class="icon {{weather.0.icon}}"></i><span class="temp">{{weather.0.temp}}</span></div>
2929
<div class="hourly-container">

0 commit comments

Comments
 (0)