Style the story search on the edit page.
Round the input like the other form inputs, and add space above the list.
This commit is contained in:
@@ -14,13 +14,11 @@ if ($queue) { ?>
|
||||
<p>To view already-posted articles, <a href="edit?queue=0">click here</a>.</p>
|
||||
<?php } else { ?>
|
||||
<p>To view articles in the queue, <a href="edit?queue=1">click here</a>.</p>
|
||||
<div class="input" style="text-align: justify">
|
||||
<form action="" method="get">
|
||||
<input name="search" type="text" class="input" id="search" maxlength="40" value="<?= form_value(get_search_args()) ?>" />
|
||||
<form class="story-search" action="" method="get">
|
||||
<input name="search" type="text" maxlength="40" aria-label="Search the stories" value="<?= form_value(get_search_args()) ?>" />
|
||||
<input name="queue" type="hidden" value="0" />
|
||||
<button type="submit" id="choose" name="action" value="choose" class="inputbutton">Search</button>
|
||||
<button type="submit" id="choose" name="action" value="choose">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
<?php }
|
||||
echo display_stories();
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user