Skip to content

Commit

Permalink
Merge pull request #460 from noobaa/eran_alpha_updates
Browse files Browse the repository at this point in the history
minor ui updates
  • Loading branch information
tamireran committed Aug 5, 2015
2 parents 1876665 + 71a8dfc commit fe869c9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/deploy/NVA_build/deploy_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ function general_settings {
chmod 4755 /etc/profile.d/first_install_diaglog.sh

#Fix login message
echo -e "Welcome to your \x1b[0;35;40mNooBaa\x1b[0m, host \n" > /etc/issue
echo -e "You can use \x1b[0;32;40mnoobaa/Passw0rd\x1b[0m login to configure IP,DNS,GW and Hostname" >>/etc/issu
echo -e "Welcome to your \x1b[0;35;40mNooBaa\x1b[0m server.\n" > /etc/issue
echo -e "You can use \x1b[0;32;40mnoobaa/Passw0rd\x1b[0m login to configure IP,DNS,GW and Hostname" >>/etc/issue
}

function setup_supervisors {
Expand Down
4 changes: 2 additions & 2 deletions src/deploy/NVA_build/upgrade_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ function post_upgrade {
fi
echo "${AGENT_VERSION_VAR}" >> ${CORE_DIR}/.env

echo -e "Welcome to your \x1b[0;35;40mNooBaa\x1b[0m, host \n" > /etc/issue
echo -e "You can use \x1b[0;32;40mnoobaa/Passw0rd\x1b[0m login to configure IP,DNS,GW and Hostname" >>/etc/issu
echo -e "Welcome to your \x1b[0;35;40mNooBaa\x1b[0m server,\n" > /etc/issue
echo -e "You can use \x1b[0;32;40mnoobaa/Passw0rd\x1b[0m login to configure IP,DNS,GW and Hostname" >>/etc/issue

#NooBaa supervisor services configuration changes
sed -i 's:logfile=.*:logfile=/tmp/supervisor/supervisord.log:' /etc/supervisord.conf
Expand Down
4 changes: 2 additions & 2 deletions src/ngview/console/account_create_dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ <h3 class="modal-title">Create Account</h3>
<input type="password" name="password_fake" id="password_fake" value="" style="display:none;" />
<!-- end of fake fields -->
<div ng-if="nbClient.account.is_support||register" class="form-control-wrapper" style="margin: 40px 0">
<input class="form-control floating-label" type="text" id="input_name" placeholder="NAME" required ng-model="$parent.system_name" ng-change="update_email_message();" ng-disabled="form_disabled"/>
<input class="form-control floating-label" type="text" id="input_name" placeholder="NAME" autofocus="nbClient.account.is_support||register" required ng-model="$parent.system_name" ng-change="update_email_message();" ng-disabled="form_disabled"/>
</div>
<div class="form-control-wrapper" style="margin: 40px 0">
<input class="form-control floating-label" autocomplete="off" type="email" id="input_email" placeholder="EMAIL" required ng-model="email" autofocus ng-change="update_email_message();" ng-disabled="form_disabled" />
<input class="form-control floating-label" autocomplete="off" type="email" id="input_email" placeholder="EMAIL" required ng-model="email" autofocus="!(nbClient.account.is_support||register)" ng-change="update_email_message();" ng-disabled="form_disabled" />
</div>

<div class="form-control-wrapper" style="margin: 40px 0">
Expand Down
2 changes: 1 addition & 1 deletion src/server/web_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ app.post('/upgrade', function(req, res) {
stdio: ['ignore', stdout, stderr],
cwd: '/tmp'
});
res.end('<html><head><meta http-equiv="refresh" content="15;url=/console/" /></head>Upgrading. You will be redirected back to the upgraded site in 15 seconds.');
res.end('<html><head><meta http-equiv="refresh" content="60;url=/console/" /></head>Upgrading. You will be redirected back to the upgraded site in 60 seconds.');
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/views/console.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ <h4>No activity</h4>
<a class="btn btn-default Xbtn-flat" style="padding: 25px 20px; margin: 0" ng-if="nav.reload_view" nb-click-ladda="nav.reload_view()">
<i rel="tooltip" title="Refresh" class="fa fa-repeat fa-2x text-muted"></i>
</a>
<a class="btn btn-default Xbtn-flat" style="padding: 25px 20px; margin: 0" ng-href="/console/users">
<a ng-if="nbSystem.system" class="btn btn-default Xbtn-flat" style="padding: 25px 20px; margin: 0" ng-href="/console/users">
<i rel="tooltip" title="User Management" class="fa fa-user fa-2x text-muted"></i>
</a>
<a class="btn btn-default Xbtn-flat navbar-toggle toggle-left" data-toggle="sidebar" data-target=".sidebar-right" style="padding: 25px 20px; margin: 0">
Expand Down

0 comments on commit fe869c9

Please sign in to comment.