Skip to content

Commit

Permalink
first commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Oct 13, 2021
0 parents commit 37a88be
Show file tree
Hide file tree
Showing 203 changed files with 106,220 additions and 0 deletions.
279 changes: 279 additions & 0 deletions AddApp.html

Large diffs are not rendered by default.

250 changes: 250 additions & 0 deletions AddChocoApp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
<main>
<header class="page-header page-header-dark bg-gradient-primary-to-secondary pb-10">
<div class="container-xl px-4">
<div class="page-header-content pt-4">
<div class="row align-items-center justify-content-between">
<div class="col-auto mt-4">
<h1 class="page-header-title">
<div class="page-header-icon"><i data-feather="arrow-right-circle"></i></div>
Add Chocolatey App Wizard
</h1>
<div class="page-header-subtitle">This wizard guides you through adding a Chocolatey app to
multiple
tenants
</div>
</div>
</div>
</div>
</div>
</header>
<!-- Main page content-->
<div class="container-xl px-4 mt-n10">
<!-- Wizard card example with navigation-->
<div class="card">
<div class="card-header border-bottom">
<!-- Wizard navigation-->
<div class="nav nav-pills nav-justified flex-column flex-xl-row nav-wizard" id="cardTab" role="tablist">
<!-- Wizard navigation item 1-->
<a class="nav-item nav-link active" id="wizard1-tab" href="#wizard1" data-bs-toggle="tab" role="tab"
aria-controls="wizard1" aria-selected="true">
<div class="wizard-step-icon">1</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">Tenant choice</div>
<div class="wizard-step-text-details">Choose the tenants to create the app for.</div>
</div>
</a>
<!-- Wizard navigation item 2-->
<a class="nav-item nav-link" id="wizard2-tab" href="#wizard2" data-bs-toggle="tab" role="tab"
aria-controls="wizard2" aria-selected="true">
<div class="wizard-step-icon">2</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">Setup app</div>
<div class="wizard-step-text-details">Supply the app information</div>
</div>
</a>
<!-- Wizard navigation item 3-->
<a class="nav-item nav-link" id="wizard3-tab" href="#wizard3" data-bs-toggle="tab" role="tab"
aria-controls="wizard3" aria-selected="true">
<div class="wizard-step-icon">3</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">Review and confirm</div>
<div class="wizard-step-text-details">Upload the app</div>
</div>
</a>

</div>
</div>
<form id="StandardsForm">
<div class="card-body">
<div class="tab-content" id="cardTabContent">

<!-- Wizard tab pane item 1-->
<div class="tab-pane py-5 py-xl-10 fade show active" id="wizard1" role="tabpanel"
aria-labelledby="wizard1-tab">

<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 1</h3>
<h5 class="card-title mb-4">Choose a tenant</h5>
Select the list of tenants that should receive your application <br>
The select all checkbox selects all items on the current page.
<div>
<table id="datatablesSimple">
<table cellpadding="0" cellspacing="0"
class="datatable-1 table table-striped" width="100%">
<thead>
<tr>
<th> <input class="form-check-input" id="selectAll"
type="checkbox" value="true" /></th>
<th>Tenant name</th>
<th>Default Domain Name</th>
</tr>
</thead>
<tbody id='AccountTable'>
</tbody>
<tfoot>
<tr>
<th></th>
<th>Tenant name</th>
<th>Default Domain Name</th>
</tr>
</tfoot>
</table>
</div>

<hr class="my-4" />
<div class="d-flex justify-content-between">

<button class="btn btn-light disabled" type="button" disabled>Previous</button>
<a class="nav-link active wizardbutton" href="#wizard2-tab">
<button class="btn btn-primary btnNext" type="button">Next</button></a>
</div>
</div>
</div>
</div>
<!-- Wizard tab pane item 2-->
<div class="tab-pane py-5 py-xl-10 fade" id="wizard2" role="tabpanel"
aria-labelledby="wizard2-tab">
<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 2</h3>
<h5 class="card-title mb-4">Enter app information</h5>
<div class="row gx-3 mb-3">
We will be uploading the following intunewin file to your tenant. <br>Please
select
a correct package name from the Chocolatey repository.
<div class="col-md-6">
<label class="small mb-1" for="PackageName">Chocolatey package
name</label>
<input class="form-control" id="PackageName" type="text"
placeholder="Enter the package name" value="" name="Packagename" />
</div>
<!-- Form Group (last name)-->
<div class="col-md-6">
<label class="small mb-1" for="Application Name">Application Name</label>
<input class="form-control" id="Application Name" type="text"
placeholder="Enter application name" value="" name="ApplicationName" />
</div>
</div>
<div class="mb-3">
<label class="small mb-1" for="Description">Description</label>
<input class="form-control" id="Description" placeholder="Enter the description"
value="" name="Description" />
</div>
<div class="mb-3">
<label class="small mb-1" for="CustomRepo">Custom repository URL</label>
<input class="form-control" id="CustomRepo"
placeholder="Enter the URL, Leave blank for none" value=""
name="CustomRepo" />
</div>
<!-- Form Row-->
<div class="form-check mb-2">
<input class="form-check-input" id="InstallAsSystem" name="InstallAsSystem"
type="checkbox" checked value="true" />
<label class="form-next buttocheck-label" for="InstallAsSystem">Install as
SYSTEM</label>
</div>

<div class="form-check mb-2">
<input class="form-check-input" id="DisableRestart" name="DisableRestart"
type="checkbox" checked value="true" />
<label class="form-next buttocheck-label" for="DisableRestart">Do not
restart device</label>
</div>
<!-- Form Group (email address)-->
<div class="form-check">
<input class="form-check-input" name="AssignTo" id="LicenseRadio1" type="radio"
checked>
<label class="form-check-label" for="AssignToRadio1">Do not assign</label>
</div>
<div class="form-check">
<input class="form-check-input" value="allLicensedUsers" id="AssignToRadio3"
type="radio" name="AssignTo">
<label class=" form-check-label" for="AssignToRadio3">Assign to all
users</label>
</div>
<div class="form-check">
<input class="form-check-input" value="AllDevices" id="AssignToRadio2"
type="radio" name="AssignTo">
<label class=" form-check-label" for="AssignToRadio2">Assign to all
devices</label>
</div>

<div class="form-check">
<input class="form-check-input" value="AllDevicesAndUsers" id="AssignToRadio4"
type="radio" name="AssignTo">
<label class=" form-check-label" for="AssignToRadio4">Assign to all
users & Devices</label>
</div>
<hr class="my-4" />
<div class="d-flex justify-content-between">
<a class="nav-link active wizardbutton" href="#wizard1-tab">
<button class="btn btn-light" type="button">Previous</button></a>
<a class="nav-link active wizardbutton" href="#wizard3-tab">
<button class="btn btn-primary">Next</button>
</a>
</div>

</div>
</div>
</div>
</form>
<!-- Wizard tab pane item 3-->
<div class="tab-pane py-5 py-xl-10 fade" id="wizard3" role="tabpanel" aria-labelledby="wizard3-tab">
<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 3</h3>
<h5 class="card-title mb-4">Confirm and apply</h5>
<form>
<section id="FormOverview">
</div>
<hr class="my-4" />
<div class="d-flex justify-content-between">
<a class="nav-link active wizardbutton" href="#wizard2-tab">
<button class="btn btn-light" type="button">Previous</button></a>
<a class="nav-link active wizardbutton" href="#wizard4-tab">
<button class="btn btn-primary" onclick='PostForm("StandardsForm","api/AddChocoApp")'
type="button">Apply</button>
</a>
</div>

</div>
</div>
</div>

</div>
</div>
</div>
</div>
</main>
</body>


<button class="btn btn-primary" id="PopModal" type="button" data-bs-toggle="modal" data-bs-target="#exampleModal"
style="display:none;"></button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Results</h5>
</div>
<div class="modal-body">
<section id="APIContent">
<div class="spinner-border text-primary" role="status">
<span class="sr-only"></span>
</div></span>
</section>
</div>
<div class="modal-footer"><button class="btn btn-secondary" type="button"
data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
<script src="js/datatables/bootstable.min.js"></script>
<script src="js/datatables/jquery.dataTables.js"></script>
<script src="js/datatables/WizardButtons.js"></script>
<script src="js/datatables/datatablestenantsWizards.js"></script>


</html>
Loading

0 comments on commit 37a88be

Please sign in to comment.