Skip to content

Commit

Permalink
Updating demo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Dec 1, 2015
1 parent 47c00bb commit 7c65a51
Show file tree
Hide file tree
Showing 3 changed files with 1,546 additions and 85 deletions.
17 changes: 0 additions & 17 deletions demo/assets/js/dashboard2.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,21 +268,4 @@ $(function () {
spotColor: $this.data('spotcolor')
});
});

//-----------
//- WEATHER -
//-----------
var icons = new Skycons({"color": '#3C8DBC'}),
list = [
'clear-day', 'clear-night', 'partly-cloudy-day',
'partly-cloudy-night', 'cloudy', 'rain', 'sleet', 'snow', 'wind',
'fog'
],
i;

for (i = list.length; i--;) {
icons.set(list[i], list[i]);
}

icons.play();
});
128 changes: 62 additions & 66 deletions demo/index2.html
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ <h3 class="box-title">Recently Added Products</h3>

<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Daily active users</h3>
<h3 class="box-title">Weather</h3>

<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i
Expand All @@ -1370,79 +1370,75 @@ <h3 class="box-title">Daily active users</h3>
</div>
</div>
<div class="box-body">
<div class="row">
<div class="col-sm-12">
<div class="temperature"><b>Monday</b>, 07:30 AM
<span>F</span> <span><b>C</b></span>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="weather-icon">
<canvas height="84" width="84" id="partly-cloudy-day"></canvas>
<div class="weather">
<h3 class="weather-header">
<b>Monday</b> - <small>01/01/2015 07:30 AM</small>
</h3>
<div class="row weather-today">
<div class="col-sm-4">
<div class="weather-icon">
<i class="wi wi-day-sunny-overcast"></i>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="weather-text">
<h4>Texas <br><i>Partly Cloudy Day</i></h4>
<div class="col-sm-8">
<div class="weather-text">
<h4 class="weather-city">Texas</h4>
<h5 class="weather-status">Partly Cloudy Day</h5>
<h6 class="weather-degrees">
23 <i class="wi wi-celsius"></i>
</h6>
</div>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="weather-text pull-right">
<h3 class="degrees">23°</h3>
</div>
</div>
<div class="clearfix"></div>

<div class="row weather-days">
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Mon</h4>
<h5 class="degrees">25</h5>
<canvas id="clear-day" width="32" height="32"></canvas>
<p>15 <i>km/h</i></p>
<div class="clearfix"></div>
<div class="row weather-days">
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Mon</h4>
<h5 class="degrees">25</h5>
<i class="wi wi-day-sunny"></i>
<p>15 <i>km/h</i></p>
</div>
</div>
</div>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Tue</h4>
<h5 class="degrees">25</h5>
<canvas height="32" width="32" id="rain"></canvas>
<p>12 <i>km/h</i></p>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Tue</h4>
<h5 class="degrees">25</h5>
<i class="wi wi-day-cloudy"></i>
<p>12 <i>km/h</i></p>
</div>
</div>
</div>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Wed</h4>
<h5 class="degrees">27</h5>
<canvas height="32" width="32" id="snow"></canvas>
<p>14 <i>km/h</i></p>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Wed</h4>
<h5 class="degrees">27</h5>
<i class="wi wi-day-sleet"></i>
<p>14 <i>km/h</i></p>
</div>
</div>
</div>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Thu</h4>
<h5 class="degrees">28</h5>
<canvas height="32" width="32" id="sleet"></canvas>
<p>15 <i>km/h</i></p>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Thu</h4>
<h5 class="degrees">28</h5>
<i class="wi wi-day-sleet-storm"></i>
<p>15 <i>km/h</i></p>
</div>
</div>
</div>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Fri</h4>
<h5 class="degrees">28</h5>
<canvas height="32" width="32" id="wind"></canvas>
<p>11 <i>km/h</i></p>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Fri</h4>
<h5 class="degrees">28</h5>
<i class="wi wi-day-snow"></i>
<p>11 <i>km/h</i></p>
</div>
</div>
</div>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Sat</h4>
<h5 class="degrees">26</h5>
<canvas height="32" width="32" id="cloudy"></canvas>
<p>10 <i>km/h</i></p>
<div class="col-sm-2">
<div class="daily-weather">
<h4 class="day">Sat</h4>
<h5 class="degrees">26</h5>
<i class="wi wi-day-cloudy-high"></i>
<p>10 <i>km/h</i></p>
</div>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 7c65a51

Please sign in to comment.