[EAGLE-625] remove site ignore

Root `.gitignore` prevent the site folder which ignore the web page site folder.

Author: zombieJ <smith3...@gmail.com>

Closes #516 from zombieJ/EAGLE-625.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/33b97206
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/33b97206
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/33b97206

Branch: refs/heads/master
Commit: 33b9720656b8cd7ec5df883b79b20bccd5bddb3e
Parents: 97edbbb
Author: zombieJ <smith3...@gmail.com>
Authored: Mon Oct 17 10:28:26 2016 +0800
Committer: zombieJ <smith3...@gmail.com>
Committed: Mon Oct 17 10:28:26 2016 +0800

----------------------------------------------------------------------
 .gitignore                                      |  1 -
 .../main/webapp/app/dev/partials/site/home.html | 36 ++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/33b97206/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3a925f3..cfff821 100644
--- a/.gitignore
+++ b/.gitignore
@@ -83,5 +83,4 @@ logs/
 *.orig
 **/*.pyc
 
-site/
 **/*.db
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/33b97206/eagle-server/src/main/webapp/app/dev/partials/site/home.html
----------------------------------------------------------------------
diff --git a/eagle-server/src/main/webapp/app/dev/partials/site/home.html 
b/eagle-server/src/main/webapp/app/dev/partials/site/home.html
new file mode 100644
index 0000000..217db56
--- /dev/null
+++ b/eagle-server/src/main/webapp/app/dev/partials/site/home.html
@@ -0,0 +1,36 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+
+<div class="row flex">
+       <div class="col-sm-6 col-md-4 col-lg-3" ng-repeat="widget in 
Widget.list track by $index">
+               <div widget="widget"></div>
+       </div>
+
+       <div class="col-sm-6 col-md-4 col-lg-3" ng-if="Widget.list.length === 
0">
+               <div class="small-box bg-gray">
+                       <div class="inner">
+                               <h3>No Widget</h3>
+
+                               <p>No widget provided by Application</p>
+                       </div>
+                       <div class="icon">
+                               <i class="fa fa-info-circle"></i>
+                       </div>
+               </div>
+       </div>
+</div>

Reply via email to