Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
255 changes: 0 additions & 255 deletions applications/server/controllers/editor.py

This file was deleted.

10 changes: 0 additions & 10 deletions applications/server/models/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,6 @@

## TODO: define the tables that need to be synched "down", for settings, and procedures.

############ Test tables.
## This is the table used to temporary testing editor
## it get procedure by the table id instead of device id
## because Team2 provide API for us to get the data from procedures
## we will delete this table at the final edition.
db.define_table('coding',
Field('procedures', 'text'),
Field('times','datetime')
)

# Test table for inserting a procedure. Whatever gets inserted here is garbage.
db.define_table('procedures_trash',
Field('device_id', 'string', required=True),
Expand Down
6 changes: 3 additions & 3 deletions applications/server/views/default/test_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
<div style="margin: 15px 0px 15px 0px;">
<a class="list-group-item" id="save_result" style=""><div></div></a>
</div>
<button id = "save_unstable" type="button" class="btn btn-primary" onclick="save_procedure('{{=URL('editor','save_procedure',user_signature=True)}}',{{=procedure_id}}, false)">save temporary</button>
<button id = "save_stable" type="button" class="btn btn-info" onclick="save_procedure('{{=URL('editor','save_procedure',user_signature=True)}}',{{=procedure_id}}, true)">save stable</button>
<button id = "delete" type="button" class="btn btn-danger" onclick="delete_procedure('{{=URL('editor','delete_procedure',user_signature=True)}}',{{=procedure_id}}, {{=device_id}})">delete procedure</button>
<button id = "save_unstable" type="button" class="btn btn-primary" onclick="save_procedure('{{=URL('default','save_procedure',user_signature=True)}}',{{=procedure_id}}, false)">save temporary</button>
<button id = "save_stable" type="button" class="btn btn-info" onclick="save_procedure('{{=URL('default','save_procedure',user_signature=True)}}',{{=procedure_id}}, true)">save stable</button>
<button id = "delete" type="button" class="btn btn-danger" onclick="delete_procedure('{{=URL('default','delete_procedure',user_signature=True)}}',{{=procedure_id}}, {{=device_id}})">delete procedure</button>
</div>
</div>
</div>
Expand Down
11 changes: 0 additions & 11 deletions applications/server/views/editor/create.html

This file was deleted.

78 changes: 0 additions & 78 deletions applications/server/views/editor/edit_js.html

This file was deleted.

Loading