(w http.ResponseWriter, r *http.Request, message, redirectUrl string)
| 764 | } |
| 765 | |
| 766 | func (h *WebUiHandler) alertDialog(w http.ResponseWriter, r *http.Request, message, redirectUrl string) error { |
| 767 | err := h.tmpl.ExecuteTemplate(w, "alert.tmpl", &AlertData{ |
| 768 | Head: h.headHtml, |
| 769 | Message: message, |
| 770 | RedirectUrl: redirectUrl, |
| 771 | }) |
| 772 | |
| 773 | if err != nil { |
| 774 | return err |
| 775 | } |
| 776 | |
| 777 | return nil |
| 778 | } |
| 779 | |
| 780 | func (h *WebUiHandler) handleLoading(w http.ResponseWriter, r *http.Request) { |
| 781 |
no outgoing calls
no test coverage detected