Skip to content

Commit

Permalink
Updated buttons in position index
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Regan committed Dec 14, 2014
1 parent 939ec79 commit f9421b1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
13 changes: 4 additions & 9 deletions app/views/position_index.blade.php
Expand Up @@ -9,23 +9,18 @@
@stop

@section('body')

{{ Form::open(array('url'=>'/position/create', 'method' => 'GET')) }}
{{ Form::submit('Add New Position', array('class' => 'btn btn-primary')) }}
{{ Form::close() }}
<table class="table">
<tr>
<td>
{{ Form::open(array('url'=>'/position/create', 'method' => 'GET')) }}
{{ Form::submit('Add New Position') }}
{{ Form::close() }}
</td>
</tr>
@foreach( $positions as $position )
<tr>
<td>
<a href="/position/{{$position->id}}" title="{{$position->name}}">{{$position->name}}</a>
</td>
<td>
{{ Form::open(array('url'=>'/position/'.$position->id, 'method' => 'GET')) }}
{{ Form::submit('Show') }}
{{ Form::submit('Show', array('class' => 'btn btn-default')) }}
{{ Form::close() }}
</td>
</tr>
Expand Down
15 changes: 12 additions & 3 deletions readme.md
Expand Up @@ -122,9 +122,17 @@
X Position not found
X Unique name
X Unique FEN
* Game delete (game index; admin only?)
* Game not found
X Game delete (game index; admin only?)
X Game not found
- Update to opponent to winner
* Game Show
* Remove status
* Disable moving pieces once legal move is made
* Enable moving pieces when reset position button is pressed
* Buttons
* Fix button style
* Clear/Reset: class="btn btn-default" (white)
* Action: class="btn btn-primary" (blue)
* Login failure -> add flash messaging
* User Edit
X User not found
Expand Down Expand Up @@ -288,6 +296,7 @@
* 14\_12\_14\_05\_01\_001: Fixed parsing bugs preventing board drawing
* 14\_12\_14\_05\_02\_000: Fixed bug preventing board from being found in DOM which prevented game state lifecycle to complete
* 14\_12\_14\_05\_02\_000: Added game delete
* 14\_12\_14\_05\_03\_000: Updated buttons in position index


cd /Applications/MAMP/htdocs/CSCI15P4; git add --all; git commit -m "Added game delete"; git push origin master
cd /Applications/MAMP/htdocs/CSCI15P4; git add --all; git commit -m "Updated buttons in position index"; git push origin master

0 comments on commit f9421b1

Please sign in to comment.