This commit is contained in:
2020-06-09 21:59:16 +00:00
parent 1a7cea9272
commit 3dc9ffbd10
4 changed files with 24 additions and 8 deletions

View File

@@ -6,10 +6,10 @@ namespace rockfishCore.Models
public partial class Site
{
public Site()
{
// Incident = new HashSet<Incident>();
{
Purchase = new HashSet<Purchase>();
//TrialNavigation = new HashSet<Trial>();
LegacyV7=true;
DbId="v7_no_dbid";
}
public long Id { get; set; }
@@ -31,6 +31,10 @@ namespace rockfishCore.Models
public string ServerBits { get; set; }
public string Notes { get; set; }
//raven new
public bool LegacyV7 { get; set; }
public string DbId { get; set; }
// public virtual ICollection<Incident> Incident { get; set; }
public virtual ICollection<Purchase> Purchase { get; set; }
// public virtual ICollection<Trial> TrialNavigation { get; set; }

View File

@@ -14,12 +14,24 @@
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="stateProvince">State / Province</label>
<input class="form-control" type="text" id="stateProvince" name="stateProvince" value="">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="dbId">Raven database Id</label>
<input class="form-control" type="text" id="dbId" name="dbId" value="">
</div>
</div>
<div class="col-sm-6">
<div class="form-check">
<label class="form-check-label" for="legacyV7">
<input class="form-check-input" type="checkbox" name="legacyV7" id="legacyV7">
Legacy / AyaNova 7</label>
</div>
</div>
<div class="col-sm-6">
<div class="form-check">
<label class="form-check-label" for="networked">
@@ -58,7 +70,7 @@
<input class="form-control" type="text" id="hostName" name="hostName" value="">
</div>
</div>
<div class="col-sm-6">
{{!-- <div class="col-sm-6">
<div class="form-group">
<label for="hostingStartDate">Hosting start</label>
<input class="form-control" type="date" id="hostingStartDate" name="hostingStartDate" value="">
@@ -69,7 +81,7 @@
<label for="hostingEndDate">Hosting end</label>
<input class="form-control" type="date" id="hostingEndDate" name="hostingEndDate" value="">
</div>
</div>
</div> --}}
<div class="col-sm-12">
<div class="form-group">
<label for="notes">Notes</label>

View File

@@ -1,4 +1,4 @@
<nav id="rf-nav" class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
<nav id="rf-nav" class="navbar fixed-top navbar-expand-lg navbar-dark bg-success">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">

File diff suppressed because one or more lines are too long