misc file cleanup
This commit is contained in:
parent
3cd0a8337f
commit
259b220dfc
|
@ -199,7 +199,7 @@ class Server extends Model
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns non-administrative headers for accessing a server on Scales
|
* Returns non-administrative headers for accessing a server on the daemon
|
||||||
*
|
*
|
||||||
* @param string $uuid
|
* @param string $uuid
|
||||||
* @return array
|
* @return array
|
||||||
|
|
|
@ -132,7 +132,7 @@ class FileRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save the contents of a requested file on the Scales instance.
|
* Save the contents of a requested file on the daemon.
|
||||||
*
|
*
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @param string $content
|
* @param string $content
|
||||||
|
@ -166,7 +166,7 @@ class FileRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a listing of all files and folders within a specified Scales directory.
|
* Returns a listing of all files and folders within a specified directory on the daemon.
|
||||||
*
|
*
|
||||||
* @param string $directory
|
* @param string $directory
|
||||||
* @return object
|
* @return object
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<label for="owner" class="control-label">Owner Email</label>
|
<label for="owner" class="control-label">Owner Email</label>
|
||||||
<div>
|
<div>
|
||||||
{{-- Hacky workaround to prevent Safari and Chrome from trying to suggest emails here --}}
|
{{-- Hacky workaround to prevent Safari and Chrome from trying to suggest emails here --}}
|
||||||
<input id="fake_user_name" name="fake_user[name]" style="position:absolute; top:-10000px;" type="text" value="Autofill Me">
|
<input id="fake_user_name" name="fake_user[name]" style="position:absolute; top:-10000px;" tabindex="5" type="text" value="Autofill Me">
|
||||||
<input type="text" autocomplete="off" name="owner" class="form-control" value="{{ old('owner', Input::get('email')) }}" />
|
<input type="text" autocomplete="off" name="owner" class="form-control" value="{{ old('owner', Input::get('email')) }}" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
$('#applyUpdate').removeClass('fa-circle-o-notch fa-spinner fa-spin fa-check-circle fa-times-circle').addClass(selector).css({ color: color });
|
$('#applyUpdate').removeClass('fa-circle-o-notch fa-spinner fa-spin fa-check-circle fa-times-circle').addClass(selector).css({ color: color });
|
||||||
});
|
});
|
||||||
|
|
||||||
// Socket Recieves New Status from Scales
|
// Socket Recieves New Status from Daemon
|
||||||
socket.on('status', function(data) {
|
socket.on('status', function(data) {
|
||||||
var newStatus, selector = 'fa-times-circle';
|
var newStatus, selector = 'fa-times-circle';
|
||||||
var color = '#E33200';
|
var color = '#E33200';
|
||||||
|
|
Loading…
Reference in New Issue