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