Skip to content

Commit

Permalink
move inline styling to stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
nklatt committed Apr 17, 2017
1 parent 5b1823f commit fe25499
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vexim/config/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@
}
if (isset($_GET['login']) && ($_GET['login'] == "failed")) { print _("Login failed"); }

if ($validateAsSiteadmin) print '<a href="site.php" style="float:right; margin-right:20px;">siteadmin home</a>';
if ($validateAsSiteadmin) print '<a href="site.php" id="SiteadminHome">siteadmin home</a>';

print "</p></div>";
6 changes: 6 additions & 0 deletions vexim/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ body>#Header {height:28px;}
font-size: 12pt;
color: #09c;
}

#SiteadminHome {
float: right;
margin-right: 20px;
}

#Content {
margin: 0px 50px 50px 250px;
padding:10px;
Expand Down

0 comments on commit fe25499

Please sign in to comment.