diff options
| -rw-r--r-- | docs/docs.css | 9 | ||||
| -rw-r--r-- | docs/docs.js | 6 | ||||
| -rw-r--r-- | docs/index.html | 1 |
3 files changed, 15 insertions, 1 deletions
diff --git a/docs/docs.css b/docs/docs.css index 4ade0405..69cfb078 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -56,7 +56,8 @@ a { } #section { - padding: 1em; + padding: 1em; + width: 100%; } #section h1 { @@ -168,3 +169,9 @@ a { font-weight: bold; color: orange; } + +#feedback { + float: right; + width: 10em; + text-align: right; +}
\ No newline at end of file diff --git a/docs/docs.js b/docs/docs.js index 8c836049..a475b7b6 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -34,6 +34,12 @@ function DocsController($location, $browser, $window) { $window.scroll(0,0); SyntaxHighlighter.highlight(); }; + + this.getFeedbackUrl = function() { + return "mailto:angular@googlegroups.com?" + + "subject=" + escape("Feedback on " + $location.href) + "&" + + "body=" + escape("Hi there,\n\nI read " + $location.href + " and wanted to ask ...."); + } } diff --git a/docs/index.html b/docs/index.html index 12f23fbb..0f2d3003 100644 --- a/docs/index.html +++ b/docs/index.html @@ -39,6 +39,7 @@ </div> </div> <div id="section"> + <a id="feedback" ng:href="{{getFeedbackUrl()}}">Report an Issue or Ask a Question</a> <ng:include src="getCurrentPartial()" onload="afterPartialLoaded()"></ng:include> </div> </div> |
