Apply Bootstrap 3 grid.

Signed-off-by: Belen Barros Pena <[email protected]>
---
 .../toaster/toastergui/templates/newproject.html   | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html 
b/bitbake/lib/toaster/toastergui/templates/newproject.html
index 77c36e9..e9e07cf 100644
--- a/bitbake/lib/toaster/toastergui/templates/newproject.html
+++ b/bitbake/lib/toaster/toastergui/templates/newproject.html
@@ -6,17 +6,14 @@
 
 {% block pagecontent %}
 <div class="row">
+  <div class="col-md-12">
     <div class="page-header">
           <h1>Create a new project</h1>
         </div>
-        <div class="container">
     {% if alert %}
-      <div class="alert alert-error row" role="alert">{{alert}}</div>
+      <div class="alert alert-error" role="alert">{{alert}}</div>
     {% endif %}
-        </div>
 
-      <div class="row">
-        <div class="col-md-6">
         <form method="POST">{% csrf_token %}
 
             <fieldset id="validate-project-name">
@@ -53,23 +50,26 @@
                      >{{release.description}}</option>
                 {% endfor %}
               </select>
+              <div class="row">
+                <div class="col-md-4">
                 {% for release in releases %}
-              <div class="row helptext" id="description-{{release.id}}" 
style="display: none">
-                <span class="help-block 
col-md-5">{{release.helptext|safe}}</span>
-              </div>
+                  <div class="helptext" id="description-{{release.id}}" 
style="display: none">
+                    <span class="help-block">{{release.helptext|safe}}</span>
+                  </div>
                 {% endfor %}
             {% else %}
               <input type="hidden" name="projectversion" 
value="{{releases.0.id}}"/>
             {% endif %}
+                </div>
+              </div>
             </fieldset>
         {% endif %}
-
-            <div class="form-actions">
-              <input type="submit" id="create-project-button" class="btn 
btn-primary btn-lg" value="Create project"/>
+            <div class="air">
+              <input type="submit" id="create-project-button" class="btn 
btn-primary btn-large" value="Create project"/>
               <span class="help-inline" style="vertical-align:middle;">To 
create a project, you need to enter a project name</span>
             </div>
+
         </form>
-        </div>
         <!--
         <div class="col-md-5 well">
                 <span class="help-block">
@@ -84,7 +84,7 @@
                  <p>If you create a <strong>build project</strong>, you will 
need to select a <strong>release</strong>,
                  which is the version of the build system you want to use to 
run your builds.</p>
              </div> -->
-        </div>
+      </div>
     </div>
 
     <script type="text/javascript">
-- 
1.9.1

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to