Skip to content

Commit

Permalink
Tweaked dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Mar 9, 2019
1 parent 16ea73f commit 42be5c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/dashboard/views/account/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{/user.hasPassword}}

<div class="line">
<span class="label" style="">Your blogs {{#blogs.length}} <a class="link" style="display:block;float:right;" href="/account/create-blog">Create a{{#blogs.length}}nother{{/blogs.length}} blog</a> {{/blogs.length}}
<span class="label" style="">Your blogs {{#blogs.length}} <a class="link" style="display:block;float:right;" href="/account/create-blog">Create new blog</a> {{/blogs.length}}
</span>
<hr style="margin:11px 0 0">
<div class="clear"></div>
Expand Down
7 changes: 4 additions & 3 deletions app/dashboard/views/partials/dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

{{! The opener link floats to the right so we need a clearfix}}
<div class="clear"></div>
<style type="text/css">.menu button:hover .title {text-decoration: underline;}</style>

<div class="menu">
{{#blogs}}
Expand All @@ -16,10 +17,10 @@
{{#avatar}}<img src="{{avatar}}?handle={{handle}}">{{/avatar}}
{{^avatar}}<span class="file" style="width:16px;height:16px;opacity:0.4"></span>{{/avatar}}
</span>
<span style="font-weight:400">
{{title}}{{^title}}{{pretty.url}}{{/title}}<br>
<span style="color:#365899;font-weight:400">
<span class="title">{{title}}{{^title}}{{pretty.url}}{{/title}}</span><br>
{{! Why include the hostname underneath the blog's title? Increased click area}}
<span style="color:rgba(158, 154, 152, 0.66);font-weight:400">{{pretty.url}}</span>
<span style="color:rgb(158, 154, 152);font-weight:400">{{pretty.url}}</span>
</span>

</button>
Expand Down

0 comments on commit 42be5c2

Please sign in to comment.