]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/merge.mako
Add actual merge functionality.
[xonotic/xonstat.git] / xonstat / templates / merge.mako
1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3
4 <%block name="navigation">
5 ${nav.nav('players')}
6 </%block>
7
8 <h1>Player Merge</h1>
9
10 <h2>Merge two players below.</h2>
11
12 <div class="row">
13   <div class="span6">
14     <form style="margin-top:20px;" class="form-horizontal">
15       <fieldset>
16
17         <div class="control-group">
18           <label class="control-label" for="w_pid">Winning Player</label>
19           <div class="controls">
20             <input id="w_pid" name="w_pid" placeholder="Player ID #" class="input-small" type="text">
21             <p class="help-block">This player record will live on after the merge is complete.</p>
22           </div>
23         </div>
24
25         <div class="control-group">
26           <label class="control-label" for="l_pid">Losing Player</label>
27           <div class="controls">
28             <input id="l_pid" name="l_pid" placeholder="Player ID #" class="input-small" type="text">
29             <p class="help-block">This player record will be deactivated when the merge is complete.</p>
30           </div>
31         </div>
32
33         <!-- Form submitted? -->
34         <input type="hidden" name="fs" />
35
36         <input type="hidden" name="csrf_token" value="${request.session.get_csrf_token()}"/>
37
38         <!-- Button -->
39         <div class="control-group">
40           <label class="control-label"></label>
41           <div class="controls">
42             <button id="submit" name="submit" type="submit" class="btn btn-primary">Submit</button>
43           </div>
44         </div>
45
46       </fieldset>
47     </form>
48
49   </div>
50 </div>