aboutsummaryrefslogtreecommitdiff
path: root/app/components/plan-new/plan-new.html
diff options
context:
space:
mode:
authorAlex Tatiyants <atatiyan@gmail.com>2016-01-29 21:21:35 -0800
committerAlex Tatiyants <atatiyan@gmail.com>2016-01-29 21:33:22 -0800
commit7e0665204c5931a8fa47d835a4799030a960c354 (patch)
treeed3f0ff0f14b6f23f4482223dcf38626d4508f35 /app/components/plan-new/plan-new.html
parentd256691ac0e4d2e1cd41ef1c1d9ce3c310e77dc6 (diff)
add usage hints/disclaimer. close #11, #6
Diffstat (limited to 'app/components/plan-new/plan-new.html')
-rw-r--r--app/components/plan-new/plan-new.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/components/plan-new/plan-new.html b/app/components/plan-new/plan-new.html
index f74529d..f27037d 100644
--- a/app/components/plan-new/plan-new.html
+++ b/app/components/plan-new/plan-new.html
@@ -1,6 +1,9 @@
<div class="page">
- <span class="text-muted">For best results, use EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON)</span>
- <button class="btn btn-link" (click)="prefill()">create a sample plan</button>
+ <button class="pull-right btn btn-link" (click)="prefill()">create a sample plan</button>
+
+ <span class="text-muted">For best results, use <code>EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON)</code><br>
+ Psql users can export the plan to a file using <code>psql -qAt -f explain.sql > analyze.json</code></span>
+ <p class="pad-top">DISCLAIMER: Pev stores your plans locally (localStorage) and will not send them anywhere.</p>
<div>
<input placeholder="name (optional)" class="input-box input-box-main" type="text" [(ngModel)]="newPlanName">
<button class="btn btn-default btn-lg pad-top pull-right" (click)="submitPlan()">submit</button>