Compare commits

..

2 Commits

Author SHA1 Message Date
lexx c43c29eb14 modal save button 2024-08-23 19:37:20 +03:00
lexx 0c00f76657 fix tools and layhout 2024-08-23 18:15:18 +03:00
11 changed files with 80 additions and 77 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,11 +1,11 @@
{
"main.js": {
"file": "assets/main-B-nfEWyS.js",
"file": "assets/main-BtcBvcC_.js",
"name": "main",
"src": "main.js",
"isEntry": true,
"css": [
"assets/main-CaexgiEy.css"
"assets/main-BWRwkaBb.css"
]
}
}
@@ -4,10 +4,10 @@
const channel = getContext("channel");
const dispatch = createEventDispatcher();
export let inModal;
export let modalUrl;
const url = new URL(modalUrl ?? window.location.href);
function removeFilter(k) {
const url = new URL(modalUrl ?? window.location.href);
+10 -9
View File
@@ -135,13 +135,13 @@
</div>
{#if Object.entries(filter).length > 0}
<div class="applied-filters">
<AppliedFilterNotLinked
{inModal}
{modalUrl}
on:refresh
/>
<div class="applied-filters">
<AppliedFilterNotLinked
{inModal}
{modalUrl}
on:refresh
></AppliedFilterNotLinked>
{#if Object.entries(filter).length > 0}
{#each Object.entries(filter) as [k, v]}
<AppliedFilter
{schema}
@@ -154,6 +154,7 @@
on:refresh
/>
{/each}
</div>
{/if}
{/if}
</div>
@@ -100,9 +100,9 @@
<DialogRecord bind:this={dialogRecord}>
{#if inLineCreateRecord}
<InlineEdit
{...inLineCreateRecord}
isCreateMode={true}
on:cancel={(e) => (inLineCreateRecord = null)}
on:inlinesaved={save}
/>
+5 -3
View File
@@ -44,7 +44,7 @@
margin: 6px 0;
border-color: transparent;
.button {
.button:not(.primary) {
background: var(--p30);
&:hover {
@@ -53,9 +53,10 @@
}
dialog {
.button {
.button:not(.primary) {
background: var(--p20);
&:hover {
background: var(--p30);
}
@@ -142,4 +143,5 @@
}
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@
background: var(--p20);
display: flex;
flex-direction: column;
gap: 3px;
gap: 4px;
}
.sidebar-header {
+1 -1
View File
@@ -9,7 +9,7 @@
@if(config("lucent.env") === "production")
<!-- if production -->
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.css']["file"] }}"/>
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.js']["css"][0] }}"/>
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
@else
<!-- if development -->
@@ -26,7 +26,7 @@ return new class extends Migration {
*
* @return void
*/
public function down()
public function down
{
Schema::table('records', function (Blueprint $table) {
$table->dropColumn('search');