Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #96 from wasade/edit_barcode_kit
Browse files Browse the repository at this point in the history
Edit barcode kit
  • Loading branch information
mortonjt committed Sep 19, 2016
2 parents b535fd2 + e3b77ce commit c1e699e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 72 deletions.
34 changes: 0 additions & 34 deletions knimin/handlers/ag_edit_kit.py

This file was deleted.

11 changes: 0 additions & 11 deletions knimin/lib/data_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -1813,17 +1813,6 @@ def updateAGLogin(self, ag_login_id, email, name, address, city, state,
address, city, state, zipcode, country,
ag_login_id])

def updateAGKit(self, ag_kit_id, supplied_kit_id, kit_password,
swabs_per_kit, kit_verification_code):
kit_password = hashpw(kit_password)
sql = """UPDATE ag_kit
SET supplied_kit_id = %s, kit_password = %s,
swabs_per_kit = %s, kit_verification_code = %s
WHERE ag_kit_id = %s"""

self._con.execute(sql, [supplied_kit_id, kit_password, swabs_per_kit,
kit_verification_code, ag_kit_id])

def updateAGBarcode(self, barcode, ag_kit_id, site_sampled,
environment_sampled, sample_date, sample_time,
participant_name, notes, refunded, withdrawn):
Expand Down
24 changes: 0 additions & 24 deletions knimin/templates/ag_edit_kit.html

This file was deleted.

1 change: 0 additions & 1 deletion knimin/templates/ag_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ <h2>Registered Login Info </h2>
<th>kit_verification_code</th>
<th>kit_verified</th>
<tr class="gridrow">
<td><a href="/ag_edit_kit/?kitid={{kit['supplied_kit_id']}}">edit</a></td>
<td>{{kit['supplied_kit_id']}}</td>
<td>{{kit['kit_password']}}</td>
<td>{{kit['swabs_per_kit']}}</td>
Expand Down
2 changes: 0 additions & 2 deletions knimin/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from knimin.handlers.ag_stats import AGStatsHandler
from knimin.handlers.ag_edit_participant import AGEditParticipantHandler
from knimin.handlers.ag_new_kit import AGNewKitHandler, AGNewKitDLHandler
from knimin.handlers.ag_edit_kit import AGEditKitHandler
from knimin.handlers.ag_new_barcode import (AGNewBarcodeHandler,
AGBarcodePrintoutHandler,
AGBarcodeAssignedHandler)
Expand Down Expand Up @@ -59,7 +58,6 @@ def __init__(self):
(r"/ag_edit_participant/", AGEditParticipantHandler),
(r"/ag_new_kit/", AGNewKitHandler),
(r"/ag_new_kit/download/", AGNewKitDLHandler),
(r"/ag_edit_kit/", AGEditKitHandler),
(r"/ag_new_barcode/", AGNewBarcodeHandler),
(r"/ag_update_geocode/", AGUpdateGeocodeHandler),
(r"/update_ebi/", UpdateEBIStatusHandler),
Expand Down

0 comments on commit c1e699e

Please sign in to comment.