Add button title attribute
This commit is contained in:
parent
d97c80434e
commit
3979eef66d
11 changed files with 142 additions and 39 deletions
|
@ -157,7 +157,9 @@ class Wish
|
||||||
|
|
||||||
<div class="extra content buttons">
|
<div class="extra content buttons">
|
||||||
<?php if (!$userIsCurrent) { ?>
|
<?php if (!$userIsCurrent) { ?>
|
||||||
<a class="ui small primary labeled icon button fulfill">
|
<a class="ui small primary labeled icon button fulfill"
|
||||||
|
title="<?= __('Fulfill wish') ?>"
|
||||||
|
>
|
||||||
<i class="shopping cart icon"></i>
|
<i class="shopping cart icon"></i>
|
||||||
<?= __('Fulfill wish') ?>
|
<?= __('Fulfill wish') ?>
|
||||||
</a>
|
</a>
|
||||||
|
@ -166,6 +168,7 @@ class Wish
|
||||||
<?php if ($this->url) { ?>
|
<?php if ($this->url) { ?>
|
||||||
<a class="ui small labeled icon button<?= $userIsCurrent ? ' primary' : '' ?>"
|
<a class="ui small labeled icon button<?= $userIsCurrent ? ' primary' : '' ?>"
|
||||||
href="<?= $this->url ?>" target="_blank"
|
href="<?= $this->url ?>" target="_blank"
|
||||||
|
title="<?= __('Visit') ?>"
|
||||||
>
|
>
|
||||||
<i class="external icon"></i>
|
<i class="external icon"></i>
|
||||||
<?= __('Visit') ?>
|
<?= __('Visit') ?>
|
||||||
|
@ -173,7 +176,9 @@ class Wish
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if ($userIsCurrent) { ?>
|
<?php if ($userIsCurrent) { ?>
|
||||||
<div class="ui small labeled icon top left pointing dropdown button options">
|
<div class="ui small labeled icon top left pointing dropdown button options"
|
||||||
|
title="<?= __('Options') ?>"
|
||||||
|
>
|
||||||
<i class="cog icon"></i>
|
<i class="cog icon"></i>
|
||||||
<span class="text"><?= __('Options') ?></span>
|
<span class="text"><?= __('Options') ?></span>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
|
|
|
@ -25,17 +25,37 @@ $page->navigation();
|
||||||
<div class="ui four column doubling stackable centered grid">
|
<div class="ui four column doubling stackable centered grid">
|
||||||
<?php if ($user->isLoggedIn()) { ?>
|
<?php if ($user->isLoggedIn()) { ?>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<a class="ui fluid primary button" href="/?page=wishlists"><?= __('Create a wishlist') ?></a>
|
<a class="ui fluid primary button"
|
||||||
|
href="/?page=wishlists"
|
||||||
|
title="<?= __('Create a wishlist') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Create a wishlist') ?>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<a class="ui fluid button" href="/?page=wishlists"><?= __('View your wishlists') ?></a>
|
<a class="ui fluid button"
|
||||||
|
href="/?page=wishlists"
|
||||||
|
title="<?= __('View your wishlists') ?>"
|
||||||
|
>
|
||||||
|
<?= __('View your wishlists') ?>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<a class="ui fluid primary button" href="/?page=register"><?= __('Register now') ?></a>
|
<a class="ui fluid primary button"
|
||||||
|
href="/?page=register"
|
||||||
|
title="<?= __('Register now') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Register now') ?>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<a class="ui fluid button" href="/?page=login"><?= __('Login') ?></a>
|
<a class="ui fluid button"
|
||||||
|
href="/?page=login"
|
||||||
|
title="<?= __('Login') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Login') ?>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -56,7 +56,11 @@ switch ($step) {
|
||||||
<input type="text" name="DATABASE_PASSWORD" />
|
<input type="text" name="DATABASE_PASSWORD" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" value="<?= __('Continue') ?>" />
|
<input class="ui primary button"
|
||||||
|
type="submit"
|
||||||
|
value="<?= __('Continue') ?>"
|
||||||
|
title="<?= __('Continue') ?>"
|
||||||
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -102,7 +106,11 @@ switch ($step) {
|
||||||
<input type="hidden" name="install" value="true" />
|
<input type="hidden" name="install" value="true" />
|
||||||
<input type="hidden" name="step" value="<?= $step + 1; ?>" />
|
<input type="hidden" name="step" value="<?= $step + 1; ?>" />
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" value="<?= __('Continue') ?>" />
|
<input class="ui primary button"
|
||||||
|
type="submit"
|
||||||
|
value="<?= __('Continue') ?>"
|
||||||
|
title="<?= __('Continue') ?>"
|
||||||
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -200,7 +208,14 @@ switch ($step) {
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
<div class="ui segment">
|
<div class="ui segment">
|
||||||
<h1 class="ui header"><?= __('Success') ?></h1>
|
<h1 class="ui header"><?= __('Success') ?></h1>
|
||||||
<p><a class="ui primary button" href="/?page=register"><?= __('Register') ?></a></p>
|
<p>
|
||||||
|
<a class="ui primary button"
|
||||||
|
href="/?page=register"
|
||||||
|
title="<?= __('Register') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Register') ?>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -49,7 +49,11 @@ $page->navigation();
|
||||||
<input type="email" name="email" placeholder="john.doe@domain.tld" />
|
<input type="email" name="email" placeholder="john.doe@domain.tld" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" value="<?= __('Login') ?>" />
|
<input class="ui primary button"
|
||||||
|
type="submit"
|
||||||
|
value="<?= __('Login') ?>"
|
||||||
|
title="<?= __('Login') ?>"
|
||||||
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -125,8 +125,18 @@ $page->navigation();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" name="login" value="<?= __('Login') ?>" />
|
<input class="ui primary button"
|
||||||
<a class="ui tertiary button" href="/?page=register"><?= __('Register') ?></a>
|
type="submit"
|
||||||
|
name="login"
|
||||||
|
value="<?= __('Login') ?>"
|
||||||
|
title="<?= __('Login') ?>"
|
||||||
|
/>
|
||||||
|
<a class="ui tertiary button"
|
||||||
|
href="/?page=register"
|
||||||
|
title="<?= __('Register') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Register') ?>
|
||||||
|
</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -150,6 +160,7 @@ $page->navigation();
|
||||||
type="submit"
|
type="submit"
|
||||||
name="reset"
|
name="reset"
|
||||||
value="<?= __('Send email') ?>"
|
value="<?= __('Send email') ?>"
|
||||||
|
title="<?= __('Send email') ?>"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,11 @@ $page->navigation();
|
||||||
|
|
||||||
<div class="ui error message"></div>
|
<div class="ui error message"></div>
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" value="<?= __('Save') ?>" />
|
<input class="ui primary button"
|
||||||
|
type="submit"
|
||||||
|
value="<?= __('Save') ?>"
|
||||||
|
title="<?= __('Save') ?>"
|
||||||
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -219,8 +219,17 @@ $page->navigation();
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="ui error message"></div>
|
<div class="ui error message"></div>
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" value="<?= $buttonSubmit ?>" />
|
<input class="ui primary button"
|
||||||
<a class="ui tertiary button" href="/?page=login"><?= __('Login') ?></a>
|
type="submit"
|
||||||
|
value="<?= $buttonSubmit ?>"
|
||||||
|
title="<?= $buttonSubmit ?>"
|
||||||
|
/>
|
||||||
|
<a class="ui tertiary button"
|
||||||
|
href="/?page=login"
|
||||||
|
title="<?= __('Login') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Login') ?>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,12 @@ if (isset($_POST['mjml_api'], $_POST['api_key'], $_POST['api_secret'])) {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input class="ui primary button" type="submit" name="mjml_api" value="<?= __('Save') ?>" />
|
<input class="ui primary button"
|
||||||
|
type="submit"
|
||||||
|
name="mjml_api"
|
||||||
|
value="<?= __('Save') ?>"
|
||||||
|
title="<?= __('Save') ?>"
|
||||||
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -112,7 +112,10 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<form class="ui form" method="post">
|
<form class="ui form" method="post">
|
||||||
<button class="ui orange button" type="submit">
|
<button class="ui orange button"
|
||||||
|
type="submit"
|
||||||
|
title="<?= sprintf(__('Update to %s'), 'v' . $version) ?>"
|
||||||
|
>
|
||||||
<i class="upload icon"></i>
|
<i class="upload icon"></i>
|
||||||
<?= sprintf(__('Update to %s'), 'v' . $version) ?>
|
<?= sprintf(__('Update to %s'), 'v' . $version) ?>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -80,13 +80,18 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="sixteen wide column">
|
<div class="sixteen wide column">
|
||||||
|
|
||||||
<a class="ui small labeled icon button" href="<?= $wish->url ?>" target="_blank">
|
<a class="ui small labeled icon button"
|
||||||
|
href="<?= $wish->url ?>"
|
||||||
|
target="_blank"
|
||||||
|
title="<?= __('Visit') ?>"
|
||||||
|
>
|
||||||
<i class="external icon"></i>
|
<i class="external icon"></i>
|
||||||
<?= __('Visit') ?>
|
<?= __('Visit') ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<button class="ui small labeled icon button auto-fill disabled"
|
<button class="ui small labeled icon button auto-fill disabled"
|
||||||
type="button"
|
type="button"
|
||||||
|
title="<?= __('Auto-fill') ?>"
|
||||||
>
|
>
|
||||||
<i class="redo icon"></i>
|
<i class="redo icon"></i>
|
||||||
<?= __('Auto-fill') ?>
|
<?= __('Auto-fill') ?>
|
||||||
|
@ -164,9 +169,22 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
||||||
<div class="stackable row">
|
<div class="stackable row">
|
||||||
<div class="sixteen wide column">
|
<div class="sixteen wide column">
|
||||||
|
|
||||||
<input class="ui small primary button" type="submit" value="<?= __('Save') ?>" />
|
<input class="ui small primary button"
|
||||||
<input class="ui small button" type="reset" value="<?= __('Reset') ?>" />
|
type="submit"
|
||||||
<a class="ui small secondary button" href="<?= $referer ?>"><?= __('Back') ?></a>
|
value="<?= __('Save') ?>"
|
||||||
|
title="<?= __('Save') ?>"
|
||||||
|
/>
|
||||||
|
<input class="ui small button"
|
||||||
|
type="reset"
|
||||||
|
value="<?= __('Reset') ?>"
|
||||||
|
title="<?= __('Reset') ?>"
|
||||||
|
/>
|
||||||
|
<a class="ui small secondary button"
|
||||||
|
href="<?= $referer ?>"
|
||||||
|
title="<?= __('Back') ?>"
|
||||||
|
>
|
||||||
|
<?= __('Back') ?>
|
||||||
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -194,10 +212,10 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui primary approve button">
|
<div class="ui primary approve button" title="<?= __('Save') ?>">
|
||||||
<?= __('Save') ?>
|
<?= __('Save') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui deny button">
|
<div class="ui deny button" title="<?= __('Discard') ?>">
|
||||||
<?= __('Discard') ?>
|
<?= __('Discard') ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -213,10 +231,10 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
||||||
<p><?= __('Would you like to continue?') ?></p>
|
<p><?= __('Would you like to continue?') ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui primary approve button">
|
<div class="ui primary approve button" title="<?= __('Yes, overwrite') ?>">
|
||||||
<?= __('Yes, overwrite') ?>
|
<?= __('Yes, overwrite') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui deny button">
|
<div class="ui deny button" title="<?= __('No') ?>">
|
||||||
<?= __('No') ?>
|
<?= __('No') ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -246,10 +264,10 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui primary approve button">
|
<div class="ui primary approve button" title="<?= __('Yes, update') ?>">
|
||||||
<?= __('Yes, update') ?>
|
<?= __('Yes, update') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui deny button">
|
<div class="ui deny button" title="<?= __('No, leave it') ?>">
|
||||||
<?= __('No, leave it') ?>
|
<?= __('No, leave it') ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,27 +34,34 @@ $page->navigation();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex buttons">
|
<div class="flex buttons">
|
||||||
<a class="ui small labeled icon primary button wishlist-wish-add disabled">
|
<a class="ui small labeled icon primary button wishlist-wish-add disabled"
|
||||||
|
title="<?= __('Add a wish') ?>"
|
||||||
|
>
|
||||||
<i class="add icon"></i>
|
<i class="add icon"></i>
|
||||||
<?= __('Add a wish') ?>
|
<?= __('Add a wish') ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="ui small labeled icon button wishlist-share disabled" target="_blank">
|
<a class="ui small labeled icon button wishlist-share disabled"
|
||||||
|
target="_blank"
|
||||||
|
title="<?= __('Share') ?>"
|
||||||
|
>
|
||||||
<i class="share icon"></i>
|
<i class="share icon"></i>
|
||||||
<?= __('Share') ?>
|
<?= __('Share') ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="ui small labeled icon top left pointing dropdown button options">
|
<div class="ui small labeled icon top left pointing dropdown button options"
|
||||||
|
title="<?= __('Options') ?>"
|
||||||
|
>
|
||||||
<i class="cog icon"></i>
|
<i class="cog icon"></i>
|
||||||
<span class="text"><?= __('Options') ?></span>
|
<span class="text"><?= __('Options') ?></span>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
|
|
||||||
<div class="item wishlist-rename disabled">
|
<div class="item wishlist-rename disabled" title="<?= __('Rename') ?>">
|
||||||
<i class="pen icon"></i>
|
<i class="pen icon"></i>
|
||||||
<?= __('Rename') ?>
|
<?= __('Rename') ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item wishlist-delete disabled">
|
<div class="item wishlist-delete disabled" title="<?= __('Delete') ?>">
|
||||||
<i class="trash icon"></i>
|
<i class="trash icon"></i>
|
||||||
<?= __('Delete') ?>
|
<?= __('Delete') ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -70,7 +77,9 @@ $page->navigation();
|
||||||
<p><?= __('General options.') ?></p>
|
<p><?= __('General options.') ?></p>
|
||||||
|
|
||||||
<div class="flex buttons">
|
<div class="flex buttons">
|
||||||
<a class="ui small labeled icon button wishlist-create">
|
<a class="ui small labeled icon button wishlist-create"
|
||||||
|
title="<?= __('Create a wishlist') ?>"
|
||||||
|
>
|
||||||
<i class="add icon"></i>
|
<i class="add icon"></i>
|
||||||
<?= __('Create a wishlist') ?>
|
<?= __('Create a wishlist') ?>
|
||||||
</a>
|
</a>
|
||||||
|
@ -119,10 +128,10 @@ $page->navigation();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui approve primary button create">
|
<div class="ui approve primary button create" title="<?= __('Create') ?>">
|
||||||
<?= __('Create') ?>
|
<?= __('Create') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui deny button cancel">
|
<div class="ui deny button cancel" title="<?= __('Cancel') ?>">
|
||||||
<?= __('Cancel') ?>
|
<?= __('Cancel') ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -146,10 +155,10 @@ $page->navigation();
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui approve primary button">
|
<div class="ui approve primary button" title="<?= __('Rename') ?>">
|
||||||
<?= __('Rename') ?>
|
<?= __('Rename') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui deny button">
|
<div class="ui deny button" title="<?= __('Cancel') ?>">
|
||||||
<?= __('Cancel') ?>
|
<?= __('Cancel') ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -188,10 +197,10 @@ $page->navigation();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui primary approve button">
|
<div class="ui primary approve button" title="<?= __('Add') ?>">
|
||||||
<?= __('Add') ?>
|
<?= __('Add') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui deny button">
|
<div class="ui deny button" title="<?= __('Cancel') ?>">
|
||||||
<?= __('Cancel') ?>
|
<?= __('Cancel') ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue