func UploadBlobButton(dropZoneSelector, listSelector, onComplete string) view.View { var button view.Div button.Content = view.Views{ view.H1("jQuery required!"), RequireUploadBlobButtonScript("#"+button.ID(), dropZoneSelector, listSelector, onComplete), } return &button }
func UploadImageButton(dropZoneSelector, listSelector string, thumbnailSize int, onComplete string) view.View { var button view.Div button.Content = view.Views{ view.H1("jQuery required!"), RequireUploadImageButtonScript("#"+button.ID(), dropZoneSelector, listSelector, thumbnailSize, onComplete), } return &button }