-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.php
177 lines (146 loc) · 9.48 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?php require_once 'require.php';?>
<!DOCTYPE html>
<html>
<head>
<?php require_once 'includeBeforeTitle.php';?>
<script src="scripts/settings.js"></script>
</head>
<body class="mybody">
<div class="con">
<?php require_once 'header.php';?>
<!-- 页面的主内容 -->
<div class="main_con">
<div class="main_con_inner">
<div class="box_con settings_left ">
<div class="settings_label">设置</div>
<!-- <img class="home_user_avatar" src="images/sample.png" alt=""> -->
<ul class="settings_ul">
<li class="settings_profile_li"><a href="settings.php?settings=profile">基本资料</a></li>
<li class="settings_avatar_li"><a href="settings.php?settings=avatar">修改头像</a></li>
<li class="settings_creategroup_li"><a href="settings.php?settings=creategroup">创建小组</a></li>
<li class="settings_group_li"><a href="settings.php?settings=group">小组设置</a></li>
</ul>
</div>
<div class="box_con settings_right settings_profile">
<div class="settings_profile_label">修改基本资料</div>
<form class="settings_form" id="settings_profile_form">
<p>
<lable for="settings_user">昵 称 :</lable>
<input type="text" id="settings_user" name="settings_user" class="round_textbox dia_textbox setting_textbox" value="" required>
</p>
<p>
<lable for="settings_birthday">生 日 :</lable>
<input type="text" id="settings_birthday" name="settings_birthday" class="round_textbox dia_textbox setting_textbox" readonly placeholder="点击选择生辰" required>
</p>
<p>
<lable for="settings_details">描 述 :</lable>
<input type="text" id="settings_details" name="settings_details" class="round_textbox dia_textbox setting_textbox" style="width:340px;" value="现在的年轻人,所谓的座右铭都懒得写" required>
</p>
<p>
<lable for="settings_gender">性 别 :</lable>
<select id="settings_gender" name="settings_gender" style="width:350px;" data-placeholder="请选择性别.." required>
<option value=""></option>
<!-- <option value="2">男</option> -->
</select>
</p>
<p>
<lable for="settings_uni">学 校 :</lable>
<select id="settings_uni" name="settings_uni" style="width:350px;" data-placeholder="请选择学校.." required>
<option value=""></option>
<!-- <option value="2">华男理工大学</option> -->
</select>
</p>
<p>
<lable for="settings_major">专 业 :</lable>
<select id="settings_major" name="settings_major" style="width:350px;" data-placeholder="请选择专业.." required>
<option value="1"></option>
<!-- <option value="2">软件工程</option> -->
</select>
</p>
<p>
<input type="submit" class="dia_submit settings_submit" value="更新资料">
</p>
</form>
</div>
<div class="box_con settings_right settings_me_avatar">
<div class="settings_profile_label">修改头像</div>
<div id='settings_me_file_box' class="settings_file_box">
<input type='button' class='settings_avatar_file_btn' value='选择文件' />
<input type="file" accept="image/*" name="settings_avatar_file" class="settings_avatar_file" id="settings_me_avatar_file" >
</div>
<img class="settings_avatar_img" src="" alt="">
<img id="settings_me_avatar_new" class="settings_avatar_new" alt="">
<div id="preview-pane">
<div class="preview-container">
<img src="" class="jcrop-preview" alt="Preview">
</div>
</div>
<a id='settings_avatar_submit' class="button button-rounded button-flat-action dia_submit"><i class="fa fa-upload icon-padding"></i>裁剪并上传</a>
</div>
<div class="box_con settings_right settings_creategroup">
<div class="settings_profile_label">创建小组</div>
<form class="settings_form" id="settings_creatgroup_form">
<p>
<lable for="settings_groupname">组 名 :</lable>
<input type="text" id="settings_groupname" name="settings_groupname" class="round_textbox dia_textbox setting_textbox" value="" required>
</p>
<p>
<lable for="settings_group_details">描 述 :</lable>
<input type="text" id="settings_group_details" name="settings_group_details" class="round_textbox dia_textbox setting_textbox" style="width:340px;" value="这个组长很懒,什么都不肯写.." required>
</p>
<p>
<input type="submit" class="dia_submit settings_submit" value="提交">
</p>
</form>
</div>
<div class="box_con settings_right settings_group">
<div class="settings_profile_label">小组设置</div>
<div id="settings_manage_groups"class="home_groups settings_groups displaynone">
<span class="home_groups_label settings_group_label">选择小组</span>
<span class="chevron"> › </span>
<!-- <a class="group_item">小组名</a> -->
</div>
<div id="settings_manage_actions" class="home_groups settings_groups displaynone">
<span class="home_groups_label settings_group_label">选择操作</span>
<span class="chevron"> › </span>
<a id='settings_group_basic_btn' class="group_item">修改基本资料</a>
<a id='settings_group_avatar_btn' class="group_item">修改小组头像</a>
</div>
<form class="settings_form displaynone" id="settings_group_basic_form">
<div id='settings_groupname_and_details'>
<p>
<lable for="settings_groupname">组 名 :</lable>
<input type="text" id="settings_basic_groupname" name="settings_groupname" class="round_textbox dia_textbox setting_textbox" value="" required>
</p>
<p>
<lable for="settings_group_details">描 述 :</lable>
<input type="text" id="settings_basic_group_details" name="settings_group_details" class="round_textbox dia_textbox setting_textbox" style="width:340px;" value="这个组长很懒,什么都不肯写.." required>
</p>
<input type="submit" id='settings_group_basic_submit' class="dia_submit settings_submit" value="提交">
</div>
</form>
<form class="settings_form displaynone" id="settings_group_avatar_form">
<div>
<div id='settings_group_file_box' class="settings_file_box">
<lable for="settings_avatar_file_btn">头 像 :</lable>
<input type='button' class='settings_avatar_file_btn' value='选择文件' />
<input type="file" accept="image/*" name="settings_avatar_file" class="settings_avatar_file" id="settings_group_avatar_file" >
</div>
<img class="settings_avatar_img" src="" alt="">
<img id="settings_group_avatar_new" class="settings_avatar_new" alt="">
<div id="preview-pane">
<div class="preview-container">
<img src="" class="jcrop-preview" alt="Preview">
</div>
</div>
<input type="submit" id='settings_group_avatar_submit' class="dia_submit settings_submit" value="裁剪并上传">
</div>
</form>
</div>
<!-- 页面右边浮动内容 -->
<!-- 页面右边浮动内容 -->
</div>
</div>
</div>
</body>
</html>