<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body{ | |
background-color:#F0F2F4;color:#16233A;font-family:'Segoe UI', Tahoma, Helvetica, Sans-Serif;font-size:0.875rem;font-weight:400;line-height:1.25rem} | |
} | |
</style> | |
<script src="https://statics.teams.microsoft.com/sdk/v1.0/js/MicrosoftTeams.min.js"></script> | |
<script> | |
(function() { | |
'use strict'; | |
// Call the initialize API first | |
microsoftTeams.initialize(); | |
// Trigger the remote login page | |
microsoftTeams.settings.registerOnSaveHandler(function(saveEvent) { | |
microsoftTeams.settings.setSettings({ | |
contentUrl: 'https://maustin.net/hax/teams/', | |
entityId: 'https://maustin.net/hax/teams/' | |
}); | |
saveEvent.notifySuccess(); | |
}); | |
// Logic to let the user configure what they want to see in the tab being loaded | |
document.addEventListener('DOMContentLoaded', function() { | |
microsoftTeams.settings.setValidityState(true); | |
}); | |
})(); | |
</script> | |
</head> | |
<body> | |
<h2>save</h2> | |
</body> | |
</html> |