Commit Graph

8 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
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
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 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 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