Commit Graph

48 Commits

Author SHA1 Message Date
jeffrey forman 5c90f80e8d Merge branch 'select-default-key' of https://github.com/Dunedan/binder into Dunedan-select-default-key
Conflicts:
	binder/templates/bcommon/list_zone.htm
2015-03-24 20:48:15 -04:00
jeffrey forman 448d18f8f9 make every cancel/delete action link a button 2015-03-24 20:19:30 -04:00
Daniel Roschka 0b21800bae Fixed the name of the variable holding the key on the add CNAME page. 2015-03-23 18:39:08 +01:00
Daniel Roschka a449443340 Automatically select the default key for the current server when doing actions.
This commit introduces automatic selection of the default TSIG key for all
available actions (add, delete). For enabling that it has been necessary to
provide the whole BindServer object to the template, which caused some
additional changes.

I also took the opportunity to unify some styling (indentation, linebreaks) of
the HTML templates.
2015-03-22 21:20:12 +01:00
Daniel Roschka c3e454e88b Added the cancel link on the page for adding CNAME records as well. 2015-03-22 20:52:46 +01:00
Daniel Roschka 1671bc4c2f Added buttons to cancel forms and fixed the styling of some buttons. 2015-03-22 18:34:40 +01:00
Jeffrey Forman e48f4ad5b0 make server zone list table sortable by column 2014-01-05 17:53:13 -05:00
Jeffrey Forman d8900c4075 convert to using pybindxml for scraping zone/server information from bind in server zone list 2014-01-05 17:50:13 -05:00
Jeffrey Forman c2daf46358 update url template references to be django 1.5 friendly 2013-12-01 18:05:01 -05:00
Jeffrey Forman 5ec7fc02c9 Add sorttable.js to static, ability to sort zone list table 2013-03-21 21:18:03 -04:00
Jeffrey Forman 9e95181936 Add ability to directly create reverse PTR records. Not the best, but it works. 2012-12-25 19:57:00 -05:00
Jeffrey Forman a7bc198c4d Convert template URL href references to use 'url' template syntax for reverse URLs 2012-12-15 20:25:06 -05:00
Jeffrey Forman 3a9e9fe614 dont show the 'add reverse record' checkbox if on form for adding reverse record 2012-12-12 21:12:58 -05:00
Jeffrey Forman aa76d59a13 add choice selection to record type when adding record. works for A/AAAA records. 2012-12-02 09:13:22 -05:00
Jeffrey Forman 42db5cedee create local_settings, pass TTL_CHOICES around to be able to pick TTL when creating record. 2012-12-02 08:49:49 -05:00
Jeffrey Forman d4d4afdaa1 Add ip info on server list page.
Also clean up imports, standardize on order
2012-11-28 22:09:25 -05:00
Jeffrey Forman 9dcb07e996 Display IP address along side server name in server list 2012-11-26 22:05:44 -05:00
Jeffrey Forman 0c36d0f4a8 template update,List dns server when listing a particular zone 2012-11-25 18:01:13 -05:00
Jeffrey Forman b80719c7ea add zone class and view name to server zone list view 2012-11-25 14:59:05 -05:00
Jeffrey Forman 6b66c156b9 Some template cleanup, making tag hierarchy more correct. 2012-11-25 13:45:01 -05:00
Jeffrey Forman 412b75b8cb Make some of the html tag inheritance with tr, div, script and body more correct. 2012-11-25 09:26:19 -05:00
Jeffrey Forman 9c5143cbd7 clean up delete template, change rr_array -> rr_list. list multiple records for deletion a bit cleaner 2012-11-23 22:22:59 -05:00
Jeffrey Forman 650245582a correct templates to use key.id in modelchoicefields 2012-11-17 23:02:20 -05:00
Jeffrey Forman 9f2bbdee0f combine all the result templates into one response_result.htm
standardize on the dictionary returned back from helpers, and to the template
2012-10-28 20:32:37 -04:00
Jeffrey Forman eb717e001a Bring things up to 1.4 standards. A LOT of file moves, simplifying of paths. Removed bcommon directory under binder 2012-10-28 14:49:15 -04:00
Jeffrey Forman a3e0dcc8cc Cleanup on the template that lists a zone's records 2012-10-27 18:41:48 -04:00
Jeffrey Forman 4565e93d93 a fairly big rewrite of add/delete record that actually works! 2012-10-27 18:03:45 -04:00
Jeffrey Forman 00b22acba7 Add most of the framework for adding a cname record. templates, views, helper code.
Still need to cleanup helpers, figure out why delete is failing
2012-10-26 17:09:05 -04:00
Jeffrey Forman 5bc7f923ad Clean up and make work adding and deleting records. Handles reverse and multiple records also 2012-10-22 20:39:07 -04:00
Jeffrey Forman d2a6b38a2b template cleanup on adding records. use of tsig key is now optional 2012-10-13 17:00:22 -04:00
Jeffrey Forman 80de5b2744 Begin some bootstrap/UI upgrades. Move layout to two column div 2012-10-12 08:25:39 -04:00
Jeffrey Forman a03f49c158 Code cleanup, standardize on dns_server and zone_name
Added bootstrap CSS framework
Added error handling around deleting with a bad key.
2011-11-26 13:03:00 -05:00
Jeffrey Forman 380657d5f5 Better handle when we try to list a zone that does not exist. 2011-11-25 17:43:26 -05:00
Jeffrey Forman 32aadb1ee2 End-to-end deletion working for single and multiple records. 2011-11-25 07:58:43 -05:00
Jeffrey Forman 00f8036991 End-to-end working version of adding forward/reverse A record from forward zone form. 2011-11-24 11:57:13 -05:00
Jeffrey Forman 6dd125eb67 WIP: Initial instrumentation of delete record functionality.
I have the confirmation page written. Need to work on parsing array to delete when confirmation received.
2011-04-24 22:11:43 -04:00
Jeffrey Forman 5523e79ded Preliminary error handling around key errors when adding a record 2011-04-24 21:10:25 -04:00
Jeffrey Forman a981711c22 When input is prefect, adding a record works and shows output from dns update. 2011-04-24 20:52:56 -04:00
Jeffrey Forman 6a1275185d WIP: Initial form written to add record. Displays, but does not work yet. 2011-04-23 16:23:25 -04:00
Jeffrey Forman 27a121ca0a work on issue 1, handle errors when querying server for list of zones
handles errors such as connection refused, no host found, etc.
2011-04-23 11:19:01 -04:00
Jeffrey Forman a69baae308 Part of previous commit for template to have form to delete records 2011-04-22 22:29:45 -04:00
Jeffrey Forman 64f32082f8 clean up the views structure. add an area for navigation 2011-04-17 22:33:14 -04:00
Jeffrey Forman 885b1068fe Handle errors when trying to retrieve zone list from NS server 2011-04-17 07:35:02 -04:00
Jeffrey Forman 26187f738b Zone list is now tablized. Need to hack up some CSS To make it pretty. 2011-04-14 20:43:04 -04:00
Jeffrey Forman 7135a48d64 Rudimentary first listing of zones from an NS works. 2011-04-14 15:29:58 -04:00
Jeffrey Forman 84953e3b16 zone lists are now clickable 2011-04-14 14:48:34 -04:00
Jeffrey Forman 8f21491f3a Handles listing dns servers and zones within 2011-04-13 22:27:40 -04:00
Jeffrey Forman 03ce6bb7db /info now works listing the dns servers configured, each linked as well 2011-04-13 20:49:20 -04:00