climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1497045 - in /incubator/climate/trunk/rcmet/src/main/ui/app: css/app.css index.html
Date Wed, 26 Jun 2013 19:05:40 GMT
Author: joyce
Date: Wed Jun 26 19:05:39 2013
New Revision: 1497045

URL: http://svn.apache.org/r1497045
Log:
CLIMATE-152 progress - Update dataset display

- Add datasetDiv Id that styles the dataset display area to the correct
  width/height. Scrolling is added when the dataset list gets too long.
- Set the max-width of body to the maximum width bootstrap allows for
  with its grid layout. Without this things were resizing strangely when
  the page width was really large.
- Change the row/span layout for the title of datasets.

Modified:
    incubator/climate/trunk/rcmet/src/main/ui/app/css/app.css
    incubator/climate/trunk/rcmet/src/main/ui/app/index.html

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/css/app.css
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/css/app.css?rev=1497045&r1=1497044&r2=1497045&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/css/app.css (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/css/app.css Wed Jun 26 19:05:39 2013
@@ -21,6 +21,18 @@ body 
 {
 	margin-left: 3%;
 	margin-top: 3%;
+
+	/* The max width that bootstrap can handle. Prevents weird resizing issues*/
+	max-width: 1170px;
+}
+
+#datasetDiv
+{
+	height: 750px;
+	width: 100%;
+	margin-left: 30px;
+	padding-left: 10px;
+	overflow: auto;
 }
 
 #map 

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/index.html
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/index.html?rev=1497045&r1=1497044&r2=1497045&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/index.html (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/index.html Wed Jun 26 19:05:39 2013
@@ -115,12 +115,12 @@
       <div class="row span6"><hr /></div>
     </div>
     <!--Dataset display-->
-    <div ng-controller="DatasetDisplayCtrl">
+    <div ng-controller="DatasetDisplayCtrl" id="datasetDiv">
       <div ng-repeat="dataset in datasets">
-      <div class="row displayRow">
-      <div class="span4 ">
-        <input class="span4 text-center" type="text" value="{{dataset.name}}" />
-      </div>
+      <div class="row">
+        <div class="span4 ">
+          <input class="span4 text-center" type="text" value="{{dataset.name}}" />
+        </div>
       </div>
       <!--Time Values!-->
       <div class="row displayRow">



Mime
View raw message