document.write("Sorry, An error has occurred loading this page");
console.warn(e);
}
});
</script>
<formclass="col-md-11">
<fieldset>
<h2>Layer repository information</h2>
<spanclass="help-block">The layer you are importing must be compatible with <strong>{{project.release.description}}</strong>, which is the release you are using in this project.</span>
<spanclass="glyphicon glyphicon-question-sign get-help"title="Something like 'meta-mylayer'. Your layer name must be unique and can only include letters, numbers and dashes"></span>
<h3>A layer called <ahref=""class="dup-layer-link"><spanclass="dup-layer-name"></span></a> already exists</h3>
<p>Layer names must be unqiue. Please use a different layer name.</p>
<dl>
<dt>
The <spanclass="dup-layer-name"></span> repository url is
</dt>
<dd>
<spanid="dup-layer-vcs-url"></span>
</dd>
<dt>
The <spanclass="dup-layer-name"></span> revision is
</dt>
<dd>
<spanid="dup-layer-revision"></span>
</dd>
</dl>
<p><ahref=""class="dup-layer-link">View the <spanclass="dup-layer-name"></span> layer information</a></p>
</div>
</div>
<divclass="fields-apart-from-layer-name">
<divclass="form-group">
<labelfor="layer-git-repo-url">
Git repository URL
<spanclass="glyphicon glyphicon-question-sign get-help"title="Fetch/clone URL of the repository. Currently, Toaster only supports Git repositories."></span>
<spanclass="glyphicon glyphicon-question-sign get-help"title="Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)"></span>
<inputtype="text"autocomplete="off"data-minLength="1"data-autocomplete="off"data-provide="typeahead"placeholder="Type a layer name"id="layer-dependency"class="form-control">
<spanclass="help-inline">You can only add layers Toaster knows about</span>
</div>
</fieldset>
<divclass="top-air"id="form-actions">
<buttonclass="btn btn-primary btn-lg"data-toggle="modal"id="import-and-add-btn"data-target="#dependencies-message"disabled>Import and add to project</button>
<spanclass="help-inline"id="import-and-add-hint"style="vertical-align: middle;">To import a layer you need to enter a layer name, a Git repository URL and a Git revision (branch, tag or commit)</span>
</div>
</div>
</form>
{% else %} {#project and project release#}
<divclass="page-header">
<h1>Import layer</h1>
</div>
<divclass="alert alert-info"id="import-error">
<h3>Unsupported project type</h3>
<p>This project does not support importing layers.</p>