Skip to content

Commit

Permalink
Notefox 4.1
Browse files Browse the repository at this point in the history
- Improvements UI: All notes
  • Loading branch information
Sav22999 committed Jul 19, 2024
1 parent 475b00b commit fd2af77
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Take notes on every website in a smart and simple way!

https://www.notefox.eu/about/

**Notefox doesn't collect any personal data if you don't use a *Notefox Account***. Read [Privacy Policy](https://www.notefox.eu/privacy/) and [Terms of Service](https://www.notefox.eu/terms/) to know more.

## Documentation

You can find the API documentation at this link:
Expand Down
6 changes: 4 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,8 @@ div.h2-container:hover {
}

.clear-button-float-right {
margin-top: 20px !important;
margin-bottom: 20px !important;
margin-left: auto;
}

@media screen and (max-width: 1000px) {
Expand Down Expand Up @@ -2451,7 +2452,8 @@ hr.hr-domain:last-child {

.select-grid-no-text {
background-repeat: no-repeat;
background-position: center left 8px, center right 8px;
/*background-position: center left 8px, center right 8px;*/
background-position: center left 20%, center right 20%;
background-size: auto 20px, auto 20px;
-webkit-appearance: none;
-moz-appearance: none;
Expand Down
10 changes: 7 additions & 3 deletions js/all-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,15 +480,19 @@ function loadAllWebsites(clear = false, sort_by = "name-az", apply_filter = true

//console.log(domain);

let row = document.createElement("div");
row.classList.add("rows", "text-align-right");

let input_clear_all_notes_domain = document.createElement("input");

if (domain !== "**global") {
let input_clear_all_notes_domain = document.createElement("input");
input_clear_all_notes_domain.type = "button";
input_clear_all_notes_domain.value = all_strings["clear-all-notes-of-this-domain-button"];
input_clear_all_notes_domain.classList.add("button", "margin-top-5-px", "margin-right-5-px", "small-button", "clear-button", "clear-button-float-right");
input_clear_all_notes_domain.onclick = function () {
clearAllNotesDomain(domain);
}
section.append(input_clear_all_notes_domain);
row.append(input_clear_all_notes_domain);

let h2_container = document.createElement("div");
h2_container.classList.add("h2-container");
Expand All @@ -502,6 +506,7 @@ function loadAllWebsites(clear = false, sort_by = "name-az", apply_filter = true
}
}
h2_container.append(h2);
section.append(row);
section.append(h2_container);
}

Expand Down Expand Up @@ -824,7 +829,6 @@ function generateNotes(page, url, notes, title, lastUpdate, type, fullUrl, type_
}
}

//row1.append(pageUrl);
subrowUrl.append(pageUrl);
}

Expand Down

0 comments on commit fd2af77

Please sign in to comment.