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}`
|
||||
|
||||
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.style = "margin-right: 10px;"
|
||||
viewOp.href = `/recipes/view/${recipes[i].id}`
|
||||
|
||||
let deleteOp = document.createElement('button')
|
||||
|
||||
@ -241,4 +241,14 @@ select, option {
|
||||
.uk-label.uk-label-danger {
|
||||
background-color: #b6596a;
|
||||
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