Merge "Docs: Add Google Feedback link to the footer for SAC pages."

This commit is contained in:
Gina Dimino 2015-07-31 18:47:20 +00:00 committed by Gerrit Code Review
commit 44c5e346cb
4 changed files with 20 additions and 9 deletions

View File

@ -420,8 +420,12 @@ video.with-shadow {
border-top: 1px solid #ccc;
margin-top: 10px;
padding-top:10px;
height: 30px; }
height: 30px;
}
.content-footer-test {
border-top: 1px solid #ccc;
}
.content-footer .col-9 {
margin-left:0;
}
@ -4457,6 +4461,11 @@ a.download-sdk {
float:right;
}
.feedback {
float:right !important;
margin: 0 0 0 10px;
font-size: 14px;
}
/************* HOME/LANDING PAGE *****************/

View File

@ -116,18 +116,13 @@
<div class="jd-descr" itemprop="articleBody">
<?cs call:tag_list(root.descr) ?>
</div>
<div class="content-footer <?cs
if:fullpage ?>wrap<?cs
else ?>layout-content-row<?cs /if ?>"
<div class="content-footer-test"
itemscope itemtype="http://schema.org/SiteNavigationElement">
<div class="layout-content-col <?cs
if:fullpage ?>col-16<?cs
elif:training||guide ?>col-8<?cs
else ?>col-9<?cs /if ?>" style="padding-top:4px">
<?cs if:!page.noplus ?><?cs if:fullpage ?><style>#___plusone_0 {float:right !important;}</style><?cs /if ?>
<div class="g-plusone" data-size="medium"></div>
<?cs /if ?>
</div>
<?cs if:!fullscreen ?>
<div class="paging-links layout-content-col col-4">
@ -138,7 +133,7 @@
ru-lang="Предыдущий"
ko-lang="이전"
ja-lang="前へ"
es-lang="Anterior"
es-lang="Anterior"
>Previous</a>
<a href="#" class="next-page-link hide"
zh-TW-lang="下一堂課"

View File

@ -1,4 +1,9 @@
<div id="footer" class="wrap" <?cs if:fullpage ?>style="width:940px"<?cs /if ?>>
<style>.feedback { float: right !Important }</style>
<div class="feedback">
<a href="#" class="button" onclick=" try {
userfeedback.api.startFeedback({'productId':'715571','authuser':'1'});return false;}catch(e){}">Send Feedback</a>
</div>
<div id="copyright">
<?cs call:custom_cc_copyright() ?>
</div>

View File

@ -46,6 +46,8 @@ else
<script src="<?cs var:toroot ?>navtree_data.js" async type="text/javascript"></script>
<?cs /if ?>
<script type="text/javascript" src="//www.gstatic.com/feedback/api.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-45455297-1']);