Improve noscript behavior

This commit is contained in:
Skylar Ittner 2018-11-28 23:02:34 -07:00
parent be7c819f0f
commit 18bc8b1f4b
2 changed files with 10 additions and 4 deletions

View File

@ -13,11 +13,13 @@
"Close": "Close", "Close": "Close",
"Refresh": "Refresh", "Refresh": "Refresh",
"Make a List": "Make a List", "Make a List": "Make a List",
"Listify": "Listify",
"More": "More", "More": "More",
"More Options": "More Options", "More Options": "More Options",
"Download": "Download", "Download": "Download",
"Text": "Text", "Text": "Text",
"HTML": "HTML", "HTML": "HTML",
"ODT": "ODT",
"Office": "Office", "Office": "Office",
"Download (Text)": "Download (Text)", "Download (Text)": "Download (Text)",
"Download (HTML)": "Download (HTML)", "Download (HTML)": "Download (HTML)",

View File

@ -106,9 +106,9 @@ foreach ($colors as $c) {
<i class="fas fa-edit"></i> <noscript><?php $Strings->get('Edit'); ?></noscript> <i class="fas fa-edit"></i> <noscript><?php $Strings->get('Edit'); ?></noscript>
</a> </a>
</div> </div>
<div class="d-none yesscript"> <div>
<a class="px-2 py-2" href="./action.php?action=maketodolist&noteid=<?php echo $note->getID(); ?>" data-toggle="tooltip" title="<?php $Strings->get("Make a List"); ?>" data-noteid="<?php echo $note->getID(); ?>"> <a class="px-2 py-2" href="./action.php?action=maketodolist&noteid=<?php echo $note->getID(); ?>" data-toggle="tooltip" title="<?php $Strings->get("Make a List"); ?>" data-noteid="<?php echo $note->getID(); ?>">
<i class="fas fa-tasks"></i> <i class="fas fa-tasks"></i> <noscript><?php $Strings->get('Listify'); ?></noscript>
</a> </a>
</div> </div>
<div class="d-none yesscript"> <div class="d-none yesscript">
@ -118,17 +118,21 @@ foreach ($colors as $c) {
</div> </div>
<noscript> <noscript>
<div> <div>
<a class="px-2 py-2" href="./action.php?action=downloadnote&noteid=<?php echo $note->getID(); ?>" data-toggle="tooltip" title="<?php $Strings->get('Download'); ?>"> <a href="./action.php?action=downloadnote&noteid=<?php echo $note->getID(); ?>" data-toggle="tooltip" title="<?php $Strings->get('Download (Text)'); ?>">
<i class="fas fa-download"></i> <?php $Strings->get('Download'); ?> <i class="fas fa-download"></i> <?php $Strings->get('Download'); ?>
</a> </a>
(<a href="./action.php?action=downloadnote&noteid=<?php echo $note->getID(); ?>&type=html" title="<?php $Strings->get('Download (HTML)'); ?>"><?php $Strings->get('HTML'); ?></a>
| <a href="./action.php?action=downloadnote&noteid=<?php echo $note->getID(); ?>&type=odt" title="<?php $Strings->get('Download (Office)'); ?>"><?php $Strings->get('ODT'); ?></a>)
</div> </div>
</noscript>
<noscript>
<div> <div>
<a class="px-2 py-2" href="./action.php?action=deletenote&noteid=<?php echo $note->getID(); ?>" data-toggle="tooltip" title="<?php $Strings->get('Delete'); ?>"> <a class="px-2 py-2" href="./action.php?action=deletenote&noteid=<?php echo $note->getID(); ?>" data-toggle="tooltip" title="<?php $Strings->get('Delete'); ?>">
<i class="fas fa-trash"></i> <?php $Strings->get('Delete'); ?> <i class="fas fa-trash"></i> <?php $Strings->get('Delete'); ?>
</a> </a>
</div> </div>
</noscript> </noscript>
<div class="dropdown"> <div class="dropdown yesscript">
<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-offset="0,-70"> <span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-offset="0,-70">
<a class="p-2" href="#" id="moreoptionsbtn_<?php echo $note->getID(); ?>" data-tooltip="tooltip" title="<?php $Strings->get('More'); ?>"> <a class="p-2" href="#" id="moreoptionsbtn_<?php echo $note->getID(); ?>" data-tooltip="tooltip" title="<?php $Strings->get('More'); ?>">
<i class="fas fa-ellipsis-v"></i> <i class="fas fa-ellipsis-v"></i>