Improve the admin integration

Improve the admin integration
This commit is contained in:
Danang Probo Sayekti 2014-01-30 00:42:00 +07:00
commit 572090f88b
12 changed files with 137 additions and 841 deletions

View file

@ -163,6 +163,27 @@ h6{
padding: 0 10px;
}
.tab {
width:100%;
margin: 0.5em 0 0.5em 0;
line-height:1;
border-bottom: 1px solid #E4E7EE;
}
.tab a {
background: #E4E7EE;
border-radius: 6px 6px 0px 0;
color: #555555;
text-align: center;
padding: 8px 14px;
display:inline-block;
margin: 0 5px;
font-size: 12px;
font-weight: bold;
font-family: 'Open Sans',sans-serif;
}
/*----------------------------
Content & Posts
-----------------------------*/

View file

@ -1,4 +1,5 @@
<?php if (!empty($breadcrumb)):?><div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif;?>
<? if(login()): ?><div class="tab"><a href="<?php echo $p->url ?>">View</a><a href="<?php echo $p->url ?>/edit?destination=post">Edit</a></div><?php endif;?>
<div class="post" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
<div class="main">
<?php if ($type == 'blogpost'):?>