public Main scripts(IEnumerable <Doc> x) { holes.Add(TemplateHole.NewElt("scripts", SDoc.Concat(x))); return(this); }
public Main MenuBar(IEnumerable <Doc> x) { holes.Add(TemplateHole.NewElt("menubar", SDoc.Concat(x))); return(this); }
public Main Body(IEnumerable <Doc> x) { holes.Add(TemplateHole.NewElt("body", SDoc.Concat(x))); return(this); }
public Main ListContainer(IEnumerable <Doc> x) { holes.Add(TemplateHole.NewElt("listcontainer", SDoc.Concat(x))); return(this); }
private static async Task <Elt> CreateSearchResults(FSharpOption <JobSearchCriteria> input, Var <IEnumerable <string> > methodCriteria, ListModel <string, JobUpdateViewModel> updateSet, Doc result) { if (input == null) { return(Html.div("")); } var methodOptionFuture = Pervasives.Remote <OddJobRemotingWrapper>() .Handle(new GetMethodsForQueueNameRequest() { QueueName = input.Value.QueueName }); var awaitedMethodOptions = await methodOptionFuture; methodCriteria.Value = awaitedMethodOptions; var future = Pervasives.Remote <OddJobRemotingWrapper>().Handle(input.Value); var awaitedFuture = await future; updateSet.Set(awaitedFuture.Select(q => { return(new JobUpdateViewModel() { JobGuid = q.JobId, MetaData = q, UpdateData = new UpdateForJob() { JobGuid = q.JobId, OldStatus = q.Status, ParamUpdates = q.JobArgs.Select(r => new UpdateForParam() { ParamOrdinal = r.Ordinal }).ToArray() } }); })); return(Html.div(Html.h3("Results:"), Html.br(), Html.doc(result))); }
public Main Body(params Doc[] x) { holes.Add(TemplateHole.NewElt("body", SDoc.Concat(x))); return(this); }
public Main scripts(params Doc[] x) { holes.Add(TemplateHole.NewElt("scripts", SDoc.Concat(x))); return(this); }
public Main MenuBar(params Doc[] x) { holes.Add(TemplateHole.NewElt("menubar", SDoc.Concat(x))); return(this); }
public SearchOption JobParameter(params Doc[] x) { holes.Add(TemplateHole.NewElt("jobparameter", SDoc.Concat(x))); return(this); }
public SearchOption JobParameter(IEnumerable <Doc> x) { holes.Add(TemplateHole.NewElt("jobparameter", SDoc.Concat(x))); return(this); }
public EditableJobItem JobParameter(params Doc[] x) { holes.Add(TemplateHole.NewElt("jobparameter", SDoc.Concat(x))); return(this); }
public Main ListContainer(params Doc[] x) { holes.Add(TemplateHole.NewElt("listcontainer", SDoc.Concat(x))); return(this); }