Skip to content

Commit

Permalink
Authorization prettification
Browse files Browse the repository at this point in the history
  • Loading branch information
graulund committed Jul 2, 2013
1 parent b6d847d commit 1cc1a60
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,12 @@ function configSetting($cf, $setting, $value){
margin: 0 0 .5em;
}

.authorized {
color: #090;
#content strong.authorized {
color: #fff;
background-color: #0c0;
padding: 2px 8px;
border-radius: 3px;
margin-left: 1px;
}

</style>
Expand Down Expand Up @@ -629,7 +633,7 @@ function configSetting($cf, $setting, $value){
if (!isset($_SESSION['access_token'])) {
echo '<input type="image" src="inc/twitteroauth/images/lighter.png" alt="Sign in with Twitter" name="redirect" value="redirect">';
} else {
echo '<strong class="authorized">Authorized</strong>';
echo '<strong class="authorized">Authorized &#10004;</strong>';
}?></div>
<div class="what">Authorize Tweetnest to access your twitter account.</div>
</div>
Expand Down

0 comments on commit 1cc1a60

Please sign in to comment.