parent
42efefb95d
commit
84046a3077
2 changed files with 128 additions and 95 deletions
|
@ -9,12 +9,3 @@ body {
|
||||||
color: var(--main-color);
|
color: var(--main-color);
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile {
|
|
||||||
white-space: pre-wrap;
|
|
||||||
color: var(--light-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#profile strong {
|
|
||||||
color: var(--main-color);
|
|
||||||
}
|
|
214
index.html
214
index.html
|
@ -25,95 +25,137 @@
|
||||||
<a href="https://git.augendre.info/gaugendre/mobileconfig-generator">here</a>.
|
<a href="https://git.augendre.info/gaugendre/mobileconfig-generator">here</a>.
|
||||||
</p>
|
</p>
|
||||||
<div id="profile">
|
<div id="profile">
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<h2>Account</h2>
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<div class="form-row">
|
||||||
<plist version='1.0'>
|
<label for="account-type">Email account type</label>
|
||||||
<dict>
|
<select id="account-type" v-model="payload.EmailAccountType">
|
||||||
<key>PayloadContent</key>
|
<option value="" disabled>Select...</option>
|
||||||
<array>
|
<option value="EmailTypeIMAP">IMAP</option>
|
||||||
<dict>
|
<option value="EmailTypePOP">POP</option>
|
||||||
<key><strong>EmailAccountType</strong></key>
|
</select>
|
||||||
<string><select v-model="payload.EmailAccountType">
|
</div>
|
||||||
<option value="" disabled>Select...</option>
|
<div class="form-row">
|
||||||
<option>EmailTypeIMAP</option>
|
<label for="email-address">Email address</label>
|
||||||
<option>EmailTypePOP</option>
|
<input id="email-address" type="email" v-model="payload.EmailAddress" v-bind:placeholder="payloadPlaceholders.EmailAddress">
|
||||||
</select></string>
|
</div>
|
||||||
<key><strong>EmailAddress</strong></key>
|
<div class="form-row">
|
||||||
<string><input type="email" v-model="payload.EmailAddress" v-bind:placeholder="payloadPlaceholders.EmailAddress"></string>
|
<label for="account-description">Account description</label>
|
||||||
<key><strong>EmailAccountDescription</strong></key>
|
<input id="account-description" type="text" v-model="payload.EmailAccountDescription" v-bind:placeholder="payloadPlaceholders.EmailAccountDescription">
|
||||||
<string><input type="text" v-model="payload.EmailAccountDescription" v-bind:placeholder="payloadPlaceholders.EmailAccountDescription"></string>
|
</div>
|
||||||
|
|
||||||
|
<h2>Incoming mail server config</h2>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="inc-auth">Incoming mail server authentication</label>
|
||||||
|
<select id="inc-auth" v-model="payload.IncomingMailServerAuthentication">
|
||||||
|
<option value="" disabled>Select...</option>
|
||||||
|
<option value="EmailAuthNone">None</option>
|
||||||
|
<option value="EmailAuthPassword">Password</option>
|
||||||
|
<option value="EmailAuthCRAMMD5">CRAM MD5</option>
|
||||||
|
<option value="EmailAuthNTLM">NTLM</option>
|
||||||
|
<option value="EmailAuthHTTPMD5">HTTP MD5</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="inc-host">Incoming mail server host</label>
|
||||||
|
<input id="inc-host" type="text" v-model="payload.IncomingMailServerHostName" v-bind:placeholder="payloadPlaceholders.IncomingMailServerHostName">
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="inc-port">Incoming mail server port</label>
|
||||||
|
<input id="inc-port" type="number" v-model="payload.IncomingMailServerPortNumber" v-bind:placeholder="payloadPlaceholders.IncomingMailServerPortNumber">
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="inc-username">Incoming mail server username</label>
|
||||||
|
<input id="inc-username" type="text" v-model="payload.IncomingMailServerUsername" v-bind:placeholder="payloadPlaceholders.IncomingMailServerUsername">
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="inc-ssl">Incoming mail server use SSL</label>
|
||||||
|
<input id="inc-ssl" type="checkbox" v-model="payload.IncomingMailServerUseSSL">
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Incoming -->
|
<h2>Outgoing mail server config</h2>
|
||||||
<key><strong>IncomingMailServerAuthentication</strong></key>
|
<div class="form-row">
|
||||||
<string><select v-model="payload.IncomingMailServerAuthentication">
|
<label for="out-auth">Outgoing mail server authentication</label>
|
||||||
<option value="" disabled>Select...</option>
|
<select id="out-auth" v-model="payload.OutgoingMailServerAuthentication">
|
||||||
<option>EmailAuthNone</option>
|
<option value="" disabled>Select...</option>
|
||||||
<option>EmailAuthPassword</option>
|
<option value="EmailAuthNone">None</option>
|
||||||
<option>EmailAuthCRAMMD5</option>
|
<option value="EmailAuthPassword">Password</option>
|
||||||
<option>EmailAuthNTLM</option>
|
<option value="EmailAuthCRAMMD5">CRAM MD5</option>
|
||||||
<option>EmailAuthHTTPMD5</option>
|
<option value="EmailAuthNTLM">NTLM</option>
|
||||||
</select></string>
|
<option value="EmailAuthHTTPMD5">HTTP MD5</option>
|
||||||
<key><strong>IncomingMailServerHostName</strong></key>
|
</select>
|
||||||
<string><input type="text" v-model="payload.IncomingMailServerHostName" v-bind:placeholder="payloadPlaceholders.IncomingMailServerHostName"></string>
|
</div>
|
||||||
<key><strong>IncomingMailServerPortNumber</strong></key>
|
<div class="form-row">
|
||||||
<integer><input type="number" v-model="payload.IncomingMailServerPortNumber" v-bind:placeholder="payloadPlaceholders.IncomingMailServerPortNumber"></integer>
|
<label for="out-host">Outgoing mail server host</label>
|
||||||
<key><strong>IncomingMailServerUsername</strong></key>
|
<input id="out-host" type="text" v-model="payload.OutgoingMailServerHostName" v-bind:placeholder="payloadPlaceholders.OutgoingMailServerHostName">
|
||||||
<string><input type="text" v-model="payload.IncomingMailServerUsername" v-bind:placeholder="payloadPlaceholders.IncomingMailServerUsername"></string>
|
</div>
|
||||||
<key><strong>IncomingMailServerUseSSL</strong></key>
|
<div class="form-row">
|
||||||
<<input type="checkbox" v-model="payload.IncomingMailServerUseSSL">/>
|
<label for="out-port">Outgoing mail server port</label>
|
||||||
|
<input id="out-port" type="number" v-model="payload.OutgoingMailServerPortNumber" v-bind:placeholder="payloadPlaceholders.OutgoingMailServerPortNumber">
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="out-username">Outgoing mail server username</label>
|
||||||
|
<input id="out-username" type="text" v-model="payload.OutgoingMailServerUsername" v-bind:placeholder="payloadPlaceholders.OutgoingMailServerUsername">
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="out-ssl">Outgoing mail server use SSL</label>
|
||||||
|
<input id="out-ssl" type="checkbox" v-model="payload.OutgoingMailServerUseSSL">
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="out-same-as-inc">Outgoing mail server password same as incoming</label>
|
||||||
|
<input id="out-same-as-inc" type="checkbox" v-model="payload.OutgoingPasswordSameAsIncomingPassword">
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Outgoing -->
|
<h2>Inner common keys</h2>
|
||||||
<key><strong>OutgoingMailServerAuthentication</strong></key>
|
<div class="form-row">
|
||||||
<string><select v-model="payload.OutgoingMailServerAuthentication">
|
<label for="top-display">Payload display name</label>
|
||||||
<option value="" disabled>Select...</option>
|
<input id="inner-display" type="text" v-model="payload.PayloadDisplayName" v-bind:placeholder="payloadPlaceholders.PayloadDisplayName">
|
||||||
<option>EmailAuthNone</option>
|
</div>
|
||||||
<option>EmailAuthPassword</option>
|
<div class="form-row">
|
||||||
<option>EmailAuthCRAMMD5</option>
|
<label for="inner-desc">Payload description</label>
|
||||||
<option>EmailAuthNTLM</option>
|
<input id="inner-desc" type="text" v-model="payload.PayloadDescription" v-bind:placeholder="payloadPlaceholders.PayloadDescription">
|
||||||
<option>EmailAuthHTTPMD5</option>
|
</div>
|
||||||
</select></string>
|
<div class="form-row">
|
||||||
<key><strong>OutgoingMailServerHostName</strong></key>
|
<label for="inner-id">Payload identifier</label>
|
||||||
<string><input type="text" v-model="payload.OutgoingMailServerHostName" v-bind:placeholder="payloadPlaceholders.OutgoingMailServerHostName"></string>
|
<input id="inner-id" type="text" v-model="payload.PayloadIdentifier" v-bind:placeholder="payloadPlaceholders.PayloadIdentifier">
|
||||||
<key><strong>OutgoingMailServerPortNumber</strong></key>
|
</div>
|
||||||
<integer><input type="number" v-model="payload.OutgoingMailServerPortNumber" v-bind:placeholder="payloadPlaceholders.OutgoingMailServerPortNumber"></integer>
|
<div class="form-row">
|
||||||
<key><strong>OutgoingMailServerUsername</strong></key>
|
<label for="inner-type">Payload type</label>
|
||||||
<string><input type="text" v-model="payload.OutgoingMailServerUsername" v-bind:placeholder="payloadPlaceholders.OutgoingMailServerUsername"></string>
|
<span id="inner-type">{{ payload.PayloadType }}</span>
|
||||||
<key><strong>OutgoingMailServerUseSSL</strong></key>
|
</div>
|
||||||
<<input type="checkbox" v-model="payload.OutgoingMailServerUseSSL">/>
|
<div class="form-row">
|
||||||
<key><strong>OutgoingPasswordSameAsIncomingPassword</strong></key>
|
<label for="inner-uuid">Payload UUID</label>
|
||||||
<<input type="checkbox" v-model="payload.OutgoingPasswordSameAsIncomingPassword">/>
|
<span id="inner-uuid">{{ payload.PayloadUUID() }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="inner-version">Payload version</label>
|
||||||
|
<span id="inner-version">{{ payload.PayloadVersion }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Common keys -->
|
<h2>Top level common keys</h2>
|
||||||
<key><strong>PayloadDisplayName</strong></key>
|
<div class="form-row">
|
||||||
<string><input type="text" v-model="payload.PayloadDisplayName" v-bind:placeholder="payloadPlaceholders.PayloadDisplayName"></string>
|
<label for="top-display">Payload display name</label>
|
||||||
<key><strong>PayloadDescription</strong></key>
|
<input id="top-display" type="text" v-model="container.PayloadDisplayName" v-bind:placeholder="containerPlaceholders.PayloadDisplayName">
|
||||||
<string><input type="text" v-model="payload.PayloadDescription" v-bind:placeholder="payloadPlaceholders.PayloadDescription"></string>
|
</div>
|
||||||
<key><strong>PayloadIdentifier</strong></key>
|
<div class="form-row">
|
||||||
<string><input type="text" v-model="payload.PayloadIdentifier" v-bind:placeholder="payloadPlaceholders.PayloadIdentifier"></string>
|
<label for="top-desc">Payload description</label>
|
||||||
<key><strong>PayloadType</strong></key>
|
<input id="top-desc" type="text" v-model="container.PayloadDescription" v-bind:placeholder="containerPlaceholders.PayloadDescription">
|
||||||
<string>{{ payload.PayloadType }}</string>
|
</div>
|
||||||
<key><strong>PayloadUUID</strong></key>
|
<div class="form-row">
|
||||||
<string>{{ payload.PayloadUUID() }}</string>
|
<label for="top-id">Payload identifier</label>
|
||||||
<key><strong>PayloadVersion</strong></key>
|
<input id="top-id" type="text" v-model="container.PayloadIdentifier" v-bind:placeholder="containerPlaceholders.PayloadIdentifier">
|
||||||
<integer>{{ payload.PayloadVersion }}</integer>
|
</div>
|
||||||
</dict>
|
<div class="form-row">
|
||||||
</array>
|
<label for="top-type">Payload type</label>
|
||||||
|
<span id="top-type">{{ container.PayloadType }}</span>
|
||||||
<!-- Common keys -->
|
</div>
|
||||||
<key><strong>PayloadDisplayName</strong></key>
|
<div class="form-row">
|
||||||
<string><input type="text" v-model="container.PayloadDisplayName" v-bind:placeholder="containerPlaceholders.PayloadDisplayName"></string>
|
<label for="top-uuid">Payload UUID</label>
|
||||||
<key><strong>PayloadDescription</strong></key>
|
<span id="top-uuid">{{ container.PayloadUUID() }}</span>
|
||||||
<string><input type="text" v-model="container.PayloadDescription" v-bind:placeholder="containerPlaceholders.PayloadDescription"></string>
|
</div>
|
||||||
<key><strong>PayloadIdentifier</strong></key>
|
<div class="form-row">
|
||||||
<string><input type="text" v-model="container.PayloadIdentifier" v-bind:placeholder="containerPlaceholders.PayloadIdentifier"></string>
|
<label for="top-version">Payload version</label>
|
||||||
<key><strong>PayloadType</strong></key>
|
<span id="top-version">{{ container.PayloadVersion }}</span>
|
||||||
<string>{{ container.PayloadType }}</string>
|
</div>
|
||||||
<key><strong>PayloadUUID</strong></key>
|
|
||||||
<string>{{ container.PayloadUUID() }}</string>
|
|
||||||
<key><strong>PayloadVersion</strong></key>
|
|
||||||
<integer>{{ container.PayloadVersion }}</integer>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1>2. Download your profile</h1>
|
<h1>2. Download your profile</h1>
|
||||||
|
|
Loading…
Reference in a new issue