v1.5.21b - Updated remove multiple event color

This commit is contained in:
Anders 2021-05-07 08:49:46 +02:00
parent df6aef332d
commit 7560cfe1a3
2 changed files with 12 additions and 5 deletions

View File

@ -30,7 +30,10 @@
padding: 8px; padding: 8px;
} }
.bg-red {
background: #B20000FF;
color: white;
}
</style> </style>
<link href="{{ asset("/css/quill/quill.snow.css") }}" rel="stylesheet"> <link href="{{ asset("/css/quill/quill.snow.css") }}" rel="stylesheet">
<h1 id="errormesseages" >Opret ugentligt aktivitet: [Vi er i uge <?php echo date('W'); ?>]</h1> <h1 id="errormesseages" >Opret ugentligt aktivitet: [Vi er i uge <?php echo date('W'); ?>]</h1>
@ -53,7 +56,7 @@
<td><input type="text" name="description[]"></td> <td><input type="text" name="description[]"></td>
<td><input type="text" name="accountable[]" maxlength="255"></td> <td><input type="text" name="accountable[]" maxlength="255"></td>
<td><input type="datetime-local" name="date[]"></td> <td><input type="datetime-local" name="date[]"></td>
<td><button type="button" onclick="removeRow(this)" class="btn btn-inline btn-sde-blue">Fjern Række</button></td> <td><button type="button" onclick="removeRow(this)" class="btn btn-inline bg-red">Fjern Række</button></td>
</tr> </tr>
</table> </table>
@ -135,7 +138,7 @@
"<td><input type='text' name='description[]'></td>" + "<td><input type='text' name='description[]'></td>" +
"<td><input type='text' name='accountable[]'></td>" + "<td><input type='text' name='accountable[]'></td>" +
"<td><input type='datetime-local' name='date[]'></td>" + "<td><input type='datetime-local' name='date[]'></td>" +
"<td><button type='button' onclick='removeRow(this)' class='btn btn-inline btn-sde-blue'>Fjern Række</button></td>" + "<td><button type='button' onclick='removeRow(this)' class='btn btn-inline bg-red'>Fjern Række</button></td>" +
"</tr>" ); "</tr>" );
console.log("1"); console.log("1");
}); });

View File

@ -34,6 +34,10 @@
cursor: pointer; cursor: pointer;
} }
.bg-red {
background: #B20000FF;
color: white;
}
</style> </style>
<link href="{{ asset("/css/quill/quill.snow.css") }}" rel="stylesheet"> <link href="{{ asset("/css/quill/quill.snow.css") }}" rel="stylesheet">
<h1 id="errormesseages" >Opret ugentligt aktivitet: [Vi er i uge <?php echo date('W'); ?>]</h1> <h1 id="errormesseages" >Opret ugentligt aktivitet: [Vi er i uge <?php echo date('W'); ?>]</h1>
@ -57,7 +61,7 @@
<td><input type="text" name="description[{{ $multiEvent->id }}][]" value="{{ $multiEvent->description }}"></td> <td><input type="text" name="description[{{ $multiEvent->id }}][]" value="{{ $multiEvent->description }}"></td>
<td><input type="text" name="accountable[{{ $multiEvent->id }}][]" maxlength="255" value="{{ $multiEvent->accountable }}"></td> <td><input type="text" name="accountable[{{ $multiEvent->id }}][]" maxlength="255" value="{{ $multiEvent->accountable }}"></td>
<td><input type="datetime-local" name="date[{{ $multiEvent->id }}][]" value="{{ strftime("%Y-%m-%dT%H:%M:%S", strtotime($multiEvent->date)) }}"></td> <td><input type="datetime-local" name="date[{{ $multiEvent->id }}][]" value="{{ strftime("%Y-%m-%dT%H:%M:%S", strtotime($multiEvent->date)) }}"></td>
<td><button type="button" onclick="removeRow(this)" class="btn btn-inline btn-sde-blue">Fjern Række</button></td> <td><button type="button" onclick="removeRow(this)" class="btn btn-inline bg-red">Fjern Række</button></td>
</tr> </tr>
@endforeach @endforeach
</table> </table>
@ -141,7 +145,7 @@
"<td><input type='text' name='description[new][]'></td>" + "<td><input type='text' name='description[new][]'></td>" +
"<td><input type='text' name='accountable[new][]'></td>" + "<td><input type='text' name='accountable[new][]'></td>" +
"<td><input type='datetime-local' name='date[new][]'></td>" + "<td><input type='datetime-local' name='date[new][]'></td>" +
"<td><button type='button' onclick='removeRow(this)' class='btn btn-inline btn-sde-blue'>Fjern Række</button></td>" + "<td><button type='button' onclick='removeRow(this)' class='btn btn-inline bg-red'>Fjern Række</button></td>" +
"</tr>" ); "</tr>" );
}); });
}); });