forked from OfficeDev/outlook-add-in-command-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
InsertText.html
56 lines (51 loc) · 2.2 KB
/
InsertText.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!-- Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE.txt in the project root for license information. -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title></title>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.min.css" />
<link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.components.min.css" />
<script src="../Assets/Scripts/jquery.fabric.js" type="text/javascript"></script>
<link href="../App.css" rel="stylesheet" type="text/css" />
<script src="../App.js" type="text/javascript"></script>
<script src="InsertText.js" type="text/javascript"></script>
</head>
<body>
<div id="content-header">
<div class="padding">
<h1 class="ms-font-xl ms-fontWeight-light ms-fontColor-white">Insert custom text</h1>
</div>
</div>
<div id="content-main" class="ms-Grid">
<div class="ms-Grid-row">
<div class="ms-Grid-col ms-u-sm12">
<div class="ms-TextField">
<label class="ms-Label">Text to insert:</label>
<input id="textToInsert" class="ms-TextField-field" />
<span class="ms-TextField-description">Enter the text you want to insert here.</span>
</div>
</div>
</div>
<div class="ms-Grid-row">
<div class="ms-Grid-col ms-u-sm12">
<button id="insertText" class="ms-Button">
<span class="ms-Button-label">Insert</span>
<span class="ms-Button-description">Inserts the text entered into the body of the message.</span>
</button>
</div>
</div>
<div class="ms-Grid-row">
<div class="ms-Grid-col ms-u-sm12">
<button id="insertText" class="ms-Button">
<span class="ms-Button-label">Remove</span>
<span class="ms-Button-description">Remove the text entered into the body of the message.</span>
</button>
</div>
</div>
</div>
</body>
</html>