Source: site.view [edit]
Function name: games
Arguments: game
Description:
Page type: html
Render function:  
Module: demavu

Page source:

<webl>
WubCall("demavu.setConfigVar", ["staging","selectedGame", game]);
WubCall("demavu.top", []);</webl>

        <!-- partial -->
        <div class="main-panel">
          <div class="content-wrapper">


            <div class="row">
              <div class="col-sm-4 grid-margin">
                <div class="card">
                  <div class="card-body">
                    <h5>Game</h5>
                    <div class="row">
                      <div class="col-8 col-sm-12 col-xl-8 my-auto">
                        <h1 id="name" class="mb-0"><webl>WubCall("demavu.data2", ["-","-","games",game,"name"]);</webl></h1>
                        <small class="text-muted"><a onclick="addHtmlBefore('name','<input id=&quot;editName&quot; type=&quot;text&quot; class=&quot;form-control editable&quot; title=&quot;-,games,<webl>game</webl>,name&quot; value=&quot;<webl>WubCall("demavu.data2", ["-","-","games",game,"name"])</webl>&quot;>')">(Edit)</a></small>
                        <div class="d-flex d-sm-block d-md-flex align-items-center">
                          <img class="" id="imgGameLogo" src="<webl>var s = WubCall("demavu.data2", ["-","-","games",game,"image"]);if s == "" then s = "/images/question.png" else s end;</webl>" 
                                  alt="<webl>WubCall("demavu.data2", ["-","-","games",game,"name"]);</webl>">
                        </div>
                        <input type="text" class="form-control imgtext editable" title="-,games,<webl>game</webl>,image" id="txtGameLogo" 
                            placeholder="Enter image URL" value="<webl>var s = WubCall("demavu.data2", ["-","-","games",game,"image"]); if s == "" then s = "/images/question.png" else s end;</webl>">
                        <p>&nbsp;<p>
                        <textarea class="form-control editable" title="-,games,<webl>game</webl>,description" id="description" rows="3"><webl>WubCall("demavu.data2", ["-","-","games",game,"description"]);</webl></textarea>
                      </div>
                    </div>
                  </div>
                </div>


              </div>

              <div class="col-md-8 grid-margin stretch-card">
                <div class="card">
                  <div class="card-body">
                    <h5>Screenshots</h5>
                    <div class="owl-carousel owl-theme full-width owl-carousel-dash portfolio-carousel" id="owl-carousel-basic">
                <webl>
                   var screens=WubCall("demavu.data2", ["-","-","games",game,"scenes","*","image"]);
                   var s = "";
                   every screen in screens do                   
                       s = s + `<div class="item">
                        <img height="450px" src="` + screen.value + `" alt="">
                      </div>` + "\n"
                   end;
                   s;
                </webl>
                      

                    </div>
                  </div>
                </div>
              </div>

            </div>

            <div class="row">
              <div class="col-sm-12 grid-margin">
                <div class="card">
                  <div class="card-body">
                    <h5>Description Text</h5>
                    <div class="form-group">
                      <textarea class="form-control editable" title="-,games,<webl>game</webl>,longDescription" id="longDescription" rows="8"><webl>WubCall("demavu.data2", ["-","-","games",game,"longDescription"]);</webl></textarea>
                    </div>
                  </div>
                </div>
              </div>
            </div>


          </div>
          <!-- content-wrapper ends -->

<webl>WubCall("demavu.footer", []);</webl>