Skip to content

Commit

Permalink
Auto-generated commit [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mucoban committed Jan 1, 2024
1 parent 5954e47 commit 18b5e98
Show file tree
Hide file tree
Showing 28 changed files with 222 additions and 18 deletions.
98 changes: 89 additions & 9 deletions 404.html
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 &lt;script&gt; right before the closing &lt;/body&gt; 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 &raquo;</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 &raquo;</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 &raquo;</a></p>
</div><!-- /.col-lg-4 -->
</div><!-- /.row -->
</div>
</main>
<script src="./coa-wrapper.js"></script>
</body>
</html>
File renamed without changes.
12 changes: 12 additions & 0 deletions chat-on-angular/404.html
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.
12 changes: 12 additions & 0 deletions chat-on-angular/index.html
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.
20 changes: 20 additions & 0 deletions coa-wrapper.js
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);
98 changes: 89 additions & 9 deletions index.html
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 &lt;script&gt; right before the closing &lt;/body&gt; 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 &raquo;</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 &raquo;</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 &raquo;</a></p>
</div><!-- /.col-lg-4 -->
</div><!-- /.row -->
</div>
</main>
<script src="./coa-wrapper.js"></script>
</body>
</html>

0 comments on commit 18b5e98

Please sign in to comment.