1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-11-29 04:24:11 +01:00

Add fake user sharing and tweak the render a bit

This commit is contained in:
Brice Maron 2012-06-27 17:05:35 +02:00
parent c3e887078a
commit f9dfa562b9
2 changed files with 33 additions and 4 deletions

View File

@ -167,13 +167,32 @@
#tag_filter {
padding-left: 1em;
}
#leftcontent .tag_list > li span{
#leftcontent hr {
background-color:#DDDDDD;
border:0;
color:#DDDDDD;
height:1px;
margin-top: 1em;
margin-bottom: 1em;
}
#leftcontent li, .leftcontent li {
padding: 0.2em;
padding-left:1em;
}
#leftcontent .tag_list > li span , #leftcontent .share_list > li span{
background: none repeat scroll 0 0 #DEE7F8;
border: 1px solid #CAD8F3;
border-radius: 6px 6px 6px 6px;
color: #555555;
font-weight: normal;
padding: 0.2em 18px 0.2em 0.5em;
/* padding: 0.2em 18px 0.2em 0.5em; */
float:left;
padding: 0.3em;
position: relative;
}
.tag_list em , .share_list em{
float:right;
display:block;
}

View File

@ -13,15 +13,25 @@
</div>
<div id="leftcontent">
<p id="tag_filter">
<input type="text" placeholder="Filter By tag" />
<input type="text" placeholder="Filter By tag" value="<?php if(isset($_GET['tag'])) echo OCP\Util::sanitizeHTML($_GET['tag']); ?>"/>
</p>
<ul class="tag_list">
<?php foreach($_['tags'] as $tag):?>
<li><span><?php echo $tag['tag'];?></span><a class="close"></a></li>
<li><span><?php echo $tag['tag'];?></span> <em><?php echo $tag['nbr'];?></em></li>
<?php endforeach;?>
</ul>
<hr />
<ul class="share_list">
<?php foreach(array('public','user1','user2') as $tag):?>
<li><span><?php echo $tag;?></span></li>
<?php endforeach;?>
<ul>
</div>
<div id="rightcontent" class="rightcontent">
<div class="bookmarks_list"></div>
<div id="firstrun" style="display: none;">