Put the tweet block at the bottom of the dashboard

This commit is contained in:
Gaël Métais
2014-12-23 16:27:18 +01:00
parent a141122fbd
commit 5d2e647f10
3 changed files with 23 additions and 19 deletions
+8 -7
View File
@@ -7,13 +7,6 @@
<grade score="result.scoreProfiles.generic.globalScore" class="globalGrade"></grade>
<div class="on100">{{globalScore}}/100</div>
</div>
<div class="tweet" ng-if="!fromSocialShare">
<form ng-submit="sendTweet()">
<input type="text" class="tweetText" ng-model="tweetText">
<input type="submit" class="tweetButton" value="Tweet this!" ng-click="shareOnTwitter(tweetText)">
<input type="submit" class="linkedinButton" value="LinkedIn" ng-click="shareOnLinkedin(tweetText)">
</form>
</div>
</div>
<h2 ng-if="!fromSocialShare">Score details</h2>
@@ -45,6 +38,14 @@
</div>
</div>
<div class="tweet" ng-if="!fromSocialShare">
<form ng-submit="sendTweet()">
<input type="text" class="tweetText" ng-model="tweetText">
<input type="submit" class="tweetButton" value="Tweet this!" ng-click="shareOnTwitter(tweetText)">
<input type="submit" class="linkedinButton" value="LinkedIn this!" ng-click="shareOnLinkedin(tweetText)">
</form>
</div>
<div class="fromShare" ng-if="fromSocialShare">
<p>Yellow Lab Tools is a free online tool that analyzes performance and front-end quality.</p>
<a href="" ng-click="seeFullReport()">See the full report for this page</a>