Skip to content

Commit

Permalink
Merge pull request #16 from GavinGu07/gh-pages
Browse files Browse the repository at this point in the history
Deploy new web page
  • Loading branch information
GavinGu07 authored Dec 11, 2023
2 parents 9d761f6 + 8c459a2 commit 3e83893
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 16 deletions.
Binary file added Word-Add-in-AIGC/assets/Add-in-Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Word-Add-in-AIGC/assets/Sideload_entry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Word-Add-in-AIGC/assets/button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Word-Add-in-AIGC/assets/manifest_location.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Word-Add-in-AIGC/assets/upload-manifest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ body,
margin: 0;
padding: 0;
border-width: 0;
overflow: hidden;
}

.f1i3iumi {
Expand All @@ -23,6 +24,7 @@ body,
margin: 0;
padding: 0;
border-width: 0;
overflow: hidden;
}

.wrapper {
Expand All @@ -32,7 +34,8 @@ body,
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
overflow-x: hidden;
overflow-y: auto;
background-color: #F0F0F0;
}

Expand Down Expand Up @@ -77,7 +80,7 @@ a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
justify-content: flex-start;
}

.back {
Expand Down Expand Up @@ -108,31 +111,38 @@ a {
font-size: 1rem;
}

.bottom {
width: 100%;
.dropdown_list,
.insert_button {
width: 90%;
color: var(--blue);
margin: 1.5rem;
font-weight: 500;
}

.item_desc {
margin: 0.2rem 1rem;
font-weight: 500;
.bottom {
width: 100%;
}

.bottom_item {
width: 100%;
height: 35px;
font-weight: 400;
background-color: white;
margin: 0.3rem 0;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}

.item_icon {
padding-top: 0.1rem;
padding-bottom: 0.1rem;
display: inline-block;
display: inline;
color: var(--blue);
}

.bottom_item_info {
display: inline-block;
display: inline;
font-weight: 500;
}

Expand Down
6 changes: 3 additions & 3 deletions Word-Add-in-AIGC/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
<bt:Url id="Taskpane.Url" DefaultValue="https://officedev.github.io/Word-Scenario-based-Add-in-Samples/Word-Add-in-AIGC/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GetStarted.Title" DefaultValue="Get started with your sample add-in!"/>
<bt:String id="CommandsGroup.Label" DefaultValue="Commands Group"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane"/>
<bt:String id="GetStarted.Title" DefaultValue="Get started with the Word AI Content Generation add-in!"/>
<bt:String id="CommandsGroup.Label" DefaultValue="AI Content Generation"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Insert Content"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="GetStarted.Description" DefaultValue="Your sample add-in loaded succesfully. Go to the HOME tab and click the 'Show Taskpane' button to get started."/>
Expand Down
2 changes: 1 addition & 1 deletion Word-Add-in-AIGC/taskpane.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en" data-framework="typescript"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge"/><meta name="viewport" content="width=device-width,initial-scale=1"><title>Contoso Task Pane Add-in</title><script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js"></script><link href="4f34c2af53eeef0317ee.css" rel="stylesheet"/><script defer="defer" src="polyfill.js"></script><script defer="defer" src="vendor.js"></script><script defer="defer" src="taskpane.js"></script><script defer="defer" src="commands.js"></script></head><body><div style="height:1px;width:1px"><img src="https://pnptelemetry.azurewebsites.net/pnp-officeaddins/samples/word-add-in-aigc"></div><div id="container" class="container"></div><div id="tridentmessage" style="display:none;padding:10">This add-in will not run in your version of Office. Please upgrade either to perpetual Office 2021 (or later) or to a Microsoft 365 account.</div><script>if(-1!==navigator.userAgent.indexOf("Trident")||-1!==navigator.userAgent.indexOf("Edge")){var tridentMessage=document.getElementById("tridentmessage"),normalContainer=document.getElementById("container");tridentMessage.style.display="block",normalContainer.style.display="none"}</script></body></html>
<!doctype html><html lang="en" data-framework="typescript"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge"/><meta name="viewport" content="width=device-width,initial-scale=1"><title>Contoso Task Pane Add-in</title><script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js"></script><link href="f3cefe0aeed8d880b715.css" rel="stylesheet"/><script defer="defer" src="polyfill.js"></script><script defer="defer" src="vendor.js"></script><script defer="defer" src="taskpane.js"></script><script defer="defer" src="commands.js"></script></head><body><div style="height:1px;width:1px"><img src="https://pnptelemetry.azurewebsites.net/pnp-officeaddins/samples/word-add-in-aigc"></div><div id="container" class="container"></div><div id="tridentmessage" style="display:none;padding:10">This add-in will not run in your version of Office. Please upgrade either to perpetual Office 2021 (or later) or to a Microsoft 365 account.</div><script>if(-1!==navigator.userAgent.indexOf("Trident")||-1!==navigator.userAgent.indexOf("Edge")){var tridentMessage=document.getElementById("tridentmessage"),normalContainer=document.getElementById("container");tridentMessage.style.display="block",normalContainer.style.display="none"}</script></body></html>
2 changes: 1 addition & 1 deletion Word-Add-in-AIGC/taskpane.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Word-Add-in-AIGC/taskpane.js.map

Large diffs are not rendered by default.

0 comments on commit 3e83893

Please sign in to comment.