Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jun 2013
    Posts
    66
    Vote Rating
    0
    LandryAssocies is on a distinguished road

      0  

    Default Index.html generation problem

    Index.html generation problem


    Here is whart Architect keep generating over my index.html
    (latest architect - Sencha touch)

    Code:
        <!DOCTYPE HTML>
    
    
    <html manifest="" lang="en-US">
    <head>
        <meta charset="UTF-8">
        <title>CarboZero</title>
        <!-- The line below must be kept intact for Sencha Command to build your application -->
        <script id="microloader" type="text/javascript" src="touch/microloader/development.js"></script>
        <script>
            var Ext = Ext || {};
            Ext.theme = {
                name: "Default"
            };
        </script>
        <link rel="stylesheet" href="http://cdn.sencha.com/touch/sencha-touch-2.2.1/resources/css/sencha-touch.css">
        <script src="resources/AppLibrary.js"></script>
        <script src="resources/ENG.js"></script>
        <script src="resources/FR.js"></script>
        <script src="resources/ESP.js"></script>
        <script src="resources/GlobalVariables.js"></script>
        <script src="resources/ProjectStorage.js"></script>
        <script src="resources/Elements.js"></script>
        <script src="resources/UnitConversion.js"></script>
        <script src="resources/Types.js"></script>
        <script src="resources/LanguageConversion.js"></script>
        <script src="resources/ESPElement.js"></script>
        <script src="resources/ENGElement.js"></script>
        <script src="resources/FRElement.js"></script>
        <script type="text/javascript" src="app.js"></script>
    </head>
    <body></body>
    </html>

    Here is what is generated for any new project...
    Code:
    <!DOCTYPE HTML>
    <html manifest="" lang="en-US">
    <head>
        <meta charset="UTF-8">
        <title>test</title>
        <style type="text/css">
             /**
             * Example of an initial loading indicator.
             * It is recommended to keep this as minimal as possible to provide instant feedback
             * while other resources are still being loaded for the first time
             */
            html, body {
                height: 100%;
                background-color: #1985D0
            }
    
    
            #appLoadingIndicator {
                position: absolute;
                top: 50%;
                margin-top: -15px;
                text-align: center;
                width: 100%;
                height: 30px;
                -webkit-animation-name: appLoadingIndicator;
                -webkit-animation-duration: 0.5s;
                -webkit-animation-iteration-count: infinite;
                -webkit-animation-direction: linear;
            }
    
    
            #appLoadingIndicator > * {
                background-color: #FFFFFF;
                display: inline-block;
                height: 30px;
                -webkit-border-radius: 15px;
                margin: 0 5px;
                width: 30px;
                opacity: 0.8;
            }
    
    
            @-webkit-keyframes appLoadingIndicator{
                0% {
                    opacity: 0.8
                }
                50% {
                    opacity: 0
                }
                100% {
                    opacity: 0.8
                }
            }
        </style>
        <!-- The line below must be kept intact for Sencha Command to build your application -->
        <script id="microloader" type="text/javascript" src="touch/microloader/development.js"></script>
    </head>
    <body>
        <div id="appLoadingIndicator">
            <div></div>
            <div></div>
            <div></div>
        </div>
    </body>
    </html>

    My real project (first code sample) is not loading css, but when I changed it's index.html manually to the 2nd one with the loaded files.... it works, but architect keep overriding my index.html with the wrong sample...

    What is going on

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2013
    Posts
    66
    Vote Rating
    0
    LandryAssocies is on a distinguished road

      0  

    Default


    What am I suppose to do to fix that issue....

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    If you want to use a custom html file; rename it to something else.

    This way Architect will not continually write over it.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1