mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Merge pull request #1185 from commadelimited/1178-add-title-attribute-to-action-items
This commit is contained in:
commit
a7838fa454
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
UploadUi = function ($dropzone, settings) {
|
UploadUi = function ($dropzone, settings) {
|
||||||
var $url = '<div class="js-url"><input class="url js-upload-url" type="url" placeholder="http://"/></div>',
|
var $url = '<div class="js-url"><input class="url js-upload-url" type="url" placeholder="http://"/></div>',
|
||||||
$cancel = '<a class="image-cancel js-cancel"><span class="hidden">Delete</span></a>',
|
$cancel = '<a class="image-cancel js-cancel" title="Delete"><span class="hidden">Delete</span></a>',
|
||||||
$progress = $('<div />', {
|
$progress = $('<div />', {
|
||||||
"class" : "js-upload-progress progress progress-success active",
|
"class" : "js-upload-progress progress progress-success active",
|
||||||
"role": "progressbar",
|
"role": "progressbar",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<a class="permalink{{#if featured}} featured{{/if}}" href="#">
|
<a class="permalink{{#if featured}} featured{{/if}}" href="#" title="Edit this post">
|
||||||
<h3 class="entry-title">{{{title}}}</h3>
|
<h3 class="entry-title">{{{title}}}</h3>
|
||||||
<section class="entry-meta">
|
<section class="entry-meta">
|
||||||
<time datetime="2013-01-04" class="date">
|
<time datetime="2013-01-04" class="date">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<article class="modal{{#if options.type}}-{{options.type}}{{/if}} {{#if options.style}}{{#each options.style}}modal-style-{{this}} {{/each}}{{/if}}{{options.animation}} js-modal">
|
<article class="modal{{#if options.type}}-{{options.type}}{{/if}} {{#if options.style}}{{#each options.style}}modal-style-{{this}} {{/each}}{{/if}}{{options.animation}} js-modal">
|
||||||
<section class="modal-content">
|
<section class="modal-content">
|
||||||
{{#if content.title}}<header class="modal-header"><h1>{{content.title}}</h1></header>{{/if}}
|
{{#if content.title}}<header class="modal-header"><h1>{{content.title}}</h1></header>{{/if}}
|
||||||
{{#if options.close}}<a class="close" href="#"><span class="hidden">Close</span></a>{{/if}}
|
{{#if options.close}}<a class="close" href="#" title="Close"><span class="hidden">Close</span></a>{{/if}}
|
||||||
<section class="modal-body">
|
<section class="modal-body">
|
||||||
</section>
|
</section>
|
||||||
{{#if options.confirm}}
|
{{#if options.confirm}}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<header class="floatingheader">
|
<header class="floatingheader">
|
||||||
<button class="button-back" href="#">Back</button>
|
<button class="button-back" href="#">Back</button>
|
||||||
<a class="{{#if featured}}featured{{else}}unfeatured{{/if}}" href="#">
|
<a class="{{#if featured}}featured{{else}}unfeatured{{/if}}" href="#" title="{{#if featured}}Unfeature{{else}}Feature{{/if}} this post">
|
||||||
<span class="hidden">Star</span>
|
<span class="hidden">Star</span>
|
||||||
</a>
|
</a>
|
||||||
{{! TODO: JavaScript toggle featured/unfeatured}}
|
{{! TODO: JavaScript toggle featured/unfeatured}}
|
||||||
@ -8,8 +8,8 @@
|
|||||||
<span class="normal">by</span>
|
<span class="normal">by</span>
|
||||||
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
||||||
<section class="post-controls">
|
<section class="post-controls">
|
||||||
<a class="post-edit" href="#"><span class="hidden">Edit Post</span></a>
|
<a class="post-edit" href="#" title="Edit Post"><span class="hidden">Edit Post</span></a>
|
||||||
<a class="post-settings" href="#" data-toggle=".post-settings-menu"><span class="hidden">Post Settings</span></a>
|
<a class="post-settings" href="#" data-toggle=".post-settings-menu" title="Post Settings"><span class="hidden">Post Settings</span></a>
|
||||||
<ul class="post-settings-menu menu-drop-right overlay">
|
<ul class="post-settings-menu menu-drop-right overlay">
|
||||||
<li class="post-setting">
|
<li class="post-setting">
|
||||||
<div class="post-setting-label">
|
<div class="post-setting-label">
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<section class="content-filter">
|
<section class="content-filter">
|
||||||
<span>All Posts</span>
|
<span>All Posts</span>
|
||||||
</section>
|
</section>
|
||||||
<a href="/ghost/editor/" class="button button-add"><span class="hidden">New Post</span></a>
|
<a href="/ghost/editor/" class="button button-add" title="New Post"><span class="hidden">New Post</span></a>
|
||||||
</header>
|
</header>
|
||||||
<section class="content-list-content">
|
<section class="content-list-content">
|
||||||
<ol></ol>
|
<ol></ol>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<footer id="publish-bar">
|
<footer id="publish-bar">
|
||||||
<nav>
|
<nav>
|
||||||
<section id="entry-tags" href="#" class="left">
|
<section id="entry-tags" href="#" class="left">
|
||||||
<label class="tag-label" for="tags"><span class="hidden">Tags</span></label>
|
<label class="tag-label" for="tags" title="Tags"><span class="hidden">Tags</span></label>
|
||||||
<div class="tags"></div>
|
<div class="tags"></div>
|
||||||
<input type="hidden" class="tags-holder" id="tags-holder">
|
<input type="hidden" class="tags-holder" id="tags-holder">
|
||||||
<input class="tag-input" id="tags" type="text" data-input-behaviour="tag" />
|
<input class="tag-input" id="tags" type="text" data-input-behaviour="tag" />
|
||||||
@ -42,7 +42,7 @@
|
|||||||
<div class="right">
|
<div class="right">
|
||||||
|
|
||||||
<section id="entry-controls">
|
<section id="entry-controls">
|
||||||
<a class="entry-settings" href="#" data-toggle=".entry-settings-menu"><span class="hidden">Post Settings</span></a>
|
<a class="entry-settings" href="#" data-toggle=".entry-settings-menu" title="Post Settings"><span class="hidden">Post Settings</span></a>
|
||||||
<ul class="entry-settings-menu menu-right overlay">
|
<ul class="entry-settings-menu menu-right overlay">
|
||||||
<li class="post-setting">
|
<li class="post-setting">
|
||||||
<div class="post-setting-label">
|
<div class="post-setting-label">
|
||||||
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
<section id="entry-actions" class="js-publish-splitbutton splitbutton-save">
|
<section id="entry-actions" class="js-publish-splitbutton splitbutton-save">
|
||||||
<button type="button" class="js-publish-button button-save"></button>
|
<button type="button" class="js-publish-button button-save"></button>
|
||||||
<a class="options up" data-toggle="ul" href="#"><span class="hidden">Options</span></a>
|
<a class="options up" data-toggle="ul" href="#" title="Post Settings"><span class="hidden">Post Settings</span></a>
|
||||||
<ul class="editor-options overlay" style="display:none">
|
<ul class="editor-options overlay" style="display:none">
|
||||||
<li data-set-status="published"><a href="#"></a></li>
|
<li data-set-status="published"><a href="#"></a></li>
|
||||||
<li data-set-status="draft"><a href="#"></a></li>
|
<li data-set-status="draft"><a href="#"></a></li>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
<header id="global-header" class="navbar">
|
<header id="global-header" class="navbar">
|
||||||
<a class="ghost-logo" href="{{url absolute="true"}}" data-off-canvas="left"><span class="hidden">Ghost </span></a>{{! TODO: Change this to actual Ghost homepage }}
|
<a class="ghost-logo" href="{{url absolute="true"}}" data-off-canvas="left" title="{{url absolute="true"}}"><span class="hidden">Ghost </span></a>{{! TODO: Change this to actual Ghost homepage }}
|
||||||
<nav id="global-nav" role="navigation">
|
<nav id="global-nav" role="navigation">
|
||||||
<ul id="main-menu" >
|
<ul id="main-menu" >
|
||||||
{{#each adminNav}}
|
{{#each adminNav}}
|
||||||
|
Loading…
Reference in New Issue
Block a user