Skip to content

Commit

Permalink
add usage hints/disclaimer. close #11, #6
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTatiyants committed Jan 30, 2016
1 parent d256691 commit 7e06652
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/assets/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/assets/sass/_forms.scss
Expand Up @@ -22,7 +22,7 @@

&-lg {
width: 98%;
height: 280px;
height: 210px;
margin-bottom: $padding-base;
margin-bottom: $padding-lg;
border-radius: $border-radius-base;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/styles.css

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions 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>
Expand Down

0 comments on commit 7e06652

Please sign in to comment.