TESTING - No Sidebar

This commit is contained in:
Yukimi Kazari 2016-09-25 01:46:07 -04:00
parent 53eac36cd2
commit 70411bed0c
2 changed files with 33 additions and 1 deletions

View File

@ -39,9 +39,41 @@
<?php }) ?> <?php }) ?>
</div> </div>
</li> </li>
</ul>
<ul class="adv-box">
<li>
<div>
<?php if ($this->request()->controller() == 'post') : ?>
<select name="mode" id="mode" onchange="PostModeMenu.change()" onkeyup="PostModeMenu.change()" style="width: 13em; padding: 0 0 .2em 0; background: black; color: #BF5E65; border-style: solid; border-width: 0px 0px 1px 0px; border-color: darkred;">
<option value="view">View</option>
<option value="edit">Edit</option>
<option value="rating-s">Rate safe</option>
<option value="rating-q">Rate questionable</option>
<option value="rating-e">Rate explicit</option>
<?php if (current_user()->is_privileged_or_higher()) : ?>
<option value="lock-rating">Lock rating</option>
<option value="lock-note">Lock notes</option>
<?php endif ?>
<?php if (current_user()->is_mod_or_higher()) : ?>
<option value="approve">Moderate</option>
<?php endif ?>
<option value="flag">Flag</option>
<option value="apply-tag-script">Advanced Tag</option>
<option value="reparent-quick">Reparent</option>
<?php if ($this->searching_pool) : ?>
<option value="remove-from-pool">Remove from Pool</option>
<?php endif ?>
<?php if (CONFIG()->delete_post_mode && current_user()->is_admin()) : ?>
<option value="destroy">Delete posts</option>
<?php endif ?>
</select>
<?php endif ?>
</div>
</li>
</ul> </ul>
<ul class="submenu"> <ul class="submenu">
<li><?= $this->linkTo($this->t('.posts.view'), ['controller' => 'post', 'action' => 'index']) ?></li> <li><?= $this->linkTo($this->t('.posts.view'), ['controller' => 'post', 'action' => 'index']) ?></li>
<li><?= $this->linkTo($this->t('.posts.advanced-mode'), ['controller' => 'post', 'action' => 'index'], ['class' => 'adv-link']) ?></li>
<li><?= $this->linkTo($this->t('.posts.search'), ['controller' => 'post', 'action' => 'index'], ['class' => 'search-link']) ?></li> <li><?= $this->linkTo($this->t('.posts.search'), ['controller' => 'post', 'action' => 'index'], ['class' => 'search-link']) ?></li>
<li><?= $this->linkTo($this->t('.posts.upload'), ['controller' => 'post', 'action' => 'upload']) ?></li> <li><?= $this->linkTo($this->t('.posts.upload'), ['controller' => 'post', 'action' => 'upload']) ?></li>
<li><?= $this->linkTo($this->t('.posts.random'), ['controller' => 'post', 'tags' => 'order:random']) ?></li> <li><?= $this->linkTo($this->t('.posts.random'), ['controller' => 'post', 'tags' => 'order:random']) ?></li>

View File

@ -726,7 +726,7 @@ a.directlink:hover>.directlink-info{display:none}
.largeimg .directlink-icon-small{display:none} .largeimg .directlink-icon-small{display:none}
.smallimg .directlink-icon-large{display:none} .smallimg .directlink-icon-large{display:none}
.similar .directlink-icon{display:none} .similar .directlink-icon{display:none}
.top-corner-float{background:#222;border:solid #000 2px;padding:6px;position:fixed;right:2px;top:2px;z-index:5} .top-corner-float{background:#222;border:solid #000 2px;padding:6px;position:fixed;right:2px;top:2px;z-index:5;font-size: 12px}
.post-hover{background:#222;border:2px solid #000;max-width:30em;min-width:20em;padding:2px;position:absolute;z-index:2} .post-hover{background:#222;border:2px solid #000;max-width:30em;min-width:20em;padding:2px;position:absolute;z-index:2}
.post-hover-overlay{position:absolute;z-index:2} .post-hover-overlay{position:absolute;z-index:2}
.post-hover-overlay>a>img{border-color:#000;border-style:solid;border-width:0 2px 2px;margin-left:-2px;vertical-align:top} .post-hover-overlay>a>img{border-color:#000;border-style:solid;border-width:0 2px 2px;margin-left:-2px;vertical-align:top}