2026-02-27 16:51:41 +00:00
|
|
|
package sync
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
2026-03-03 17:08:58 +00:00
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/html"
|
|
|
|
|
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
2026-02-27 16:51:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type contentOperationsRoot struct{}
|
|
|
|
|
|
2026-03-03 17:08:58 +00:00
|
|
|
func getOperationsRoot(ctx context.Context, r *http.Request, org *models.Organization, user *models.User) (*html.Response[contentOperationsRoot], *nhttp.ErrorWithStatus) {
|
|
|
|
|
return html.NewResponse("sync/operations-root.html", contentOperationsRoot{}), nil
|
2026-02-27 16:51:41 +00:00
|
|
|
}
|