Fix tag mgmt display bugs

- Misaligned header due to back button being in the wrong place in the markup
- Corrected padding on tag delete button
- Updated tag settings input labels for consistency
This commit is contained in:
John O'Nolan 2014-12-23 14:10:21 +02:00
parent e90f10a6f1
commit 0bc0a0e606
3 changed files with 5 additions and 5 deletions

View File

@ -144,7 +144,7 @@
}
.tag-delete-button {
padding: 0;
padding-left: 0;
color: $red;
&:before {

View File

@ -1,8 +1,8 @@
<header class="settings-view-header">
<h2 class="page-title">Tags</h2>
<div class="js-settings-header-inner settings-header-inner">
{{#link-to 'settings' class='btn btn-default btn-back'}}Back{{/link-to}}
</div>
<h2 class="page-title">Tags</h2>
<section class="page-actions">
<button type="button" class="btn btn-green" {{action "newTag"}}>New Tag</button>
</section>

View File

@ -11,12 +11,12 @@
{{gh-uploader uploaded="setCoverImage" canceled="clearCoverImage" description="Add tag image" image=activeTag.image uploaderReference=uploaderReference tagName="section"}}
<form>
<div class="form-group">
<label>Tag Name</label>
<label>Name</label>
{{gh-input type="text" value=activeTagNameScratch focus-out="saveActiveTagName"}}
</div>
<div class="form-group">
<label>Slug</label>
<label>URL</label>
{{gh-input type="text" value=activeTagSlugScratch focus-out="saveActiveTagSlug"}}
{{gh-url-preview prefix="tag" slug=activeTagSlugScratch tagName="p" classNames="description"}}
</div>