Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
added the files needed for initial install/payment guts
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Mar 15, 2012
1 parent 5758589 commit df6ffa5
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
51 changes: 51 additions & 0 deletions media/css/mkt/overlay.less
@@ -0,0 +1,51 @@
@import 'lib';

.overlay {
background: fadeOut(#000,90%);
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: none;
z-index: 9000;
text-align: justify;
opacity: 0;
overflow: hidden;
color: #fff;
pointer-events: none;
-moz-transition: .5s opacity ease;
-webkit-transition: .5s opacity ease;
.close {
display: block;
background-color: #fff;
position: absolute;
margin: 0;
z-index: 20;
top: 5px;
right: 5px;
.box-shadow(0 0 5px #000);
}
&.show {
pointer-events: auto;
opacity: 1;
display: block;
}
section {
.border-box();
padding: 1em;
position: absolute;
background: #000;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
max-width: 500px;
max-height: 500px;
}
}
1 change: 1 addition & 0 deletions media/js/mkt/buttons.js
@@ -0,0 +1 @@
// This page intentionally left blank.
7 changes: 7 additions & 0 deletions media/js/mkt/install.js
@@ -0,0 +1,7 @@
// Hey there! I know how to install apps. Buttons are dumb now.

$('#page').delegate('.button.install', 'click', startInstall);

function startInstall(e) {
var $button = $(this);
}
Empty file added media/js/mkt/overlay.js
Empty file.
7 changes: 7 additions & 0 deletions mkt/templates/mkt/webapp_button.html
@@ -0,0 +1,7 @@
<a href="#"
{% for k, v in data_attrs.items() %}

This comment has been minimized.

Copy link
@cvan

cvan Mar 15, 2012

Contributor

I ❤️ this

{{ k }}={{ v }}

This comment has been minimized.

Copy link
@cvan

cvan Mar 15, 2012

Contributor

actually shouldn't this be data-{{ k }} since a k looks like manifest-url and so forth?

{% endfor %}
class="button install">
{{ label }}
</a>

0 comments on commit df6ffa5

Please sign in to comment.