summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/CMakeLists.txt20
-rw-r--r--static/css/intel.css110
-rw-r--r--static/partial-sensor.html2
3 files changed, 122 insertions, 10 deletions
diff --git a/static/CMakeLists.txt b/static/CMakeLists.txt
index b5a53ecbe9..4e6831c13d 100644
--- a/static/CMakeLists.txt
+++ b/static/CMakeLists.txt
@@ -79,15 +79,17 @@ foreach(JAVASCRIPT_ASSET ${JAVASCRIPT_ASSETS})
get_filename_component(FOLDERNAME ${MINIFIED_FILENAME} DIRECTORY)
# string(REGEX REPLACE "(\\.[^.]*$)" ".min\\1" OUTPUT_FILENAME ${OUTPUT_FILENAME})
file(MAKE_DIRECTORY "${FOLDERNAME}")
- add_custom_command(OUTPUT ${MINIFIED_FILENAME}
- COMMAND uglifyjs --compress --mangle
- --output "${MINIFIED_FILENAME}"
- "${CMAKE_CURRENT_SOURCE_DIR}/${JAVASCRIPT_ASSET}"
- DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${JAVASCRIPT_ASSET}"
- COMMENT "Minifying ${JAVASCRIPT_ASSET}"
- )
-
- list(APPEND MINIFIED_ASSETS_OUT ${MINIFIED_FILENAME})
+ if(UGLIFY_MINIFIER)
+ add_custom_command(OUTPUT ${MINIFIED_FILENAME}
+ COMMAND uglifyjs --compress --mangle
+ --output "${MINIFIED_FILENAME}"
+ "${CMAKE_CURRENT_SOURCE_DIR}/${JAVASCRIPT_ASSET}"
+ DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${JAVASCRIPT_ASSET}"
+ COMMENT "Minifying ${JAVASCRIPT_ASSET}"
+ )
+ list(APPEND MINIFIED_ASSETS_OUT ${MINIFIED_FILENAME})
+ endif(UGLIFY_MINIFIER)
+
# if it's a debug build, use the unminified version
if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR NOT UGLIFY_MINIFIER)
list(APPEND STATIC_ASSETS_OUT ${CMAKE_CURRENT_SOURCE_DIR}/${JAVASCRIPT_ASSET})
diff --git a/static/css/intel.css b/static/css/intel.css
index 6915f8adac..2596d1e1bf 100644
--- a/static/css/intel.css
+++ b/static/css/intel.css
@@ -2880,5 +2880,115 @@ a.forgot-pass {
color: #fff!important
}
+.animate-enter {
+ -webkit-animation: enter 600ms cubic-bezier(0.390, 0.575, 0.565, 1.000);
+ animation: enter 600ms cubic-bezier(0.390, 0.575, 0.565, 1.000);
+ display: block;
+ position: relative;
+}
+
+@-webkit-keyframes enter {
+ from {
+ opacity: 0;
+ height: 0px;
+ }
+ 20% {
+ opacity: .5;
+ }
+ 40% {
+ opacity: .15;
+ color: red;
+ }
+ 60% {
+ opacity: .75;
+ }
+ 80% {
+ opacity: .3;
+ }
+ to {
+ opacity: 1;
+ height: 30px;
+ }
+}
+
+@keyframes enter {
+ from {
+ opacity: 0;
+ height: 0px;
+ }
+ 20% {
+ opacity: .5;
+ }
+ 40% {
+ opacity: .15;
+ color: red;
+ }
+ 60% {
+ opacity: .75;
+ }
+ 80% {
+ opacity: .3;
+ }
+ to {
+ opacity: 1;
+ height: 30px;
+ }
+}
+
+.animate-leave {
+ -webkit-animation: leave 600ms cubic-bezier(0.390, 0.575, 0.565, 1.000);
+ animation: leave 600ms cubic-bezier(0.390, 0.575, 0.565, 1.000);
+ display: block;
+ position: relative;
+}
+
+@-webkit-keyframes leave {
+ to {
+ opacity: 0;
+ height: 0px;
+ }
+ 80% {
+ opacity: .25;
+ }
+ 60% {
+ opacity: .10;
+ color: red;
+ }
+ 40% {
+ opacity: .5;
+ }
+ 20% {
+ opacity: .30;
+ }
+ from {
+ opacity: 1;
+ height: 30px;
+ }
+}
+
+@keyframes leave {
+ to {
+ opacity: 0;
+ height: 0px;
+ }
+ 80% {
+ opacity: .25;
+ }
+ 60% {
+ opacity: .10;
+ color: red;
+ }
+ 40% {
+ opacity: .5;
+ }
+ 20% {
+ opacity: .30;
+ }
+ from {
+ opacity: 1;
+ height: 30px;
+ }
+}
+
/*# sourceMappingURL=../maps/styles/auth-a200a050c1.css.map */ \ No newline at end of file
diff --git a/static/partial-sensor.html b/static/partial-sensor.html
index 09f1cadfde..3486a63610 100644
--- a/static/partial-sensor.html
+++ b/static/partial-sensor.html
@@ -15,7 +15,7 @@
</tr>
</thead>
<tbody>
- <tr ng-repeat="(sensor_name, value) in sensor_values">
+ <tr ng-animate="'animate'" ng-repeat="(sensor_name, value) in sensor_values">
<td class="fit">{{ sensor_name }}</td>
<td class="fit">{{ value }}</td>
</tr>