diff --git a/src/main/resources/static/css/recipesList.css b/src/main/resources/static/css/recipesList.css index 7aa0cbc..3033842 100644 --- a/src/main/resources/static/css/recipesList.css +++ b/src/main/resources/static/css/recipesList.css @@ -32,12 +32,10 @@ h1 { max-width: 400px; } -.descriptionCell { - /*border-right-color: #e6e6e6;*/ - /*border-right-style: solid;*/ - /*border-right-width: 2px;*/ -} - .researchEnabled .companyTab:not(.researchResult), .researchEnabled .recipeRow:not(.researchResult) { display: none; } + +.iconsColumn img { + margin-top: 5px; +} diff --git a/src/main/resources/static/icons/bucket.svg b/src/main/resources/static/icons/bucket.svg new file mode 100644 index 0000000..7fd119b --- /dev/null +++ b/src/main/resources/static/icons/bucket.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/main/resources/static/js/recipeResearch.js b/src/main/resources/static/js/recipeResearch.js index db650ae..eed1467 100644 --- a/src/main/resources/static/js/recipeResearch.js +++ b/src/main/resources/static/js/recipeResearch.js @@ -1,9 +1,13 @@ $(() => { $(".recipeRow").each(function () { + const iconsColumn = $(this).find(".iconsColumn") if (!$(this).data("approbationdate")) { - const icon = $(this).find(".icon"); - icon.removeAttr("hidden"); - icon.attr({title: recipeNotApproved}) + const icon = $("") + .attr({ + src: recipeNotApprovedIconPath, + title: recipeNotApproved + }) + iconsColumn.append(icon) } }); }); diff --git a/src/main/resources/templates/fragments.html b/src/main/resources/templates/fragments.html index a56c4a9..1163e96 100644 --- a/src/main/resources/templates/fragments.html +++ b/src/main/resources/templates/fragments.html @@ -219,5 +219,9 @@ const printingMessage = formatMessage("[[#{recipe.print.printing}]]"); + + diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 85c85fa..fcdb361 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -28,8 +28,8 @@ - - + + @@ -40,9 +40,7 @@ - - + @@ -54,6 +52,7 @@ +