-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
162 lines (139 loc) · 8.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!doctype html>
<html ng-app="main">
<head>
<meta charset="utf-8">
<title>AEC Hack</title>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/LayerList.css">
<link rel="stylesheet" href="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/ObjectTreeView.css">
<link rel="stylesheet" href="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/ProgressBar.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script>
<script src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/lib/scenejs/scenejs.js"></script>
<script src="https://rawgit.com/opensourceBIM/bimvie.ws/master/js/String.js"></script>
<script src="./js/lib/ui-bootstrap-tpls-0.14.3.min.js"></script>
<script src="./js/angular/app.js"></script>
<script src="./js/angular/controller.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/AsyncStream.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/BIMSURFER.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Constants.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/DataInputStream.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Events.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/GeometryLoader.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/ProgressLoader.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/SceneJS.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/StringView.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Util.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Viewer.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Types/Light.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Types/Light/Ambient.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Types/Light/Camera.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Types/Light/Sun.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/ClickSelect.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/LayerList.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/ObjectTreeView.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/PickFlyOrbit.js"></script>
<script type="text/javascript" src="https://rawgit.com/AECHack-2015-nl-Challenge-Bim4nonBimers/BIMsurfer/master/api/Control/ProgressBar.js"></script>
<script type="text/javascript" src="js/require.js"></script>
<script type="text/javascript" src="js/bimserverapibootstrap.js"></script>
<style>
html, body{
height : 100%;
}
#main-holder, .column{
height : 100%;
}
#main-holder{
margin-top : 50px;
}
.right-column{
border-left : 1px solid #999;
padding : 10px;
}
.property-list-holder{
margin-left : 5%;
}
.property-list-name{
font-size : 1.8em;
color:#999;
}
.property-list-name i{
margin-right : 5px;
}
.property-list-name:hover{
text-decoration:underline;
cursor:pointer;
}
.property-item{
margin-left : 5%;
}
.selected{
background : #999;
color : #eee;
display:inline-block;
padding:8px;
border-radius : 2px;
}
.fa-button{
cursor:pointer;
}
</style>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-scroll" href="#page-top">AEC Hack</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
<li class="hidden">
<a class="page-scroll" href="#page-top"></a>
</li>
<li>
<a class="page-scroll" href="#about">About</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<div id="main-holder" class="fluid-container" ng-controller="MainCtrl">
<div class="col-md-8 column">
<div id="viewport" style="width: 1000px; height: 800px;">
</div>
</div>
<div class="col-md-4 column right-column">
<div ng-repeat="propertyList in propertyLists" class="property-list-holder">
<div class="property-list-name" ng-class="{selected:propertyList.isSelected}" ng-click="select(propertyList)" >
<i class="fa fa-caret-right" ng-show="!propertyList.isCollapsed" ng-click="propertyList.isCollapsed = !propertyList.isCollapsed"></i>
<i class="fa fa-caret-down" ng-show="propertyList.isCollapsed" ng-click="propertyList.isCollapsed = !propertyList.isCollapsed"></i>{{propertyList.name}}
</div>
<div class="properties-holder" uib-collapse="!propertyList.isCollapsed">
<div class="property-item" ng-repeat="property in propertyList.properties">
<span ng-show="!property.isEditing">{{property.name}} : {{property.value}}<i ng-click="property.isEditing = true" class="fa-button fa fa-pencil" style="margin-left : 5px;"></i>
</span>
<span ng-show="property.isEditing">
<input type="text" ng-model="property.value">
<i ng-click="saveProperty(property)" class="fa-button fa fa-check" style="margin-left : 5px;"></i>
</span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>