Skip to content

Commit

Permalink
Merge pull request #9 from otiai10/feature/img_file_upload
Browse files Browse the repository at this point in the history
選手を追加したり編集したり
  • Loading branch information
otiai10 committed Mar 2, 2013
2 parents dd90840 + 17637a9 commit 3fe586e
Show file tree
Hide file tree
Showing 33 changed files with 234 additions and 1,233 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -13,3 +13,6 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

# uploaded by user
app/assets/images/prof
Binary file added app/assets/images/logos/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/prof/_11
Binary file not shown.
Binary file added app/assets/images/prof/gangsters_11
Binary file not shown.
Binary file added app/assets/images/prof/gangsters_33
Binary file not shown.
Binary file added app/assets/images/prof/gangsters_4
Binary file not shown.
Binary file added app/assets/images/prof/gangsters_44
Binary file not shown.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions app/assets/javascripts/spec/admin.js
@@ -0,0 +1,9 @@
$(function(){///////////
$("a.delete-player").on('click',function(e){
if(confirm('この選手を削除しますか?')){
// follow href bevavior
}else{
e.preventDefault();
}
});
});/////////////////////
6 changes: 5 additions & 1 deletion app/assets/stylesheets/application.css
Expand Up @@ -13,8 +13,12 @@
*/

html, body {
width: 100%;
height: 100%;
overflow-x : hidden;
overflow-y : auto;
margin: 0;
padding: 0;
}

body {
Expand Down Expand Up @@ -45,7 +49,7 @@ div.login-info>p {
}

div.contents {
height: 100%;
min-height: 100%;
background-color: rgba(255,255,255,0.8);
padding: 7px;
width: 100%;
Expand Down

0 comments on commit 3fe586e

Please sign in to comment.