blob: ee86b5481d25c08c22c8208bc71dca937d209c31 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001<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 Williamsf1e5d692016-03-30 15:21:19 -05003 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 Williamsc124f4f2015-09-15 14:41:29 -05004</div>
5
6<!-- project name -->
7<div class="page-header">
Patrick Williamsf1e5d692016-03-30 15:21:19 -05008 <h1 id="project-name-container">
9 <span id="project-name">{{project.name}}</span>
10
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011 <i class="icon-pencil" data-original-title="" id="project-change-form-toggle" title=""></i>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050012
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 Williamsc124f4f2015-09-15 14:41:29 -050016 </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 Williamsf1e5d692016-03-30 15:21:19 -050026{% 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 %}