Skip to content

Commit

Permalink
Fixed changes requested by @patrick-east (squash before merge)
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic <[email protected]>
  • Loading branch information
GBrawl authored and patrick-east committed Mar 26, 2020
1 parent 9e46289 commit 5234aae
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 13 deletions.
102 changes: 90 additions & 12 deletions docs/website/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,12 @@ <h2>Declarative Policy</h2>
</pre>
</div>
<div class="text-center blue">
<button class="mt-4 btn btn-primary"><a
href="https://play.openpolicyagent.org/p/ikesWCFIH8">Open In Playground</a>
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/ikesWCFIH8">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
Expand Down Expand Up @@ -430,8 +434,12 @@ <h2>Declarative Policy</h2>
</pre>
</div>
<div class="text-center blue">
<button class="mt-4 btn btn-primary"><a
href="https://play.openpolicyagent.org/p/oL4Ofd1nQi">Open In Playground</a>
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/oL4Ofd1nQi">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
Expand Down Expand Up @@ -550,8 +558,12 @@ <h2>Declarative Policy</h2>
</pre>
</div>
<div class="text-center blue">
<button class="mt-4 btn btn-primary"><a
href="https://play.openpolicyagent.org/p/DqXNKeLm20">Open In Playground</a>
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/DqXNKeLm20">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
Expand Down Expand Up @@ -647,8 +659,12 @@ <h2>Declarative Policy</h2>
</pre>
</div>
<div class="text-center blue">
<button class="mt-4 btn btn-primary"><a
href="https://play.openpolicyagent.org/p/FiFAMwNoqm">Open In Playground</a>
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/FiFAMwNoqm">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
Expand Down Expand Up @@ -729,8 +745,12 @@ <h2>Declarative Policy</h2>
</pre>
</div>
<div class="text-center blue">
<button class="mt-4 btn btn-primary"><a
href="https://play.openpolicyagent.org/p/qUkvgJRpIU">Open In Playground</a>
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/qUkvgJRpIU">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
Expand Down Expand Up @@ -793,8 +813,12 @@ <h2>Declarative Policy</h2>
</pre>
</div>
<div class="text-center blue">
<button class="mt-4 btn btn-primary"><a
href="https://play.openpolicyagent.org/p/c6412EHjS7">Open In Playground</a>
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/c6412EHjS7">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
Expand Down Expand Up @@ -960,6 +984,15 @@ <h2>Declarative Policy</h2>
</code>
</pre>
</div>
<div class="text-center blue">
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/ikesWCFIH8">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
<div class="tab-pane fade" id="v-pills-k8s-2-mobile-content"
role="tabpanel"
Expand Down Expand Up @@ -1037,6 +1070,15 @@ <h2>Declarative Policy</h2>
</code>
</pre>
</div>
<div class="text-center blue">
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/oL4Ofd1nQi">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>


Expand Down Expand Up @@ -1158,6 +1200,15 @@ <h2>Declarative Policy</h2>
</code>
</pre>
</div>
<div class="text-center blue">
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/DqXNKeLm20">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
<div class="tab-pane fade" id="v-pills-envoy-2-mobile-content"
role="tabpanel"
Expand Down Expand Up @@ -1250,6 +1301,15 @@ <h2>Declarative Policy</h2>
</code>
</pre>
</div>
<div class="text-center blue">
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/FiFAMwNoqm">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -1332,6 +1392,15 @@ <h2>Declarative Policy</h2>
</code>
</pre>
</div>
<div class="text-center blue">
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/qUkvgJRpIU">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>
<div class="tab-pane fade" id="v-pills-app-2-mobile-content"
role="tabpanel"
Expand Down Expand Up @@ -1391,6 +1460,15 @@ <h2>Declarative Policy</h2>
</code>
</pre>
</div>
<div class="text-center blue">
<button
class="mt-4 btn btn-primary btn-playground"><a
target=”_blank”
href="https://play.openpolicyagent.org/p/c6412EHjS7">Open In Playground
<img src="/live-blocks/icons/playground-open.svg"
class="launch-playground-icon"></a>
</button>
</div>
</div>


Expand Down
19 changes: 18 additions & 1 deletion docs/website/static/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,23 @@ a {
box-shadow: 2px 2px 5px rgba(51, 51, 51, 0.23);
}


.btn-primary:hover {
background: linear-gradient(#46ccd9, #49a1e2);
}

.btn-playground {
padding: 5px 20px;
}

.btn-playground a {
font-size: 18px;
}

.launch-playground-icon {
height: 20px;
vertical-align: sub;
}

.styraText {
display: inline-flex;
}
Expand Down Expand Up @@ -1834,6 +1846,11 @@ h4 {
padding: 0;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 15px;
}

.tab-content {
background-color: #fff;
}
}

Expand Down

0 comments on commit 5234aae

Please sign in to comment.