logout button
This commit is contained in:
parent
9284d08aaa
commit
e12d410015
@ -382,6 +382,7 @@ body {
|
|||||||
border-left: 1px solid #111;
|
border-left: 1px solid #111;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
color: black;
|
color: black;
|
||||||
|
min-width: 38px;
|
||||||
}
|
}
|
||||||
#headerdiv .tabrow .tab_logout:hover {
|
#headerdiv .tabrow .tab_logout:hover {
|
||||||
background-color: #c9510c;
|
background-color: #c9510c;
|
||||||
|
2
www/data/css/styles.min.css
vendored
2
www/data/css/styles.min.css
vendored
@ -64,7 +64,7 @@ body{background-color:#EEE;color:#CCC;font-family:"Times New Roman",serif}
|
|||||||
#headerdiv .tabrow .tab_split{flex:auto}
|
#headerdiv .tabrow .tab_split{flex:auto}
|
||||||
#headerdiv .tabrow .tab_github{background-color:#4078c0;border-left:1px solid #111;border-right:0;color:black}
|
#headerdiv .tabrow .tab_github{background-color:#4078c0;border-left:1px solid #111;border-right:0;color:black}
|
||||||
#headerdiv .tabrow .tab_github:hover{background-color:#c9510c;color:black}
|
#headerdiv .tabrow .tab_github:hover{background-color:#c9510c;color:black}
|
||||||
#headerdiv .tabrow .tab_logout{background-color:#A00;border-left:1px solid #111;border-right:0;color:black}
|
#headerdiv .tabrow .tab_logout{background-color:#A00;border-left:1px solid #111;border-right:0;color:black;min-width:38px}
|
||||||
#headerdiv .tabrow .tab_logout:hover{background-color:#c9510c;color:black}
|
#headerdiv .tabrow .tab_logout:hover{background-color:#c9510c;color:black}
|
||||||
@media(max-width:850px){
|
@media(max-width:850px){
|
||||||
#headerdiv{position:static;flex-direction:column}
|
#headerdiv{position:static;flex-direction:column}
|
||||||
|
@ -79,6 +79,8 @@
|
|||||||
border-right: none;
|
border-right: none;
|
||||||
color: black;
|
color: black;
|
||||||
|
|
||||||
|
min-width: 38px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #c9510c;
|
background-color: #c9510c;
|
||||||
color: black;
|
color: black;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<?php if (isLoggedInByCookie()): ?><a class="tab tab_admin" href="/admin">Admin</a><?php endif; ?>
|
<?php if (isLoggedInByCookie()): ?><a class="tab tab_admin" href="/admin">Admin</a><?php endif; ?>
|
||||||
<a class="tab <?php if ($HEADER_ACTIVE === 'about') echo 'tab_active'; ?>" href="/about">About</a>
|
<a class="tab <?php if ($HEADER_ACTIVE === 'about') echo 'tab_active'; ?>" href="/about">About</a>
|
||||||
<div class="tab_split" ></div>
|
<div class="tab_split" ></div>
|
||||||
<?php if (isLoggedInByCookie()): ?><a class="tab tab_logout" href="/logout">{Logout}</a><?php endif; ?>
|
<?php if (isLoggedInByCookie()): ?><a class="tab tab_logout" href="/logout"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-8 0 40 32"><path d="m 18,24 0,4 -14,0 0,-24 14,0 0,4 4,0 0,-8 -22,0 0,32 22,0 0,-8 z m -6,-4.003 0,-8 12,0 0,-4 8,8 -8,8 0,-4 z"></path></svg></a><?php endif; ?>
|
||||||
<a class="tab tab_github" href="https://github.com/Mikescher/">Github</a>
|
<a class="tab tab_github" href="https://github.com/Mikescher/">Github</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
for ($i=0; $i<3; $i++)
|
$c=0;
|
||||||
|
for ($i=0; $i < count($allposts); $i++)
|
||||||
{
|
{
|
||||||
$post = $allposts[$i];
|
$post = $allposts[$i];
|
||||||
|
|
||||||
@ -24,6 +25,8 @@
|
|||||||
echo "<div class='blogpnl_title'>" . $post['title'] . "</div>\n";
|
echo "<div class='blogpnl_title'>" . $post['title'] . "</div>\n";
|
||||||
echo "</a>\n";
|
echo "</a>\n";
|
||||||
|
|
||||||
|
$c++;
|
||||||
|
if ($c >= 3) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user