Browse Source

Signed-off-by: zry <admin@z-touhou.org>

zry 8 years ago
parent
commit
276bc06b2e
2 changed files with 6 additions and 6 deletions
  1. 5 5
      UserManage/xlspasswd.py
  2. 1 1
      templates/sidebar.html

+ 5 - 5
UserManage/xlspasswd.py

@@ -65,11 +65,11 @@ def GeneratePasswdToXls(FILE):
           pass
     
     rsh.write(i+1,0,sid)
-    rsh.write(i+1,0,name)
-    rsh.write(i+1,0,sex)
-    rsh.write(i+1,0,password)
-    rsh.write(i+1,0,cid)
-    rsh.write(i+1,0,birthday)
+    rsh.write(i+1,1,name)
+    rsh.write(i+1,2,sex)
+    rsh.write(i+1,3,password)
+    rsh.write(i+1,4,cid)
+    rsh.write(i+1,5,birthday)
   rwb.save(wrxlspath)
   return wrxlsname
     

+ 1 - 1
templates/sidebar.html

@@ -64,7 +64,7 @@
             </tr>
             <tr>
                 <td>
-                    <span class=" glyphicon glyphicon-repeat btn-xs"></span>
+                    <span class=" glyphicon glyphicon-random btn-xs"></span>
                     <a href="{% url 'xlspasswdurl' %}">随机密码工具</a>
                 </td>
             </tr>