mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 16:24:37 +03:00
make setting up apple mail clients easier by providing .mobileconfig device management profiles
including showing a qr code to easily get the file on iphones. the profile is currently in the "account" page. idea by x8x in issue #65
This commit is contained in:
@ -695,12 +695,12 @@ const account = async (name) => {
|
||||
const domain = async (d) => {
|
||||
const end = new Date().toISOString()
|
||||
const start = new Date(new Date().getTime() - 30*24*3600*1000).toISOString()
|
||||
const [dmarcSummaries, tlsrptSummaries, localpartAccounts, dnsdomain, clientConfig] = await Promise.all([
|
||||
const [dmarcSummaries, tlsrptSummaries, localpartAccounts, dnsdomain, clientConfigs] = await Promise.all([
|
||||
api.DMARCSummaries(start, end, d),
|
||||
api.TLSRPTSummaries(start, end, d),
|
||||
api.DomainLocalparts(d),
|
||||
api.Domain(d),
|
||||
api.ClientConfigDomain(d),
|
||||
api.ClientConfigsDomain(d),
|
||||
])
|
||||
|
||||
let form, fieldset, localpart, account
|
||||
@ -725,7 +725,7 @@ const domain = async (d) => {
|
||||
),
|
||||
),
|
||||
dom.tbody(
|
||||
clientConfig.Entries.map(e =>
|
||||
clientConfigs.Entries.map(e =>
|
||||
dom.tr(
|
||||
dom.td(e.Protocol),
|
||||
dom.td(domainString(e.Host)),
|
||||
@ -756,7 +756,7 @@ const domain = async (d) => {
|
||||
dom.td(t[0] || '(catchall)'),
|
||||
dom.td(dom.a(t[1], attr({href: '#accounts/'+t[1]}))),
|
||||
dom.td(
|
||||
dom.button('Remove address', async function click(e) {
|
||||
dom.button('Remove', async function click(e) {
|
||||
e.preventDefault()
|
||||
if (!window.confirm('Are you sure you want to remove this address?')) {
|
||||
return
|
||||
|
Reference in New Issue
Block a user