aboutsummaryrefslogtreecommitdiff
path: root/app/components/plan-new/plan-new.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/plan-new/plan-new.html')
-rw-r--r--app/components/plan-new/plan-new.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/components/plan-new/plan-new.html b/app/components/plan-new/plan-new.html
new file mode 100644
index 0000000..f9babb6
--- /dev/null
+++ b/app/components/plan-new/plan-new.html
@@ -0,0 +1,18 @@
+<nav>
+ <div class="nav-container">
+ <a [routerLink]="['PlanList']">plans</a>
+ <span class="text-muted"> | </span>
+ create plan
+ </div>
+</nav>
+
+<div class="page">
+ <span class="text-muted">For best results, use EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON)</span>
+ <div>
+ <input placeholder="name (optional)" class="input-box input-box-main" type="text" [(ngModel)]="newPlanName">
+ <button class="btn btn-primary btn-lg pull-right" (click)="submitPlan()">submit</button>
+ </div>
+
+ <textarea placeholder="paste execution plan" class="input-box input-box-lg" [(ngModel)]="newPlanContent"></textarea>
+ <textarea placeholder="paste corresponding SQL query" class="input-box input-box-lg" [(ngModel)]="newPlanQuery"></textarea>
+</div>