Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | <div class="alert alert-success lead" id="project-created-notification" style="margin-top:15px; display:none"> |
| 2 | <button type="button" class="close" data-dismiss="alert">×</button> |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 3 | Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectsoftwarerecipes' project.id %}">choose image recipes</a> to build. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 4 | </div> |
| 5 | |
| 6 | <!-- project name --> |
| 7 | <div class="page-header"> |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 8 | <h1 id="project-name-container"> |
| 9 | <span id="project-name">{{project.name}}</span> |
| 10 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | <i class="icon-pencil" data-original-title="" id="project-change-form-toggle" title=""></i> |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 12 | |
| 13 | {% if project.is_default %} |
| 14 | <i class="icon-question-sign get-help heading-help" title="" data-original-title="This project shows information about the builds you start from the command line while Toaster is running"></i> |
| 15 | {% endif %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | </h1> |
| 17 | <form id="project-name-change-form" style="margin-bottom: 0px; display: none;"> |
| 18 | <div class="input-append"> |
| 19 | <input class="huge input-xxlarge" type="text" id="project-name-change-input" autocomplete="off" value="{{project.name}}"> |
| 20 | <button id="project-name-change-btn" class="btn btn-large" type="button">Save</button> |
| 21 | <a href="#" id="project-name-change-cancel" class="btn btn-large btn-link">Cancel</a> |
| 22 | </div> |
| 23 | </form> |
| 24 | </div> |
| 25 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 26 | {% if not project.is_default %} |
| 27 | <div id="project-topbar"> |
| 28 | <ul class="nav nav-pills"> |
| 29 | <li> |
| 30 | <a href="{% url 'projectbuilds' project.id %}"> |
| 31 | Builds (<span class="total-builds">0</span>) |
| 32 | </a> |
| 33 | </li> |
| 34 | <li id="topbar-configuration-tab"> |
| 35 | <a href="{% url 'project' project.id %}"> |
| 36 | Configuration |
| 37 | </a> |
| 38 | </li> |
| 39 | <li> |
| 40 | <a href="{% url 'importlayer' project.id %}"> |
| 41 | Import layer |
| 42 | </a> |
| 43 | </li> |
| 44 | {% if CUSTOM_IMAGE %} |
| 45 | <li> |
| 46 | <a href="{% url 'newcustomimage' project.id %}"> |
| 47 | New custom image |
| 48 | </a> |
| 49 | </li> |
| 50 | {% endif %} |
| 51 | <li class="pull-right"> |
| 52 | <form class="form-inline" style="margin-bottom:0px;"> |
| 53 | <i class="icon-question-sign get-help heading-help" data-placement="left" title="" data-original-title="Type the name of one or more recipes you want to build, separated by a space. You can also specify a task by appending a semicolon and a task name to the recipe name, like so: <code>busybox:clean</code>"></i> |
| 54 | <div class="input-append"> |
| 55 | <input id="build-input" type="text" class="input-xlarge input-lg build-target-input" placeholder="Type the recipe you want to build" autocomplete="off" disabled> |
| 56 | <button id="build-button" class="btn btn-primary btn-large build-button" data-project-id="{{project.id}}" disabled>Build</button> |
| 57 | </div> |
| 58 | </form> |
| 59 | </li> |
| 60 | </ul> |
| 61 | </div> |
| 62 | {% endif %} |