not known
This commit is contained in:
parent
e3a3399807
commit
34fa11fa0f
@ -183,8 +183,9 @@ async function replenishRecipesCards() {
|
|||||||
editOp.href = `/recipes/edit/${recipes[i].id}`
|
editOp.href = `/recipes/edit/${recipes[i].id}`
|
||||||
|
|
||||||
let viewOp = document.createElement('a')
|
let viewOp = document.createElement('a')
|
||||||
viewOp.setAttribute('class', 'uk-button uk-button-small uk-button-primary')
|
viewOp.setAttribute('class', 'uk-button uk-button-small uk-button-default')
|
||||||
viewOp.innerHTML = '<span uk-icon="icon: eye"></span> View'
|
viewOp.innerHTML = '<span uk-icon="icon: eye"></span> View'
|
||||||
|
viewOp.style = "margin-right: 10px;"
|
||||||
viewOp.href = `/recipes/view/${recipes[i].id}`
|
viewOp.href = `/recipes/view/${recipes[i].id}`
|
||||||
|
|
||||||
let deleteOp = document.createElement('button')
|
let deleteOp = document.createElement('button')
|
||||||
|
|||||||
@ -242,3 +242,13 @@ select, option {
|
|||||||
background-color: #b6596a;
|
background-color: #b6596a;
|
||||||
color: var(--background-text)
|
color: var(--background-text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.uk-button.uk-button-primary {
|
||||||
|
background-color: var(--primary-color);
|
||||||
|
color: var(--primary-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.uk-button.uk-button-danger {
|
||||||
|
background-color: var(--error);
|
||||||
|
color: var(--error-text);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user