[Kimchi-devel] [PATCH] [Wok 09/10] Remove build warning message from Wok

Aline Manera alinefm at linux.vnet.ibm.com
Wed Oct 26 14:30:06 UTC 2016


The build warning is a legacy code to warn a developer to build Kimchi
source prior to run it (d14d2d56cc2c01479e95f23a87404241cefcb2e2)

It does not apply to Wok anymore. So remove it.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 ui/css/theme-default/window.css |  5 -----
 ui/pages/wok-ui.html.tmpl       | 30 ------------------------------
 2 files changed, 35 deletions(-)

diff --git a/ui/css/theme-default/window.css b/ui/css/theme-default/window.css
index 7213cb3..2efe48f 100644
--- a/ui/css/theme-default/window.css
+++ b/ui/css/theme-default/window.css
@@ -17,11 +17,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-/* Hide the "Build Me" warning */
-#buildme {
-    display: none;
-}
-
 .bgmask {
     position: fixed;
     left: 0;
diff --git a/ui/pages/wok-ui.html.tmpl b/ui/pages/wok-ui.html.tmpl
index c76082a..4f821da 100644
--- a/ui/pages/wok-ui.html.tmpl
+++ b/ui/pages/wok-ui.html.tmpl
@@ -91,29 +91,6 @@
     <script src="$href('base64/jquery.base64.js')"></script>
     <script src="$href('js/wok.min.js')"></script>
     <!-- This is used for detecting if the UI needs to be built -->
-    <style type="text/css">
-    #buildme {
-        position: fixed;
-        background: rgba(0, 0, 0, 0.5);
-        top: 0;
-        left: 0;
-        width: 100%;
-        height: 100%;
-        z-index: 10000;
-    }
-    #buildme div {
-        background-color: #FFB2C0;
-        border-style: solid;
-        border-color: #FF0000;
-        padding: 30px;
-        width: 75%;
-        margin-left: auto;
-        margin-right: auto;
-        margin-top: 50px;
-        -moz-border-radius: 15px;
-        border-radius: 15px;
-    }
-    </style>
     </head>
 <body onload="wok.main()">
     <div class="topbar">
@@ -174,13 +151,6 @@
     </div>
     </div>
 
-    <div id="buildme" style="display:none">
-        <div><p>Oops!  It looks like I am running from a source tree and you forgot to build!
-    Please run the following command from the wok and plugins directories and reload this page:</p>
-        <p><code>make</code></p>
-        </div>
-    </div>
-
     <div class="modal fade host-modal" id="aboutModal" tabindex="-1" role="dialog" labelledby="aboutModalLabel" aria-hidden="true">
     </div>
 
-- 
2.7.4




More information about the Kimchi-devel mailing list