Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
перенес в showBrowser в шаблон
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Korotin committed Mar 22, 2016
1 parent 10164ba commit 821f6bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 1 addition & 10 deletions lib/views/main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,7 @@
<button id="collapseAll" class="button">Collapse all</button>
<button id="expandErrors" class="button">Expand errors</button>
<button id="runFailed" class="button button_togglable" disabled>Retry failed tests</button>
<select id="showBrowser" class="select button" name="browser">
<option value="">Show Browser</option>
<option value="ie11">ie11</option>
<option value="ie9">ie9</option>
<option value="ie8">ie8</option>
<option value="chrome-latest">chrome-latest</option>
<option value="opera-v12.16">opera-v12.16</option>
<option value="firefox-latest">firefox-latest</option>
</select>
<style id="stylesoHideBrowsers"></style>
{{> show-browser }}
{{#each suites}}
{{> suite}}
{{/each}}
Expand Down
11 changes: 11 additions & 0 deletions lib/views/partials/show-browser.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<select id="showBrowser" class="select button" name="browser">
<option value="">Show Browser</option>
{{! TODO: get browsers list }}
<option value="ie11">ie11</option>
<option value="ie9">ie9</option>
<option value="ie8">ie8</option>
<option value="chrome-latest">chrome-latest</option>
<option value="opera-v12.16">opera-v12.16</option>
<option value="firefox-latest">firefox-latest</option>
</select>
<style id="stylesoHideBrowsers"></style>

0 comments on commit 821f6bd

Please sign in to comment.