archive/scheduleac/client/client.html

74 lines
1.5 KiB
HTML
Raw Normal View History

2016-02-06 15:21:25 -05:00
<head>
2016-02-08 16:57:50 -05:00
<title>AC/Health Schedule</title>
2016-02-11 20:40:56 -05:00
<link rel="icon" sizes="32x32" href="/favicon.ico">
2016-02-06 15:21:25 -05:00
</head>
<body>
2016-02-11 18:10:16 -05:00
{{#if isDesktop}}
{{> client}}
{{else}}
{{> phone}}
{{/if}}
2016-02-06 15:21:25 -05:00
</body>
2016-02-07 02:03:06 -05:00
<template name="day">
<p class="type">{{aftertext}} </p><p class="date">{{pretext}} </p>
{{#if allowed}}
2016-02-09 17:13:27 -05:00
<i class="fa fa-times fa-3x"></i>
{{/if}}
2016-02-07 02:03:06 -05:00
</template>
<template name="recent">
2016-02-11 19:52:59 -05:00
<div class="recent eachDay {{aftertext}}">
<p class="type">{{aftertext}} </p><p class="date">{{pretext}}</p>
{{#if allowed}}
<i class="fa fa-times fa-3x"></i>
{{/if}}
</div>
2016-02-07 02:03:06 -05:00
</template>
2016-02-06 15:21:25 -05:00
<template name="client">
2016-02-08 16:57:50 -05:00
<div class="pulltab"></div>
<div class="scale">
{{> sidebar}}
</div>
<div class="scheduleList">
2016-02-07 02:03:06 -05:00
{{#each mostrecent}}
{{> recent}}
{{/each}}
2016-02-08 16:57:50 -05:00
2016-02-07 02:03:06 -05:00
{{#each sched}}
2016-02-11 19:52:59 -05:00
<div class="eachDay {{aftertext}}">
2016-02-07 02:03:06 -05:00
{{> day}}
</div>
{{/each}}
</div>
2016-02-08 16:57:50 -05:00
</template>
2016-02-07 02:03:06 -05:00
2016-02-08 16:57:50 -05:00
<template name="sidebar">
<div class="sidebar">
<h1>AC/Health Schedule</h1>
{{> loginButtons}}
{{#if allowed}}
<input type="text" class="form-control" id="date">
2016-02-09 17:45:16 -05:00
<select id="post">
<option value="AC">AC</option>
<option value="Health">Health</option>
</select>
<button id="button">Update!</button>
2016-02-10 08:06:43 -05:00
{{/if}}
2016-02-09 17:45:16 -05:00
<div class='about'>
2016-02-11 19:11:57 -05:00
<p>Developed by Yaman Qalieh</p>
<p>Visuals by Kenny Jao</p>
<a class="github" target="_blank" href="https://github.com/yamanq/scheduleac">Github</a>
2016-02-09 17:45:16 -05:00
</div>
2016-02-08 16:57:50 -05:00
</div>
2016-02-11 18:10:16 -05:00
</template>
<template name="phone">
2016-02-11 19:11:57 -05:00
{{#each phone}}
{{> recent}}
{{/each}}
2016-02-07 02:03:06 -05:00
</template>