Skip to content

Commit 006c480

Browse files
author
Jason Striegel
committed
touch-ups to configure stage of setup
1 parent 2bfa3fa commit 006c480

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

coder-base/device.json.reset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"password_hash": "",
3-
"device_name": "Coder",
3+
"device_name": "",
44
"hostname": "coder",
55
"coder_owner": "",
66
"coder_color": ""

coder-base/static/apps/auth/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,9 @@ var setupConfigureFields = function() {
169169
setTimeout( testConfigureSubmitEnable, 0 );
170170
}
171171
});
172-
173172
$('#configure_form .submit').click( configureClick );
173+
$('#configure_form .device_name').val( 'My Coder' ).parent().find('.label').hide();
174+
testConfigureSubmitEnable();
174175
};
175176
var setupAddPasswordFields = function() {
176177
$('#addpassword_form .formfield.textinput .label').click( focusTextInput );

coder-base/views/apps/auth/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h1>You Are Signed Out</h1>
5555
<h1>Welcome to Coder for Pi</h1>
5656
<div class="instructions">First, let's give your Coder a name.</div>
5757
<div class="formfield textinput">
58-
<span class="label">My Coder</span>
58+
<span class="label">Your Coder's Name</span>
5959
<input class="device_name" type="text"/>
6060
</div>
6161
<div class="submit disabled">OK. Save My Coder's Name</div>

0 commit comments

Comments
 (0)