forked from centresource/angularjs_rails_demo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fully integrated into the asset pipeline
- Loading branch information
Daniel Nelson
committed
Sep 12, 2011
1 parent
dba7f0f
commit 913c412
Showing
20 changed files
with
83 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ log/*.log | |
log/ | ||
tmp/ | ||
.DS_Store | ||
public/system | ||
public/images/photos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/angular-a9d09911e8bdf68a9a5fe18c502ff95e.min.js.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/application-3597a8525f7eb488b1becb03bac7dccf.css.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
...ation-c7c4ad1aeb2061970f92d1c167a34ccb.js → ...ation-7d6370eabffcb8599e3573e9cd6dc0c2.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file renamed
BIN
+44.4 KB
...on-c7c4ad1aeb2061970f92d1c167a34ccb.js.gz → ...on-7d6370eabffcb8599e3573e9cd6dc0c2.js.gz
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
public/assets/galleries-2f858fc225585649a7e343f555be7189.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h1>Galleries of {{photographer.name}}</h1> | ||
<ul id="galleries"> | ||
<li class="gallery" ng:repeat="gallery in galleries"> | ||
<a href="#/photographers/{{this.photographer.id}}/galleries/{{gallery.id}}/photos">{{gallery.title}}</a> | ||
</li> | ||
</ul> |
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/jquery-4c708b53ec6222aec832392c2e2cfd4d.min.js.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/jquery-5c5f90ee142dc52c37000f9a4a6bbb7e.cycle.js.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/jquery-ui-dec28445aa24cc0f56d487fa46521692.min.js.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
--- | ||
rails.png: rails-bd9ad5a560b5a3a7be0808c5cd76a798.png | ||
version.txt: version-bb56fde4d7fb80915b376614cbb6b1c3.txt | ||
galleries.html: galleries-2f858fc225585649a7e343f555be7189.html | ||
photographers.html: photographers-b7518de1283a043101402347306500d0.html | ||
photos.html: photos-ae54e62e85cc883d1f4684c04e5d6572.html | ||
angular.min.js: angular-a9d09911e8bdf68a9a5fe18c502ff95e.min.js | ||
jquery.cycle.js: jquery-5c5f90ee142dc52c37000f9a4a6bbb7e.cycle.js | ||
jquery-ui.min.js: jquery-ui-dec28445aa24cc0f56d487fa46521692.min.js | ||
jquery.min.js: jquery-4c708b53ec6222aec832392c2e2cfd4d.min.js | ||
application.js: application-c7c4ad1aeb2061970f92d1c167a34ccb.js | ||
application.js: application-7d6370eabffcb8599e3573e9cd6dc0c2.js | ||
application.css: application-3597a8525f7eb488b1becb03bac7dccf.css |
6 changes: 6 additions & 0 deletions
6
public/assets/photographers-b7518de1283a043101402347306500d0.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h1>Photographers</h1> | ||
<ul id="photographers"> | ||
<li class="photographer" ng:repeat="photographer in photographers"> | ||
<a href="#/photographers/{{photographer.id}}/galleries">{{photographer.name}}</a> | ||
</li> | ||
</ul> |
27 changes: 27 additions & 0 deletions
27
public/assets/photos-ae54e62e85cc883d1f4684c04e5d6572.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<h1>The {{gallery.title}} Gallery of {{photographer.name}}</h1> | ||
|
||
<div id="selected_frame"> | ||
<div id="selected_photos"> | ||
<div class="selected_photo" id="selected_photo_{{selected_photo.id}}" ng:repeat="selected_photo in selected_photos"> | ||
<img ng:src="{{selected_photo.image_gallery_url}}" alt="{{selected_photo.title}}" /> | ||
<span class="delete" ng:click="deleteSelectedPhoto(selected_photo)">✕</span> | ||
<form ng:submit="saveSelectedPhoto(selected_photo)"> | ||
<input name="selected_photo.title" value="{{selected_photo.title}}" /> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="outer_picture_frame"> | ||
<div id="picture_frame"> | ||
<div id="prev">‹</div> | ||
<div id="photos"> | ||
<div class="photo" id="photo_{{photo.id}}" ng:click="clickPhoto(photo)" ng:repeat="photo in photos"> | ||
<img ng:src="{{photo.image_large_url}}" alt="{{photo.title}}" /> | ||
<span class="title">{{photo.title}}</span> | ||
</div> | ||
</div> | ||
<div id="next">›</div> | ||
<span class="caption">Click a photo to add it to your collection</span> | ||
</div> | ||
</div> |