[deprecations] Remove all of the views from the app

This commit is contained in:
Piotr Sarnacki 2016-01-12 14:49:06 +01:00
parent ee5f842d51
commit fb1b820837
7 changed files with 2 additions and 48 deletions

View File

@ -1,27 +0,0 @@
<form class="env-var" {{action "save" on="submit"}}>
{{#travis-field "name"}}
{{#label for="name" class="name"}}Name:{{/label}}
{{input value=name class="env-name" placeholder="Name"}} {{travis-errors "name"}}
{{/travis-field}}
<span class="equals">=</span>
{{#if showValueField}}
<div class="field value value--extra">
{{#label for="value" class="value"}}Value:{{/label}}
{{input value=value class="env-value" placeholder="Value"}}
</div>
{{else}}
<div class="field name">
<span class="value value-display secure">{{value}}</span>
</div>
{{/if}}
<div class="field field--switch">
{{travis-switch active=public}}
{{#label for="secure" class="public"}}Display value in build logs{{/label}}
</div>
<div class="actions">
<input type="submit" value={{actionType}} class="submit-env-var {{if isSaving 'saving'}}" disabled={{isSaving}} />
<span class="or">or</span>
<a href="#" class="cancel-env-var" {{action "cancel"}}>Cancel</a>
</div>
</form>

View File

@ -1 +0,0 @@
{{#link-to "env_vars.new" class="add-env-var"}}Add a new variable{{/link-to}}

View File

@ -1 +0,0 @@
{{partial 'env_vars/form'}}

View File

@ -1 +0,0 @@
{{#each view.errors as |error|}}{{error.message}}{{/each}}

View File

@ -8,7 +8,7 @@
<header>
<h1 class="repo-title">{{#link-to "owner" repo.owner}}{{repo.owner}}{{/link-to}} / {{#link-to "repo" repo}}{{repo.name}}{{/link-to}}</h1>
<div class="repo-gh">
<a href="{{controller.urlGithub}}" title="{{repo.name}} on Github">{{repo.name}} on Github</a>
<a href="{{urlGithub}}" title="{{repo.name}} on Github">{{repo.name}} on Github</a>
</div>
<div class="repo-badge">
<a href="#" id="status-image-popup" title="build status image" name="status-images" class="open-popup" {{action "statusImages"}}>

View File

@ -1,6 +1,6 @@
<div class="search search--sidebar">
<div class="search-inner">
{{input value=controller.search placeholder="Search all repositories"}}
{{input value=search placeholder="Search all repositories"}}
</div>
</div>

View File

@ -1,16 +0,0 @@
<form class="ssh-key" {{action "save" on="submit"}}>
<div class="field">
{{label for="description" content="Description:"}}
{{input value=description}}
</div>
{{#travis-field "value"}}
{{label for="value" class="value" content="Private key:"}}
{{textarea value=value}} {{travis-errors "value"}}
{{/travis-field}}
<div class="actions">
<input type="submit" value="Add" class="submit-ssh-key {{if isSaving 'saving'}}" {{if isSaving 'dsabled="disabled"'}} />
<span class="or">or</span>
<a href="#" class="cancel-ssh-key" {{action "cancel"}}>Cancel</a>
</div>
</form>