Merge branch 'master' of https://gogs.inhome.blapointe.com/local/firestormy
This commit is contained in:
@@ -17,9 +17,12 @@ tbody tr:nth-child(2n+1) {
|
||||
#upsert > textarea {
|
||||
width: 100%;
|
||||
resize: vertical;
|
||||
<<<<<<< HEAD
|
||||
font-family: monospace;
|
||||
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
|
||||
white-space: pre-wrap;
|
||||
=======
|
||||
>>>>>>> f7a346a380076b3ea76ec6f99f09b3c26b72f002
|
||||
}
|
||||
|
||||
#jobs > tbody > tr > td {
|
||||
@@ -46,6 +49,7 @@ tbody tr:nth-child(2n+1) {
|
||||
background: inherit;
|
||||
min-width: 40%;
|
||||
display: inline-block;
|
||||
<<<<<<< HEAD
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
@@ -53,3 +57,8 @@ tbody tr:nth-child(2n+1) {
|
||||
::-moz-selection {
|
||||
background-color: #565f67;
|
||||
}
|
||||
=======
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
>>>>>>> f7a346a380076b3ea76ec6f99f09b3c26b72f002
|
||||
|
||||
@@ -27,14 +27,7 @@ function upsert() {
|
||||
function jsonifyForm(id) {
|
||||
var form = document.getElementById(id)
|
||||
var entries = new FormData(form).entries();
|
||||
var json = Object.assign(...Array.from(
|
||||
entries,
|
||||
([x,y]) => ({
|
||||
[x]:y
|
||||
.replace(/\r\n/g, '\n')
|
||||
.replace(/\r/g, '\n')
|
||||
})
|
||||
))
|
||||
var json = Object.assign(...Array.from(entries, ([x,y]) => ({[x]:y})));
|
||||
json.disabled = json.disabled == "false"
|
||||
var s = JSON.stringify(json)
|
||||
return s
|
||||
@@ -64,8 +57,8 @@ function format(job) {
|
||||
var buttons = ""
|
||||
var btns = [
|
||||
{"name":"refresh", "icon":"8635"},
|
||||
{"name":"run", "icon":"9654"},
|
||||
{"name":"modify", "icon":"9999"},
|
||||
{"name":"run", "icon":"9654"},
|
||||
{"name":"modify", "icon":"9999"},
|
||||
{"name":"delete", "icon":"10006"}
|
||||
]
|
||||
btns.forEach(function(e) {
|
||||
@@ -76,7 +69,7 @@ function format(job) {
|
||||
`
|
||||
})
|
||||
var strikethrough = "initial"
|
||||
if (job.disabled)
|
||||
if (job.disabled)
|
||||
strikethrough = "line-through"
|
||||
strikethrough = "text-decoration: "+strikethrough
|
||||
return `<tr><td><details>
|
||||
|
||||
Reference in New Issue
Block a user