Show
Ignore:
Timestamp:
07/31/08 15:00:39 (4 months ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1217509239 +0200
git-parent:

[5e49daa22ec8d86487ddac25102c415a950874e8]

git-author:
Sebastian Gift <Madison@gt-knm.de> 1217509239 +0200
Message:

[feature] Schiffe koennen aus dem Flottenmenue heraus mit Crew von einem Asteroid versorgt werden.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • templates/fleetmgnt.html

    r5e49daa r8866c32  
    211211                                                document.getElementById("buildid").style.display = 'none'; 
    212212                                        } 
     213 
     214                                        if(action == "getCrew") 
     215                                        { 
     216                                                document.getElementById("crewinpercent").style.display = 'inline'; 
     217                                                document.getElementById("percent").style.display = 'inline'; 
     218                                        } 
     219                                        else 
     220                                        { 
     221                                                document.getElementById("crewinpercent").style.display = 'none'; 
     222                                                document.getElementById("percent").style.display = 'none'; 
     223                                        } 
    213224                                } 
    214225                        --> 
     
    239250                                                <option value="build">Schiffe bauen</option> 
    240251                                        {/endif} 
     252                                        {if astiinsector} 
     253                                                <option value="getCrew">Schiffe bemannen</option> 
     254                                        {/endif} 
    241255                                        <option value="rename">Flotte umbenennen</option> 
    242256                                        <option value="kill">aufl&ouml;sen</option> 
     
    265279                                        <option value="1">rot</option> 
    266280                                </select> 
     281                                {if astiinsector} 
     282                                        <input type="text" id="crewinpercent" name="crewinpercent" style="display:none" size="3" maxlength="3" /><span id="percent" name="percent" style="display:none">%</span> 
     283                                {/endif} 
    267284                                {if buildableships.list} 
    268                                 <input type="text" id="buildcount" name="buildcount" style="display:none" size="3" maxlength="3" /> 
    269                                 <select id="buildid" name="buildid" size="1" style="display:none"> 
    270                                                 <!-- BEGIN buildableships.listitem --> 
    271                                                         <option value="{buildableships.id}">{buildableships.name}</option> 
    272                                                 <!-- END buildableships.listitem --> 
    273                                 </select> 
     285                                       <input type="text" id="buildcount" name="buildcount" style="display:none" size="3" maxlength="3" /> 
     286                                       <select id="buildid" name="buildid" size="1" style="display:none"> 
     287                                                       <!-- BEGIN buildableships.listitem --> 
     288                                                               <option value="{buildableships.id}">{buildableships.name}</option> 
     289                                                       <!-- END buildableships.listitem --> 
     290                                       </select> 
    274291                                {/endif} 
    275292                                <input type="submit" value="ok" />