aboutsummaryrefslogtreecommitdiff
path: root/app/components/plan-new/plan-new.html
blob: f9babb69e439e6423c1d0ddbb7fb4b9370d68dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>