Skip to content

Commit 69f7b2d

Browse files
committedNov 28, 2024·
change some dashboard styles
1 parent c1f767d commit 69f7b2d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed
 

‎lapdev-dashboard/src/organization.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -261,18 +261,18 @@ pub fn OrgSettings() -> impl IntoView {
261261
<p class="text-gray-700">{"Manage your organization's settings"}</p>
262262
</div>
263263
<div class="mb-8">
264-
<div class="w-full p-8 border rounded-xl">
264+
<div class="w-full p-8 border rounded-xl shadow">
265265
<UpdateNameView />
266266
</div>
267267
<div
268-
class="mt-4 w-full p-8 border rounded-xl"
268+
class="mt-8 w-full p-8 border rounded-xl shadow"
269269
class:hidden=move || !cluster_info.with(|i| i.as_ref().map(|i| i.has_enterprise)).unwrap_or(false)
270270
>
271271
<AutoStartStopView />
272272
</div>
273273

274274
<div
275-
class="mt-4 w-full p-8 border rounded-xl"
275+
class="mt-8 w-full p-8 border rounded-xl shadow"
276276
class:hidden=move || !login.with(|l| { l.as_ref() .and_then(|l| l.as_ref().map(|l| l.organization.role == UserRole::Owner)) .unwrap_or(false) })
277277
>
278278
<h5 class="text-lg font-semibold">

‎lapdev-ws/src/server.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ impl WorkspaceServer {
389389
.output()
390390
.await?;
391391

392-
Command::new("userdel").arg(osuser).output().await?;
392+
Command::new("userdel")
393+
.arg("-f")
394+
.arg(osuser)
395+
.output()
396+
.await?;
393397

394398
tokio::fs::remove_dir(&workspace_base_folder).await?;
395399
tokio::fs::remove_dir_all(format!("/home/{osuser}")).await?;

0 commit comments

Comments
 (0)
Please sign in to comment.