diff --git a/composer.json b/composer.json index fed982dc..40000d18 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name": "laravel/laravel", - "description": "The Laravel Framework.", - "keywords": ["framework", "laravel"], - "license": "MIT", + "name": "poniverse/pony.fm", + "description": "The pony music hosting site.", + "keywords": ["music", "pony", "php", "laravel"], + "license": "Proprietary", "type": "project", "require": { "php": ">=5.5.9", diff --git a/package.json b/package.json index 275d9d85..ac9578cf 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "packages": {}, "dependencies": {}, "devDependencies": { - "gulp": "^3.8.11", + "gulp": "^3.9.0", "gulp-angular-templatecache": "^1.6.0", "gulp-autoprefixer": "^2.2.0", "gulp-cached": "^1.0.4", diff --git a/public/templates/partials/credits-dialog.html b/public/templates/partials/credits-dialog.html new file mode 100644 index 00000000..3c6ad2e4 --- /dev/null +++ b/public/templates/partials/credits-dialog.html @@ -0,0 +1,46 @@ + + + diff --git a/resources/assets/scripts/app/controllers/credits.coffee b/resources/assets/scripts/app/controllers/credits.coffee new file mode 100644 index 00000000..11303d6c --- /dev/null +++ b/resources/assets/scripts/app/controllers/credits.coffee @@ -0,0 +1,5 @@ +angular.module('ponyfm').controller "credits", [ + '$scope', 'dialog', + ($scope, dialog) -> + $scope.close = () -> dialog.close(null) +] diff --git a/resources/assets/scripts/app/controllers/sidebar.coffee b/resources/assets/scripts/app/controllers/sidebar.coffee index 437e0f68..5cc2393d 100644 --- a/resources/assets/scripts/app/controllers/sidebar.coffee +++ b/resources/assets/scripts/app/controllers/sidebar.coffee @@ -38,4 +38,13 @@ angular.module('ponyfm').controller "sidebar", [ ]).open().then (res) -> return if res == 'cancel' playlists.deletePlaylist playlist -] \ No newline at end of file + + + $scope.showCredits = () -> + dialog = $dialog.dialog + templateUrl: '/templates/partials/credits-dialog.html' + controller: 'credits' + + dialog.open() + +] diff --git a/resources/views/shared/_app_layout.blade.php b/resources/views/shared/_app_layout.blade.php index 6a620883..1f0287c5 100644 --- a/resources/views/shared/_app_layout.blade.php +++ b/resources/views/shared/_app_layout.blade.php @@ -82,7 +82,7 @@
  • Register
  • @endif
  • - + A community project by Poniverse logo