weather.html 4 KB
Newer Older
Zach's avatar
Zach committed
1
<body>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

<div class="mdl-layout mdl-js-layout">
  <header class="mdl-layout__header">
    <div class="mdl-layout__header-row">
      <span class="mdl-layout__title">Weather</span>
    </div>
  </header>
  <main class="mdl-layout__content">
    <div>
        <div class="bg">
            {{> weather}}
            {{> footer}}
        </div>
    </div>
  </main>
</div>
Zach's avatar
Zach committed
18
</body>
19

Zach's avatar
Zach committed
20
<template name="weather">
Zach's avatar
Zach committed
21

Zach's avatar
Zach committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

  <div class="mdl-grid">
      <div class="mdl-call mdl-cell--12-col">
          <div class="weather-card mdl-card mdl-shadow--4dp">
            <div class="mdl-card__title">
               <h1 class="mdl-card__title-text">Fairfax Campus<br /></h1>
            </div>
            <div class="mdl-card__supporting-text">
                <h4>Partly Cloudy</h4>
                <div class="temp-size">
                    <i class="wi wi-day-cloudy wi-fw"></i> 76<i class="wi wi-fahrenheit"></i>
                </div><br />
                Feels like 72<i class="wi wi-fahrenheit"></i><br />
            </div>
          </div>
      </div>
      <div class="mdl-cell mdl-cell--4-col">
          <div class="out-of-focus-card mdl-card mdl-shadow--4dp">
              <div class="mdl-card__title">
                  <h1 class="mdl-card__title-text">Tomorrow<br /></h1>
              </div>
              <div class="mdl-card__supporting-text">
                  <h5>Partly Cloudy</h5>
                  <div class="oof-size">
                       <i class="wi wi-day-cloudy wi-fw"></i> 76<i class="wi wi-fahrenheit"></i> / 48<i class="wi wi-fahrenheit"></i>
                  </div>
              </div>
          </div>
      </div>
      <div class="mdl-cell mdl-cell--4-col">
          <div class="out-of-focus-card mdl-card mdl-shadow--4dp">
              <div class="mdl-card__title">
                  <h1 class="mdl-card__title-text">Saturday<br /></h1>
              </div>
              <div class="mdl-card__supporting-text">
                  <h5>Partly Cloudy</h5>
                  <div class="oof-size">
                       <i class="wi wi-day-cloudy wi-fw"></i> 76<i class="wi wi-fahrenheit"></i> / 48<i class="wi wi-fahrenheit"></i>
                  </div>
              </div>
          </div>
      </div>
      <div class="mdl-cell mdl-cell--4-col">
          <div class="out-of-focus-card mdl-card mdl-shadow--4dp">
              <div class="mdl-card__title">
                  <h1 class="mdl-card__title-text">Sunday<br /></h1>
              </div>
              <div class="mdl-card__supporting-text">
                  <h5>Partly Cloudy</h5>
                  <div class="oof-size">
                       <i class="wi wi-day-cloudy wi-fw"></i> 76<i class="wi wi-fahrenheit"></i> / 48<i class="wi wi-fahrenheit"></i>
                  </div>
              </div>
          </div>
Zach's avatar
Zach committed
76
77
    </div>
  </div>
78
79
80
81
82
83
84
85
86
87
  <h3><strong>Arlington Campus</strong> <i class="wi wi-day-sunny"></i> 82<i class="wi wi-fahrenheit"></i></h3>
  <hr>
  <h3><strong>Science and Technology Campus</strong> <i class="wi wi-day-sunny-overcast"></i> 74<i class="wi wi-fahrenheit"></i></h3>
  <hr>
  <h3><strong>Smithsonian Conservation Biology Institute</strong> <i class="wi wi-day-storm-showers"></i> 68<i class="wi wi-fahrenheit"></i></h3>
  <hr>
  <h3><strong>Mason Korea</strong> <i class="wi wi-rain-mix"></i> 64<i class="wi wi-fahrenheit"></i></h3>
  <hr>
  <h3><strong>Mason Ras-Al-Khaimah</strong> <i class="wi wi-hot"></i> 102<i class="wi wi-fahrenheit"></i></h3>
  <hr>
Zach's avatar
Zach committed
88
</template>
Zach's avatar
Zach committed
89

90
91
92
93
94
95
96
97
98
<template name="header">
  <header class="mdl-layout__header mdl-layout__header--scroll">
    <div class="mdl-layout__header-row">
      <span class="mdl-layout__title">Weather</span>
      <div class="mdl-layout-spacer"></div>
    </div>
  </header>
</template>

Zach's avatar
Zach committed
99
100
101
102
103
104
105
106
107
108
<template name="footer">
    <footer class="mdl-mini-footer">
        <div class="mdl-mini-footer__left-section">
            <div class="mdl-logo">SRCT Weather</div>
        </div>
        <div class="mdl-mini-footer__right-section">
            A project of <a href="http://srct.gmu.edu/">Mason SRCT</a>
        </div>
    </footer>
</template>