- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
New stuff #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            mrshu
  wants to merge
  11
  commits into
  master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
new-stuff
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    New stuff #2
Changes from all commits
      Commits
    
    
            Show all changes
          
          
            11 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      01ed1b4
              
                A few typos
              
              
                mrshu 9a726d3
              
                Merge branch 'basics'
              
              
                mrshu 4ff8963
              
                Added introduction to groups.
              
              
                mrshu 35419b3
              
                Images reorganized
              
              
                mrshu 88efa3a
              
                Finished introduction
              
              
                mrshu ccd600a
              
                A few updates
              
              
                mrshu 71e2ab7
              
                More group updates
              
              
                mrshu 341a491
              
                Even more updates
              
              
                mrshu d814530
              
                Some more updates
              
              
                mrshu b012a22
              
                Started tables
              
              
                mrshu 9e9308c
              
                Typo fix
              
              
                mrshu File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or 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 hidden or 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,157 @@ | ||
| Groups | ||
| ====== | ||
|  | ||
| As described earilier, groups are a module of the system used for | ||
| soccer-related leagues. They make it easy to add arrange teams into groups | ||
| and schedule matches between teams. | ||
|  | ||
| Introduction | ||
| ------------ | ||
|  | ||
| As you have already seen in the previous chapter the menu item that will | ||
| take you to the group management module of the system is located in | ||
| top-central part of any tournamenter page. When you click in on it for the | ||
| first time you will most likely see a screen that is very similar to this | ||
| one: | ||
|  | ||
| .. figure:: img/group-empty.png | ||
| :alt: The group listing without any groups in it. | ||
|  | ||
| That means that there are no groups at the moment. When you click on the | ||
| big **Create New Button** a new group will be added with default values | ||
| pre-filled and your screen will look like this: | ||
|  | ||
| .. figure:: img/group-new.png | ||
| :alt: The group listing with one new empty group. | ||
|  | ||
| There are a few things you can do with a newly created group right away. | ||
| First of all the name of the group is by default '[New Group]' (you can see | ||
| it on the left side). This just a placeholder and is meant to be changed. | ||
| You can easily do so by clicking on the name and changing the text in the | ||
| input box. Once you are satisfied with the name of this group you can | ||
| confirm and save it by clicking on the white tick right next to the input | ||
| box (or pressing Enter). | ||
|  | ||
| If you clicked on the group name by mistake no worries! By either clicking | ||
| on the 'x' icon next to the white tick or anywhere else on the page | ||
| the group name will be reset to its previous value. | ||
|  | ||
| .. figure:: img/group-name.png | ||
| :alt: The input box with other buttons which you will see after | ||
| clicking on the group name. | ||
|  | ||
| There are two more buttons on the right. The first one has 'Refresh' | ||
| written on it and it is used for refreshing the current table with new data | ||
| from the database. Its purpose will be described in more detail in the | ||
| following sections. At this time we shall note that it doesn't hurt to just | ||
| click on it after changing/inserting anything within the group. | ||
|  | ||
| The functionality of the 'Delete Group' button is pretty straightforward: | ||
| it deletes the group. When you click on it you will see the following | ||
| dialog in which you assure the system that deleting the group is really | ||
| what you want. | ||
|  | ||
| .. figure:: img/group-delete-confirm.png | ||
| :align: center | ||
| :alt: The confirmation dialog that shows up after you click on the | ||
| 'Delete Group' button. | ||
|  | ||
| As you have certainly noticed there is a dark blue button that says 'Show' | ||
| just below the group name. When you click on it you will see something very | ||
| similar to the picture below: | ||
|  | ||
| .. figure:: img/group-opened.png | ||
| :align: center | ||
| :alt: The opened management screen of an empty group. | ||
|  | ||
| We call this the group management screen. In here you can add teams to a | ||
| group, schedule matches, assign them to fields and more. We will discuss | ||
| that in the next section. | ||
|  | ||
| Managing groups | ||
| --------------- | ||
|  | ||
| If we look at soccer competitions in general there are basically two things | ||
| that are interesting: who and when is playing against whom and how is the | ||
| result of that match going to reflect in some kind of general scoring. | ||
|  | ||
| Sheduling matches | ||
| ~~~~~~~~~~~~~~~~~ | ||
|  | ||
| In `tournamenter` you start by sheduling matches. Doing that is very easy. | ||
| You can add one by clicking on 'Create New Match'. What you should see is | ||
| something like this: | ||
|  | ||
| .. figure:: img/group-new-match.png | ||
| :align: center | ||
| :alt: A new empty match in the listing. | ||
|  | ||
|  | ||
| As you can see, there is *Empty* sign in italics where you would expect a | ||
| team name. This is intentional as you should change this placeholder to | ||
| some team. You can do so easily by clicking at *Empty* and choosing a team | ||
| from a dropdown that shows up. | ||
|  | ||
| .. figure:: img/group-change-empty.png | ||
| :align: center | ||
| :alt: A dropdown that shows up after clicking on *Empty*. | ||
|  | ||
| .. figure:: img/group-change-dropdown.png | ||
| :align: center | ||
| :alt: An open dropdown that shows up when you click on *Empty*. | ||
|  | ||
| After choosing a team you will see that its name will appear in the group | ||
| table on the right. The `tournamenter`'s way of arranging teams into groups | ||
| is by scheduling matches between these teams. For instance: | ||
|  | ||
| .. figure:: img/group-fully-filled.png | ||
| :align: center | ||
| :alt: A group with some scheduled matches. | ||
|  | ||
|  | ||
| Setting attributes of matches | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|  | ||
| Although choosing the teams that should play a match against each other is | ||
| indeed crucial, it is only one part of the process of scheduling a match. | ||
| As you might have noted in the matches listing there are a few more | ||
| buttons: DAY, HOUR and FIELD. | ||
|  | ||
| After clicking on any of these buttons a popup will show up in which you | ||
| can edit the value that is currently set. Note that you confirm the value | ||
| you have changed by pressing Enter. Similarly to the other popups, you can | ||
| just let it reset to its current value by clicking somewhere else on the | ||
| page. | ||
|  | ||
| As you might expect the trash icon will try to remove the match altogether | ||
| after asking for your confirmation. | ||
|  | ||
| Setting the state of a match | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|  | ||
| The last button we haven't mentioned so far is the blue 'clock' button on | ||
| the left. This button is used to change the state of the match. Match can | ||
| have three states: | ||
|  | ||
| - **Scheduled**: the match has been created and it is ready to be played. | ||
| - **Playing**: the match is being played at the moment | ||
| - **Ended**: the match has already been played and the results should be | ||
| reflected in the scoring table. | ||
|  | ||
|  | ||
| You can easily change the state of a match by clicking on the blue 'clock' | ||
| icon and choosing from a popup that opens up. Once you change the state the | ||
| 'clock' icon will change to reflect the current state. | ||
|  | ||
| Scoring | ||
| ~~~~~~~ | ||
|  | ||
| Changing the score of a match is as easy as clicking on the current score | ||
| (a number in bold text to the team name) and changing the value to the | ||
| desired one. | ||
|  | ||
| It should be noted that the data will only get reflected in the table (and | ||
| thus the table will get updated) when the match is in the **Ended** state. | ||
|  | ||
| Also, it is necessary to note at this point that it is always a good idea | ||
| to click on the 'Refresh' button before changing any match data. | ||
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
  
    
      This file contains hidden or 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 | 
|---|---|---|
|  | @@ -13,6 +13,7 @@ Contents: | |
|  | ||
| introduction | ||
| basics | ||
| groups | ||
|  | ||
|  | ||
| .. Indices and tables | ||
|  | ||
  
    
      This file contains hidden or 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 hidden or 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,8 @@ | ||
| Tables | ||
| ====== | ||
|  | ||
| The tables module can be used for any kind of data that can be organized | ||
| into tables where each column of the table represents one entry and each | ||
| column of the table represents data of the same type. | ||
|  | ||
| In general tables are just very smart spreadsheets. | 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!