-
Notifications
You must be signed in to change notification settings - Fork 1
/
users_new.html
246 lines (233 loc) · 14 KB
/
users_new.html
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang='en'>
<head>
<meta content="authenticity_token" name="csrf-param" />
<meta content="QFy+K8j0wqfIVSkkd89qe/QEo2wgm/4H1FtjcbzE47I=" name="csrf-token" />
<meta charset='utf-8'>
<meta content='width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1' name='viewport'>
<title>treetree - Deploy</title>
<link href="/assets/css/7257492/624966/css/fonts.css" media="screen" rel="stylesheet" />
<link href="/assets/css/application-4abd7d5764f0748a74fcf362045c3021.css" media="screen" rel="stylesheet" />
<link href='/assets/images/favicon.png' rel='icon' style='image/png'>
</head>
<body class='js-users-new'>
<div class='header'>
<div class='header__inner'>
<div class='container'>
<h1 class='branding'><a href="/">Deploy</a></h1>
<nav class='main-menu'>
<ul class='inline-list'>
<li class='inline-list__item main-menu__item'>
<a class="main-menu__link" href="/"><img alt="Dashboard Icon" class="main-menu__icon" src="/assets/images/icon-dashboard-b7fc48923a8411a5354a81b66e34b692.svg" />
<span class='main-menu__text'>Dashboard</span>
</a></li>
<li class='inline-list__item main-menu__item'>
<a class="main-menu__link" href="/projects"><img alt="Projects Icon" class="main-menu__icon" src="/assets/images/icon-projects-f2e21fdd8c1a0dfc1b7e438396263705.svg" />
<span class='main-menu__text'>Projects</span>
</a></li>
<li class='inline-list__item main-menu__item'>
<a class="main-menu__link" href="/account"><img alt="Account icon" class="main-menu__icon" src="/assets/images/icon-accounts-5573fc3b8b4b9b204d48ac0d24eb1799.svg" />
<span class='main-menu__text'>Account</span>
</a></li>
<li class='inline-list__item is-active main-menu__item'>
<a class="main-menu__link" href="/users"><img alt="Users icon" class="main-menu__icon" src="/assets/images/icon-users-4d09e071ba1c6eed77353183a91a9e9c.svg" />
<span class='main-menu__text'>Users</span>
</a></li>
</ul>
</nav>
<div class='user-menu'>
<a class="js-toggle-nav" href="#" rel="nofollow"><img alt="shukai zhao's Avatar" class="user-menu__icon avatar-image" src="/assets/images/avatar.png" />
</a></div>
</div>
</div>
<nav class='nav js-nav is-hidden'>
<div class='nav__container container'>
<div class='box box--heavy user-menu-block'>
<ul class='block-list'>
<li class='block-list__item'>
<a class="block-list__link" href="http://support.deployhq.com/">Support</a>
</li>
<li class='block-list__item'>
<a class="block-list__link" href="/profile">Profile</a>
</li>
<li class='block-list__item'>
<a class="block-list__link" href="/logout">Logout</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<div class='container clearfix'>
<div class='section section--first box'>
<div class='page-header'>
<h2 class='page-header__title g-heading-alpha'>Add New User</h2>
<p class='page-header__lead'>Once created, the user will receive an email with setup instructions.</p>
</div>
</div>
<form accept-charset="UTF-8" action="/users" class="new_user" id="new_user" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="QFy+K8j0wqfIVSkkd89qe/QEo2wgm/4H1FtjcbzE47I=" /></div><div class='content--constrained'>
<div class='section section--skinny section--first box'>
<h3 class='form-heading g-heading-beta u-margin-zero'>Personal Details</h3>
<div class='form-set'>
<div class='form-group'>
<label class="form-label" for="user_first_name">First Name</label>
<input class="form-control" id="user_first_name" name="user[first_name]" type="text" />
</div>
<div class='form-group'>
<label class="form-label" for="user_last_name">Last Name</label>
<input class="form-control" id="user_last_name" name="user[last_name]" type="text" />
</div>
<div class='form-group'>
<label class="form-label" for="user_email_address">Email Address</label>
<input class="form-control" id="user_email_address" name="user[email_address]" type="text" />
</div>
</div>
<h3 class='form-heading u-margin-zero g-heading-gamma'>Account Administrator</h3>
<div class='form-group form-set'>
<label class="form-checkbox" for="user_account_administrator"><input name="user[account_administrator]" type="hidden" value="0" /><input class="form-checkbox__input js-account-admin" id="user_account_administrator" name="user[account_administrator]" type="checkbox" value="1" />
<span class='form-checkbox__text'>Is an account administrator?</span>
</label><p class='form-hint'>Account administrators can create/delete projects, and access the billing centre.</p>
</div>
<h3 class='form-heading u-margin-zero g-heading-gamma'>User Manager</h3>
<div class='form-group form-set'>
<label class="form-checkbox" for="user_can_manage_users"><input name="user[can_manage_users]" type="hidden" value="0" /><input class="form-checkbox__input js-user-manager" id="user_can_manage_users" name="user[can_manage_users]" type="checkbox" value="1" />
<span class='form-checkbox__text'>Can manage other users?</span>
</label><p class='form-hint'>User managers can create/delete users, and assign other users to projects.</p>
</div>
<h3 class='form-heading u-margin-zero g-heading-gamma'>Project Access</h3>
<div class='form-set'>
<p class='form-paragraph'>
Which projects should this user have access to?
</p>
<div class='form-group'>
<ul class='checkbox-list'>
<li class='checkbox-list__item checkbox-list__item--separated is-all-checkbox js-checkbox-container'>
<label class="form-checkbox" for="all_projects"><input checked="checked" class="form-checkbox__input is-toggle-hint js-checkbox-all" id="all_projects" name="all_projects" type="checkbox" value="1" />
<span class='form-checkbox__text'>All Projects</span>
<p class='form-hint g-text-positive animated fadeIn'>
This user will automatically be assigned to all current and future projects.
</p>
</label></li>
<li class='checkbox-list__item'>
<label class="form-checkbox" for="project_91546"><input class="form-checkbox__input" id="project_91546" name="user[projects_allowed][]" type="checkbox" value="91546" />
<span class='form-checkbox__text'>DeepPHPOOP</span>
</label></li>
</ul>
</div>
</div>
</div>
<div class='form-submit'>
<button class="button button--positive" name="button" type="submit">Create User</button>
</div>
</div>
</form>
</div>
<div class='footer'>
<div class='container'>
<div class='row'>
<div class='column column--quarter'>
<h5 class='footer-heading g-heading-gamma'>About</h5>
<ul class='footer-links'>
<li class='footer-links__item'><a href="http://deployhq.com">Website</a></li>
<li class='footer-links__item'><a href="http://deployhq.com/terms">Terms & Conditions</a></li>
<li class='footer-links__item'><a href="http://deployhq.com/privacy">Privacy Policy</a></li>
</ul>
</div>
<div class='column column--quarter'>
<h5 class='footer-heading g-heading-gamma'>Support</h5>
<ul class='footer-links'>
<li class='footer-links__item'><a href="http://support.deployhq.com/">Help & Support</a></li>
<li class='footer-links__item'><a href="http://twitter.com/deployhq">Twitter</a></li>
<li class='footer-links__item'><a href="https://community.atechmedia.com/" target="_blank">Community</a></li>
<li class='footer-links__item'><a href="http://status.atechmedia.com">Service Status</a></li>
</ul>
</div>
<div class='column column--quarter'>
<h5 class='footer-heading g-heading-gamma'>Products</h5>
<ul class='footer-links'>
<li class='footer-links__item'><a href="https://www.codebasehq.com" target="_blank">Codebase</a></li>
<li class='footer-links__item'><a href="https://sirportly.com/" target="_blank">Sirportly</a></li>
<li class='footer-links__item'><a href="https://viaduct.io/" target="_blank">Viaduct</a></li>
</ul>
</div>
<div class='column column--quarter'>
<a class="footer__branding" href="http://atechmedia.com"><img alt="Atechmedia logo" src="/assets/images/atechmedia-logo-0c4d3f231c616ea3edec833d64afb407.png" /></a>
</div>
</div>
<p class='footer__copyright'>© 2015 <a href="http://atechmedia.com">aTech Media Limited</a>. All rights reserved.</p>
</div>
</div>
<div class='feedback-bar'>
<div class='container'>
<ul class='feedback-list'>
<li class='feedback-list__item'>
<a class="feedback-list__link js-feedback-form" href="#">Report Bug</a>
<div class='feedback-bar__form'>
<h2 class='form-heading g-heading-gamma'>Report Bug</h2>
<form accept-charset="UTF-8" action="/feedback/report_bug" class="js-feedback" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="QFy+K8j0wqfIVSkkd89qe/QEo2wgm/4H1FtjcbzE47I=" /></div>
<input id="url" name="url" type="hidden" value="https://treetree.beta.deployhq.com/users/new?action=new&controller=users" />
<div class='form-group'>
<label class="form-label" for="description">Describe Problem</label>
<textarea class="textarea" id="description" name="description" rows="6">
</textarea>
<p class='form-hint'>Please describe the bug you are experiencing.</p>
</div>
<div class='form-group'>
<label class="form-label" for="browser">Browser</label>
<input class="form-control" id="browser" name="browser" type="text" />
<p class='form-hint'>What browser and browser version are you using?</p>
</div>
<button class="button button--positive button--small" name="button" type="Submit">Send</button>
</form>
</div>
</li>
<li class='feedback-list__item'>
<a class="feedback-list__link js-feedback-form" href="#">Feedback</a>
<div class='feedback-bar__form'>
<h2 class='form-heading g-heading-gamma'>Submit Feedback</h2>
<form accept-charset="UTF-8" action="/feedback/feedback" class="js-feedback" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="QFy+K8j0wqfIVSkkd89qe/QEo2wgm/4H1FtjcbzE47I=" /></div>
<div class='form-group'>
<label class="form-label" for="summary">What do you think?</label>
<textarea class="textarea" id="description" name="description" rows="6">
</textarea>
</div>
<button class="button button--positive button--small" name="button" type="Submit">Send</button>
</form>
</div>
</li>
</ul>
<p class='feedback-paragraph'>
You are currently using the beta version of Deploy.
<a href="https://treetree.deployhq.com/">Use the stable version →</a>
</p>
</div>
</div>
<script src="/assets/js/cdn.viaduct.io/webpush.js"></script>
<script src="/assets/js/application-4050524b872d18d5132f11c99b6d4bf2.js"></script>
<script>
//<![CDATA[
window.Utility || (window.Utility = {});
Utility.RailsVars = {"user_timezone":"Etc/UTC","vwp_token":"13c9299896384ac5ac3cf68c"};
(function() {
window.$this = new (App.Users || App.Base)();
if (typeof $this.new === 'function') {
return $this.new.call();
}
})();
//]]>
</script>
<script src='/assets/js/identity/remote.js' type='text/javascript'></script>
<script>
//<![CDATA[
var atechIdentity = new AtechIdentity();
atechIdentity.host = 'http://pt.justdeployit.com';
atechIdentity.userKey = '3b2662a4-843b-798f-417b-5755dda2e195';
atechIdentity.applicationKey = '2a9869df-7c90-3f32-0538-0bec6f4c4129';
atechIdentity.expiry = 1421165122;
atechIdentity.authHash = '9e91a3688ba4e2a11a61ee39945510390c02011a';
atechIdentity.getRemoteUserData();
//]]>
</script>
<!--- Version b725e2, served by vdtapp-531-9156-bdb94a2da9 -->
</body>
</html>