15-12-2022 ~ 2
This commit is contained in:
@@ -71,7 +71,7 @@ else
|
||||
</div>
|
||||
|
||||
<div class="btn-group mt-3" role="group" aria-label="Basic example">
|
||||
<a class="btn btn-primary" href="profiles/import/new">
|
||||
<a class="btn btn-primary" href="/profiles/import/new">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-circle" viewBox="0 0 16 16">
|
||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" />
|
||||
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z" />
|
||||
|
||||
@@ -72,10 +72,6 @@ else
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Profilschritte</h3>
|
||||
|
||||
<ECM.JobRunner.Web.Pages.ImportStep.ListSteps Profile="profile" />
|
||||
|
||||
<div class="btn-toolbar mt-3" role="toolbar" aria-label="Toolbar with button groups">
|
||||
<div class="btn-group me-2" role="group" aria-label="First group">
|
||||
<a class="btn btn-secondary" href="profiles/import">
|
||||
@@ -97,7 +93,7 @@ else
|
||||
</div>
|
||||
<div class="flex-column flex-fill"></div>
|
||||
<div class="btn-group" role="group">
|
||||
<a class="btn btn-secondary" href="profiles/import/@profile.Id/steps">Profilschritte bearbeiten</a>
|
||||
<a class="btn btn-secondary" href="profiles/import/@profile.Id/steps">Profilschritte bearbeiten (@profile.Steps.Length)</a>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -127,10 +123,10 @@ else
|
||||
bool confirmed = await JsRuntime.InvokeAsync<bool>("confirm", "Are you sure?");
|
||||
if (confirmed)
|
||||
{
|
||||
//if (await Jobs.DeleteJob(profile) == true)
|
||||
//{
|
||||
// Navigation.NavigateTo($"/jobs");
|
||||
//};
|
||||
if (await Import.DeleteProfile(profile) == true)
|
||||
{
|
||||
Navigation.NavigateTo($"/jobs");
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user