Skip to content

Commit

Permalink
Merge pull request #11 from semmel/master
Browse files Browse the repository at this point in the history
Bug: Node-Webkit toolbar is visible in Popup on Windows
  • Loading branch information
pbojinov committed May 20, 2014
2 parents 577078f + 7335a6e commit 76d306c
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Then run the executable/app from /webkitbuilds/release/NW Desktop Notifications

### Text

![Text Notification](http://i.imgur.com/zibFWHf.png)
![Text Notification](doc/images/text_notification.png)

### Image

![Image Notification](http://i.imgur.com/d8lJOy7.png)
![Image Notification](doc/images/image_notification.png)
Binary file added doc/images/image_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/text_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/HTML5_Color_Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/HTML5_Logo_64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/HTML5_sticker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/notifications/HTML5_Color_Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/notifications/HTML5_Logo_64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/notifications/HTML5_sticker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/app/notifications/desktop-notify.png
Binary file not shown.
4 changes: 2 additions & 2 deletions src/app/notifications/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
<div id="notifications">
<section>
<div class="icon">
<img src="nike-logo.jpg" alt="Notification Icon"/>
<img src="HTML5_Logo_64.png" alt="Notification Icon"/>
</div>
<div class="title">What is Lorem Ipsum?</div>
<div class="description">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<div class="gallery">
<img src="nike.jpg" alt="nikes"/>
<img src="HTML5_sticker.png" alt="nikes"/>
<div class="highlight">
<div class="title">2014 Nike Free 3.0 V4</div>
</div>
Expand Down
Binary file removed src/app/notifications/nike-logo.jpg
Binary file not shown.
Binary file removed src/app/notifications/nike.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/app/notifications/text.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div id="notifications">
<section>
<div class="icon">
<img src="nike-logo.jpg" alt="Notification Icon"/>
<img src="HTML5_Logo_64.png" alt="Notification Icon"/>
</div>
<div class="title">What is Lorem Ipsum?</div>
<div class="description">Lorem Ipsum is simply dummy text.</div>
Expand Down
Binary file removed src/desktop-notify.jpg
Binary file not shown.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h1>Notifications Demo</h1>

<p>
<label for="iconUrl">Icon URL (optional): </label> <br>
<input id="iconUrl" name='icon' type='text' value='desktop-notify.jpg' />
<input id="iconUrl" name='icon' type='text' value='HTML5_Color_Black.png' />
</p>

<p>
Expand Down Expand Up @@ -156,7 +156,7 @@ <h1>Notifications Demo</h1>
$demoForm.find('input[name=notificationType]').change(function() {
if (this.value == 'image') {
$('#submissionButton').prepend('<p id="imageUrl"><label>Image URL</label><br>' +
'<input name="imageUrl" type="text" value="nike.jpg"/></p>');
'<input name="imageUrl" type="text" value="HTML5_sticker.png"/></p>');

$('#submissionButton').prepend('<p id="imageTitle"><label>Image Title</label><br>' +
'<input name="imageTitle" type="text" value="2014 Nike Free 3.0 V4 Shoes"/></p>');
Expand Down
Binary file removed src/nike.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/nw-desktop-notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<!--else if(n.length > LIMIT_FOR_TRUNKATING_MESSAGES){-->
<!--var toinsert = "<section>"+-->
<!--"<div class='icon'>" +-->
<!--"<img src='desktop-notify.png' />" +-->
<!--"<img src='HTML5_Color_Black.png' />" +-->
<!--"</div>" +-->
<!--"<div class='title'>Application Name Here</div>" +-->
<!--"<div class='description'>"+n.length+" new cards.</div>" +-->
Expand Down
2 changes: 1 addition & 1 deletion src/nw-desktop-notifications.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76d306c

Please sign in to comment.