Improve noscript behavior

master
Skylar Ittner 5 years ago
parent be7c819f0f
commit 18bc8b1f4b

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

@ -106,9 +106,9 @@ foreach ($colors as $c) {
<i class="fas fa-edit"></i> <noscript><?php $Strings->get('Edit'); ?></noscript>
</a>
</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(); ?>">
<i class="fas fa-tasks"></i>
<i class="fas fa-tasks"></i> <noscript><?php $Strings->get('Listify'); ?></noscript>
</a>
</div>
<div class="d-none yesscript">
@ -118,17 +118,21 @@ foreach ($colors as $c) {
</div>
<noscript>
<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'); ?>
</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>
</noscript>
<noscript>
<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'); ?>">
<i class="fas fa-trash"></i> <?php $Strings->get('Delete'); ?>
</a>
</div>
</noscript>
<div class="dropdown">
<div class="dropdown yesscript">
<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'); ?>">
<i class="fas fa-ellipsis-v"></i>

Loading…
Cancel
Save