buzmakov avatar buzmakov committed 012db8e Draft

little bootstrap

Comments (0)

Files changed (1)

tomofrontend/web/templates/tomo_info.html

 {% block title %}Информация об объекте{% endblock %}
 {% block body %}
 <div class="container">
+    <div class="span8">
+        <dl class="dl">
 
-    <dl class="dl">
+            <dt> Object ID: </dt>
+            <dd> {{ tomo_object['id'] }}</dd>
 
-        <dt> Object ID: </dt>
-        <dd> {{ tomo_object['id'] }}</dd>
+            <dt> Object Path:</dt>
+            <dd> {{ tomo_object['data_dir'] }}</dd>
 
-        <dt> Object Path:</dt>
-        <dd> {{ tomo_object['data_dir'] }}</dd>
+            <dt> Object Profile:</dt>
+            <dd>{{ tomo_object['config']['profile'] }}</dd>
 
-        <dt> Object Profile:</dt>
-        <dd>{{ tomo_object['config']['profile'] }}</dd>
+            <dd>
+                <a href="{{ url_for('tomo_result',tomo_object_id=tomo_object['id']) }}">
+                    Перейти на страницу реконструкции
+                </a>
+            </dd>
 
-        <dd>
-            <a href="{{ url_for('tomo_result',tomo_object_id=tomo_object['id']) }}">
-                Перейти на страницу реконструкции
-            </a>
-        </dd>
+            <dt>Object status:</dt>
+            <dd>{{ tomo_object['status'][-1]['message'] }}</dd>
 
-        <dt>Object status:</dt>
-        <dd>{{ tomo_object['status'][-1]['message'] }}</dd>
+            <dt> Детальный статус объекта</dt>
+            <dd>
+                <pre class="pre-scrollable linenums">{{ tomo_object.get_formated_status() }}</pre>
+            </dd>
 
-        <dt> Детальный статус объекта</dt>
-        <dd>
-            <textarea cols="80" readonly="true">{{ tomo_object.get_formated_status() }}</textarea>
-        </dd>
-
-        <dt>Tomo config: </dt>
-        <dd>
-            <textarea cols="80" readonly="true">{{ tomo_object.get_formated_config() }}</textarea>
-        </dd>
-    </dl>
-</div>
+            <dt>Tomo config: </dt>
+            <dd>
+                <pre class="pre-scrollable linenums">{{ tomo_object.get_formated_config() }}</pre>
+            </dd>
+        </dl>
+    </div>
 </div>
 {% endblock%}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.