-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
222 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,92 @@ | ||
<!DOCTYPE html><html lang="en"><head> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>ChatOnAngular</title> | ||
<base href="/chat-on-angular/chat-on-angular/"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<style>@import"https://fonts.googleapis.com/css?family=Open+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";*{font-family:Open Sans;box-sizing:border-box}body{width:100%;position:absolute;bottom:0;margin:0}</style><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css"></noscript></head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>Chat On Angular Example Page</title> | ||
<link href="https://getbootstrap.com/docs/4.0/examples/carousel/../../dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="https://getbootstrap.com/docs/4.0/examples/carousel/carousel.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<app-root></app-root> | ||
<script src="runtime.069bbe64b403c88c.js" type="module"></script><script src="polyfills.5e55093c08b1226c.js" type="module"></script><script src="main.7c16f3b735043072.js" type="module"></script> | ||
|
||
</body></html> | ||
<header> | ||
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> | ||
<a class="navbar-brand" href="/chat-on-angular">Chat On Angular Example Page</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" | ||
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="./chat-on-angular?go-to-agent-panel=1">Agent Panel</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
<main role="main"> | ||
|
||
<div id="myCarousel" class="carousel slide" data-ride="carousel"> | ||
|
||
<div class="carousel-inner"> | ||
<div class="carousel-item active"> | ||
<img class="first-slide" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide"> | ||
<div class="container"> | ||
<div class="carousel-caption text-left"> | ||
<h1>Usage</h1> | ||
<p>Place coa-wrapper.js <script> right before the closing </body> tag like in this page,</p> | ||
<p>and edit urlCoA value with the host url on which you deploy angular-application</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<!-- Marketing messaging and featurettes | ||
================================================== --> | ||
<!-- Wrap the rest of the page in another container to center all the content. --> | ||
|
||
<div class="container marketing"> | ||
|
||
<!-- Three columns of text below the carousel --> | ||
<div class="row"> | ||
<div class="col-lg-4"> | ||
<img class="rounded-circle" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" | ||
alt="Generic placeholder image" width="140" height="140"> | ||
<h2>Heading</h2> | ||
<p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies | ||
vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus | ||
magna.</p> | ||
<p><a class="btn btn-secondary" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
<div class="col-lg-4"> | ||
<img class="rounded-circle" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" | ||
alt="Generic placeholder image" width="140" height="140"> | ||
<h2>Heading</h2> | ||
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis | ||
consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum | ||
nibh.</p> | ||
<p><a class="btn btn-secondary" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
<div class="col-lg-4"> | ||
<img class="rounded-circle" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" | ||
alt="Generic placeholder image" width="140" height="140"> | ||
<h2>Heading</h2> | ||
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta | ||
felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum | ||
massa justo sit amet risus.</p> | ||
<p><a class="btn btn-secondary" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
</div><!-- /.row --> | ||
</div> | ||
</main> | ||
<script src="./coa-wrapper.js"></script> | ||
</body> | ||
</html> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html><html lang="en"><head> | ||
<meta charset="utf-8"> | ||
<title>ChatOnAngular</title> | ||
<base href="/chat-on-angular/chat-on-angular/"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<style>@import"https://fonts.googleapis.com/css?family=Open+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";*{font-family:Open Sans;box-sizing:border-box}body{width:100%;position:absolute;bottom:0;margin:0}</style><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css"></noscript></head> | ||
<body> | ||
<app-root></app-root> | ||
<script src="runtime.069bbe64b403c88c.js" type="module"></script><script src="polyfills.5e55093c08b1226c.js" type="module"></script><script src="main.7c16f3b735043072.js" type="module"></script> | ||
|
||
</body></html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html><html lang="en"><head> | ||
<meta charset="utf-8"> | ||
<title>ChatOnAngular</title> | ||
<base href="/chat-on-angular/chat-on-angular/"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<style>@import"https://fonts.googleapis.com/css?family=Open+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";*{font-family:Open Sans;box-sizing:border-box}body{width:100%;position:absolute;bottom:0;margin:0}</style><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css"></noscript></head> | ||
<body> | ||
<app-root></app-root> | ||
<script src="runtime.069bbe64b403c88c.js" type="module"></script><script src="polyfills.5e55093c08b1226c.js" type="module"></script><script src="main.7c16f3b735043072.js" type="module"></script> | ||
|
||
</body></html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const urlCoA = './chat-on-angular' // this should be the url of the host on which angular-application is deployed | ||
const iframe = document.createElement('iframe'); | ||
window.addEventListener("message", function(event) { | ||
event.data.map(p => { | ||
iframe.style[p.prop] = p.value; | ||
}); | ||
}); | ||
iframe.onload = function () { | ||
this.contentWindow.postMessage({ innerWidth: window.innerWidth }, '*'); | ||
} | ||
iframe.setAttribute('src', urlCoA); | ||
iframe.style.position = 'fixed'; | ||
iframe.style.bottom = '0px'; | ||
iframe.style.border = '0'; | ||
if (window.innerWidth < 992) { | ||
iframe.style.right = '0px'; | ||
} else { | ||
iframe.style.right = '20px'; | ||
} | ||
document.body.appendChild(iframe); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,92 @@ | ||
<!DOCTYPE html><html lang="en"><head> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>ChatOnAngular</title> | ||
<base href="/chat-on-angular/chat-on-angular/"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<style>@import"https://fonts.googleapis.com/css?family=Open+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";*{font-family:Open Sans;box-sizing:border-box}body{width:100%;position:absolute;bottom:0;margin:0}</style><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.5526f669c9bf4a6e.css"></noscript></head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>Chat On Angular Example Page</title> | ||
<link href="https://getbootstrap.com/docs/4.0/examples/carousel/../../dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="https://getbootstrap.com/docs/4.0/examples/carousel/carousel.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<app-root></app-root> | ||
<script src="runtime.069bbe64b403c88c.js" type="module"></script><script src="polyfills.5e55093c08b1226c.js" type="module"></script><script src="main.7c16f3b735043072.js" type="module"></script> | ||
|
||
</body></html> | ||
<header> | ||
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> | ||
<a class="navbar-brand" href="/chat-on-angular">Chat On Angular Example Page</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" | ||
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="./chat-on-angular?go-to-agent-panel=1">Agent Panel</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
<main role="main"> | ||
|
||
<div id="myCarousel" class="carousel slide" data-ride="carousel"> | ||
|
||
<div class="carousel-inner"> | ||
<div class="carousel-item active"> | ||
<img class="first-slide" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide"> | ||
<div class="container"> | ||
<div class="carousel-caption text-left"> | ||
<h1>Usage</h1> | ||
<p>Place coa-wrapper.js <script> right before the closing </body> tag like in this page,</p> | ||
<p>and edit urlCoA value with the host url on which you deploy angular-application</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<!-- Marketing messaging and featurettes | ||
================================================== --> | ||
<!-- Wrap the rest of the page in another container to center all the content. --> | ||
|
||
<div class="container marketing"> | ||
|
||
<!-- Three columns of text below the carousel --> | ||
<div class="row"> | ||
<div class="col-lg-4"> | ||
<img class="rounded-circle" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" | ||
alt="Generic placeholder image" width="140" height="140"> | ||
<h2>Heading</h2> | ||
<p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies | ||
vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus | ||
magna.</p> | ||
<p><a class="btn btn-secondary" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
<div class="col-lg-4"> | ||
<img class="rounded-circle" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" | ||
alt="Generic placeholder image" width="140" height="140"> | ||
<h2>Heading</h2> | ||
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis | ||
consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum | ||
nibh.</p> | ||
<p><a class="btn btn-secondary" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
<div class="col-lg-4"> | ||
<img class="rounded-circle" | ||
src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" | ||
alt="Generic placeholder image" width="140" height="140"> | ||
<h2>Heading</h2> | ||
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta | ||
felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum | ||
massa justo sit amet risus.</p> | ||
<p><a class="btn btn-secondary" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
</div><!-- /.row --> | ||
</div> | ||
</main> | ||
<script src="./coa-wrapper.js"></script> | ||
</body> | ||
</html> |