diff --git a/cgi-bin/home b/cgi-bin/home index a961c65a..7cbf8f72 100755 --- a/cgi-bin/home +++ b/cgi-bin/home @@ -69,18 +69,31 @@ my $header = $anvil->Template->get({file => "main.html", name => "header", varia my $body = ""; # If any jobs are pending/running, show the "unavailable" option. +<<<<<<< HEAD my $available = check_availability($anvil); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { available => $available }}); +======= +my $available = check_availability($anvil); +my $configured = check_if_configured($anvil); +$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { + available => $available, + configured => $configured, +}}); +>>>>>>> a6a5df2496cbe4474d34585a2d41207dd6d5e005 if (not $available) { # Set the body to 'say::maintenance'. $body = $anvil->data->{say}{maintenance}; } +<<<<<<< HEAD # If there is no user account yet, then the system is new and needs to be reconfigured. my $configured = check_if_configured($anvil); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { configured => $configured }}); if (not $configured) +======= +elsif (not $configured) +>>>>>>> a6a5df2496cbe4474d34585a2d41207dd6d5e005 { $body = configure_striker($anvil); } diff --git a/html/skins/alteeve/main.css b/html/skins/alteeve/main.css index c6eaeeb7..42d829d9 100644 --- a/html/skins/alteeve/main.css +++ b/html/skins/alteeve/main.css @@ -10,6 +10,7 @@ Colours; - Footer text: #515151 */ +<<<<<<< HEAD .login { width: 600px; height: 50px; @@ -18,6 +19,40 @@ Colours; margin-top: -25px; /* half of height */ top: 50%; left: 50%; +======= +input[type=submit]:hover { + border: 1px solid #f7f7f7; +} + +input[type=submit] { + padding: 3px 10px; + background: #f7f7f7; + border: 1px solid #343434; + cursor: pointer; + -webkit-border-radius: 2px; + border-radius: 3px; + font-family: 'Dejavu Sans', Arial, Helvetica, Verdana, Sans-Serif; + text-decoration: none; + color: #343434; + font-size: 1.0em; +} + +.button:hover { + border: 1px solid #f7f7f7; +} + +.button { + padding: 3px 10px; + background: #f7f7f7; + border: 1px solid #343434; + cursor: pointer; + -webkit-border-radius: 2px; + border-radius: 3px; + font-family: 'Dejavu Sans', Arial, Helvetica, Verdana, Sans-Serif; + text-decoration: none; + color: #343434; + font-size: 1.0em; +>>>>>>> a6a5df2496cbe4474d34585a2d41207dd6d5e005 } .error_message { @@ -69,8 +104,8 @@ select { } body { - font-family: 'Dejavu Sans', Arial, Helvetica, Verdana, Sans-Serif; - background-image: url("/skins/alteeve/images/Texture.jpg"); + font-family: 'Dejavu Sans', Arial, Helvetica, Verdana, Sans-Serif; + background-image: url("/skins/alteeve/images/Texture.jpg"); background-repeat: repeat; color: #f2f2f2; } diff --git a/html/skins/alteeve/main.html b/html/skins/alteeve/main.html index c3912422..6534ddff 100644 --- a/html/skins/alteeve/main.html +++ b/html/skins/alteeve/main.html @@ -330,6 +330,9 @@ #!variable!title!#
#!variable!description!# +
+
+ Reload @@ -343,11 +346,9 @@ #!variable!title!#
#!variable!description!# - - - - - Reload +
+
+ Reload diff --git a/tools/anvil-configure-striker b/tools/anvil-configure-striker index 92f56e88..e0478098 100755 --- a/tools/anvil-configure-striker +++ b/tools/anvil-configure-striker @@ -88,7 +88,7 @@ $anvil->Database->insert_or_update_variables({ variable_source_table => "hosts", }); -#$anvil->System->call({shell_call => $anvil->data->{path}{exe}{'shutdown'}." --reboot now"}); +$anvil->System->call({shell_call => $anvil->data->{path}{exe}{'shutdown'}." --reboot now"}); $anvil->nice_exit({code => 0});