Initial implementation of bootstrap

This commit is contained in:
2013-09-05 22:49:56 +10:00
parent 9421656268
commit 6057e403f6
24 changed files with 27701 additions and 8 deletions

View File

@@ -1,15 +1,11 @@
{% load static %}
{% load dajaxice_templatetags %}
<h1>{{ sample.name }}</h1>
<html>
{{ sample.description }}
<br>
<head>
<title>js-openctm - Demo</title>
<title>3D Sample Viewer</title>
<link href="{% static "three_d_viewer/css/bootstrap.css" %}" rel="stylesheet">
<script type="text/javascript" src="{% static "three_d_viewer/lzma.js" %}"></script>
<script type="text/javascript" src="{% static "three_d_viewer/ctm.js" %}"></script>
<script type="text/javascript" src="{% static "three_d_viewer/glMatrix-0.9.5.min.js" %}"></script>
@@ -374,6 +370,10 @@ function my_callback(data){
</head>
<body onload="load();">
<div class="page-header">
<h1>{{ sample.name }}</h1>
<p class="lead">{{ sample.description }}</p>
</div>
<center>
<canvas id="canvas" style="border: 1px dotted #bfbfbf;" width=933 height="700"></canvas>
<div><span id="progress" style="color: red"></span></br>