acolono / opencounter_api

0 stars 0 forks source link

Add basic admin ui #14

Closed rosenstrauch closed 7 years ago

rosenstrauch commented 8 years ago

because i cant want to do fucking rest commands with my browser

as an admin who is not a developer

i believe it may be a good idea to have a way to interact with counters that is isolated from the normal routes.

there should be a form for adding and editing counter 

+ name 

+ status

+ value

there should be a way to view the counter.

Scenario: visit /admin/counters/add

i wanna see a form

when i enter name value and status and save

i want

Scenario: i dont fill all the fields

@web

Scenario: i try adding non allowed chars.

Scenario: visit /admin/counters/1/view

Scenario: visit /admin/counters/1/edit

scenario: i try to visit /admin when i am not admin (access to admin paths only as admin via browser, not via restui exposed?)