Skip to content

Commit

Permalink
Merge pull request #59 from MarketingCloudSdk/gh-pages-250
Browse files Browse the repository at this point in the history
@W-16273112 -- Add redirect modal.
+ 1.0.5 SFMC SDK aar
  • Loading branch information
amitsingh2sf authored and GitHub Enterprise committed Jul 23, 2024
2 parents 9db72ae + a2d73da commit 367d86e
Show file tree
Hide file tree
Showing 29 changed files with 150 additions and 59 deletions.
40 changes: 38 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<title>{{ site.title }}{% if page.title %} : {{ page.title }}{% endif %}</title>
<meta name="description" content="{{ site.subtitle }}">

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css"
rel="stylesheet">
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/gist.css">
<script src="{{ site.baseurl }}/scripts/gists.js"></script>
Expand All @@ -18,6 +19,40 @@

<body>

<!-- Modal Structure -->
<div id="noticeModal" class="modal-notice">
<div class="modal-content">
<span class="close">&times;</span>
<h2>NOTICE!</h2>
<p>The SDK's documentation has been moved to the <a href="https://sforce.co/4cLZPS2">Salesforce Doc Site</a>.</p>
</div>
</div>

<script>
// Get the modal
var modal = document.getElementById("noticeModal");

// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];

// Display the modal when the page loads
window.onload = function () {
modal.style.display = "block";
}

// When the user clicks on <span> (x), close the modal
span.onclick = function () {
modal.style.display = "none";
}

// When the user clicks anywhere outside of the modal, close it
window.onclick = function (event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>

<div class="container">
<div class=row-fluid>
<div id=header class=span12>
Expand All @@ -26,7 +61,8 @@
</div>

<div class=row-fluid>
{% assign post_count = site.posts|size %} {% if site.navigation != 0 and site.navigation == 1 or post_count > 0 %}
{% assign post_count = site.posts|size %} {% if site.navigation != 0 and site.navigation == 1 or post_count
> 0 %}
<div id=navigation class=span2>
{% include navigation.html %}
</div>
Expand Down
95 changes: 75 additions & 20 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ body {
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

pre, code {
pre,
code {
border: none;
border-radius: 0;
background-color: #f9f9f9;
Expand All @@ -30,11 +31,11 @@ code {
text-align: center;
}

#content > .page-header:first-child {
#content>.page-header:first-child {
margin-top: 0;
}

#content > .page-header:first-child h2 {
#content>.page-header:first-child h2 {
margin-top: 0;
}

Expand All @@ -55,39 +56,93 @@ code {

#navigation li.active a {
cursor: default;
}
}

body.rtl {
direction: rtl;
direction: rtl;
}

body.rtl #header .brand {
float: right;
float: right;
margin-left: 5px;
}

body.rtl .row-fluid [class*="span"] {
float: right !important;
margin-left: 0;
margin-right: 2.564102564102564%;
float: right !important;
margin-left: 0;
margin-right: 2.564102564102564%;
}

body.rtl .row-fluid [class*="span"]:first-child {
margin-right: 0;
margin-right: 0;
}

body.rtl ul, body.rtl ol {
body.rtl ul,
body.rtl ol {
margin: 0 25px 10px 0;
}

blockquote {
border-left: 4px solid #FF0000;
padding: 0 15px;
color: #777777;
font-size: inherit; }
blockquote > :first-child {
margin-top: 20; }
blockquote > :last-child {
margin-bottom: 20; }
border-left: 4px solid #FF0000;
padding: 0 15px;
color: #777777;
font-size: inherit;
}

blockquote> :first-child {
margin-top: 20;
}

blockquote> :last-child {
margin-bottom: 20;
}

blockquote p {
font-size: inherit;
font-size: inherit;
}

/* Modal styles */
.modal-notice {
margin-left: 0;
display: none;
position: fixed;
z-index: 1;
padding-top: 0px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 30px;
border: 2px solid #888;
width: fit-content;
max-width: 600px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
position: relative;
top: 50%;
transform: translateY(-50%);
border-radius: 10px;
/* Added border radius for rounded corners */
}

/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
19 changes: 0 additions & 19 deletions repository/com/salesforce/marketingcloud/sfmcsdk/1.0.4/index.html

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

19 changes: 19 additions & 0 deletions repository/com/salesforce/marketingcloud/sfmcsdk/1.0.5/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<body>
<h1>Directory listing</h1>
<hr/>
<pre>
<a href="../">../</a>
<a href="sfmcsdk-1.0.5.aar">sfmcsdk-1.0.5.aar</a>
<a href="sfmcsdk-1.0.5.aar.md5">sfmcsdk-1.0.5.aar.md5</a>
<a href="sfmcsdk-1.0.5.aar.sha1">sfmcsdk-1.0.5.aar.sha1</a>
<a href="sfmcsdk-1.0.5.aar.sha256">sfmcsdk-1.0.5.aar.sha256</a>
<a href="sfmcsdk-1.0.5.aar.sha512">sfmcsdk-1.0.5.aar.sha512</a>
<a href="sfmcsdk-1.0.5.pom">sfmcsdk-1.0.5.pom</a>
<a href="sfmcsdk-1.0.5.pom.md5">sfmcsdk-1.0.5.pom.md5</a>
<a href="sfmcsdk-1.0.5.pom.sha1">sfmcsdk-1.0.5.pom.sha1</a>
<a href="sfmcsdk-1.0.5.pom.sha256">sfmcsdk-1.0.5.pom.sha256</a>
<a href="sfmcsdk-1.0.5.pom.sha512">sfmcsdk-1.0.5.pom.sha512</a>
</pre>
</body>
</html>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cb1c397c6d75e93ed93e4c14b5ebd72f
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bb85b11a0c4aec98f8e6a5d3c18db49820a86f92
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
affd5453d9537da8be446af8fa771aa777f4806924c9111e73ee9a2388def65b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
72b8b0ba6635f279bc3a2744dbe068207b6e0f653ccef43844dc2b29717086113339cd4b9004bdf5df2062e2d23d525da1a4ad5f65e54b118bf3944d4e3e2de8
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.salesforce.marketingcloud</groupId>
<artifactId>sfmcsdk</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9a570bc0a6919bf1fea97dd13e99339b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
83df63370ea818788efa2d2ee38e845ab2e011c0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b4fcfc2c0ededca45f8ef61035d0b6acc66bbaaa114029687a801e52fc66e416
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0f110e82cf962c9f21b89b7bfe51127e0156f59618e62e9ff75cfec3a976d743578479a22447c03f5056814de2ff63f8c6662311d221d45a8756aa04363e5bae
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>Directory listing</h1>
<a href="1.0.1/">1.0.1/</a>
<a href="1.0.2/">1.0.2/</a>
<a href="1.0.3/">1.0.3/</a>
<a href="1.0.4/">1.0.4/</a>
<a href="1.0.5/">1.0.5/</a>
<a href="maven-metadata.xml">maven-metadata.xml</a>
<a href="maven-metadata.xml.md5">maven-metadata.xml.md5</a>
<a href="maven-metadata.xml.sha1">maven-metadata.xml.sha1</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<groupId>com.salesforce.marketingcloud</groupId>
<artifactId>sfmcsdk</artifactId>
<versioning>
<latest>1.0.4</latest>
<release>1.0.4</release>
<latest>1.0.5</latest>
<release>1.0.5</release>
<versions>
<version>1.0.0</version>
<version>1.0.1</version>
<version>1.0.2</version>
<version>1.0.3</version>
<version>1.0.4</version>
<version>1.0.5</version>
</versions>
<lastUpdated>20240628124911</lastUpdated>
<lastUpdated>20240723145112</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
85e18f0463e79b76fc412fc10f956a8e
aa0ed51df5b467d2d59d1d88e1299725
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b6b3eef76b03b537e760a0589133f70e5585d822
a2bf5ad1ce15455ae86483057bbcc299e7e30f65
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f5f30c656b118bb967e438a497da24cce962383c63cd4938af6fd76fc2c0ac89
f25a625b164c20cf234b2148e52c3d78430a9d96455075c40e7d3b6b0656d85f
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b169ae06d137e303b890a1998b942b321140f5f82d9a263c366730d502eb80c548d1124610cae33e4e3aa6f093f873e745c875c95069e65c8b1798ab5b63730a
a2ace156d2a0a02073aa5ff069f216cab1abec75c82581a31d3a03556791d99e822248bcd0eb5f5a529d3c3f2187e8481d65d378ae3378fcaa2e6796c35dc375

0 comments on commit 367d86e

Please sign in to comment.