mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Initial Commit
This commit is contained in:
34
public/partials/schedule/index.html
Normal file
34
public/partials/schedule/index.html
Normal file
@ -0,0 +1,34 @@
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="/clients"><i class="icon-calendar"></i> Schedule</a><li>
|
||||
</ul>
|
||||
<header>
|
||||
<h1>Schedule</h1>
|
||||
</header>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="toolbelt">
|
||||
<a href="/workorders/add" class="btn btn-primary">Create new Workorder</a>
|
||||
<a href="/schedule/pms" class="btn btn-primary">View PMs</a>
|
||||
<div class="pull-right">
|
||||
<span class="toolbelt-text">Group: </span>
|
||||
<div class="input-append">
|
||||
<select ng-model="group" name="group" class="input-medium">
|
||||
<option ng-repeat="(key, value) in TECH_GROUPS" value="{{key}}">{{value}}</option>
|
||||
</select>
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
</div>
|
||||
<span class="toolbelt-text">Date: </span>
|
||||
<div class="input-append">
|
||||
<input ng-model="date" datepicker type="text" class="input-medium">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<techpicker
|
||||
users="users"
|
||||
schedule="schedule"
|
||||
date="date"
|
||||
on-entry-click="onEntryClick(entry)"></techpicker>
|
||||
</div>
|
||||
</div>
|
54
public/partials/schedule/pms.html
Normal file
54
public/partials/schedule/pms.html
Normal file
@ -0,0 +1,54 @@
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="/clients"><i class="icon-briefcase"></i> Schedule</a><li>
|
||||
</ul>
|
||||
<header>
|
||||
<h1>Preventive Maintenance</h1>
|
||||
</header>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="toolbelt">
|
||||
<a href="/clients/add" class="btn btn-primary">Create new Workorder</a>
|
||||
<div class="pull-right">
|
||||
<span class="toolbelt-text">Month:</span>
|
||||
<div class="input-append">
|
||||
<select ng-model="month" name="month" class="input-xlarge">
|
||||
<option value="0">January</option>
|
||||
<option value="1">February</option>
|
||||
<option value="2">March</option>
|
||||
<option value="3">April</option>
|
||||
<option value="4">May</option>
|
||||
<option value="5">June</option>
|
||||
<option value="6">July</option>
|
||||
<option value="7">August</option>
|
||||
<option value="8">September</option>
|
||||
<option value="9">October</option>
|
||||
<option value="10">November</option>
|
||||
<option value="11">December</option>
|
||||
</select>
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="biomed-table" infinite-scroll="addItems()" can-load="canLoad" threshold="300">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 48%">Client Name</th>
|
||||
<th style="width: 20%">Reason</th>
|
||||
<th style="width: 20%">Contact</th>
|
||||
<th style="width: 12%">Phone</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-show="loading"><td colspan="4" class="table-loading"><i class="loader"></i></td></tr>
|
||||
<tr ng-hide="loading || pms.length"><td colspan="4" class="table-message">There is no information to display.</td></tr>
|
||||
<tr ng-hide="loading" ng-repeat="pm in pms">
|
||||
<td><a ng-href="/workorders/add?clientId={{pm.client._id}}&reason=Preventive%20Maintenance&remarks={{pm.reason}}">{{pm.client.name}} ({{pm.client.identifier | uppercase}})</a><br>
|
||||
<td>{{pm.reason}}</td>
|
||||
<td>{{pm.client.contacts[0].name}}</td>
|
||||
<td>{{pm.lient.contacts[0].phone}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user