Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: companies Arguments: company Description: Page type: html Render function: Module: demavu Page source: <webl>WubCall("demavu.top", []);</webl> <!-- partial --> <div class="main-panel"> <div class="content-wrapper"> <div class="row"> <div class="col-sm-12 grid-margin"> <div class="card"> <div class="card-body"> <h5>Company</h5> <div class="row"> <div class="col-8 col-sm-12 col-xl-8 my-auto"> <div id="name" class="d-flex d-sm-block d-md-flex align-items-center"> <h1 class="mb-0"><webl>WubCall("demavu.data2", ["-","-","companies",company,"name"]);</webl></h1> </div> <small class="text-muted"><a onclick="addHtmlBefore('name','<input id="editName" type="text" class="form-control editable" title="-,companies,<webl>company</webl>,name" value="<webl>WubCall("demavu.data2", ["-","-", "companies",company, "name"])</webl>"><p>')">(Edit)</a></small> <small class="text-muted"><a onclick="removeObject('companies','<webl>company</webl>')">(Delete)</a></small> </div> </div> </div> </div> <div class="card"> <div class="card-body"> <h5>Description</h5> <div class="form-group"> <textarea class="form-control editable" title="-,companies,<webl>company</webl>,description" id="description" rows="4"><webl>WubCall("demavu.data2", ["-", "-", "companies",company,"description"]);</webl></textarea> </div> <h5>Website <a target="_blank" href="<webl>WubCall("demavu.data2", ["-", "-", "companies",company,"website"]);</webl>">[Visit]</a></h5> <div class="form-group"> <textarea class="form-control editable" title="-,companies,<webl>company</webl>,website" id="description" rows="1"><webl>WubCall("demavu.data2", ["-", "-", "companies",company,"website"]);</webl></textarea> </div> </div> </div> <div class="row"> <div class="col-sm-12 grid-margin"> <div class="card"> <div class="card-body"> <h5>Users</h5> <table style="width: 100%; border-collapse: collapse;"><tr> <td style="width: 33.33%; text-align: left; padding: 5px;"> <input type="text" class="form-control imgtext editable" title="-,companies,<webl>company</webl>,users,adam_cheyer,name" id="txtUserName" placeholder="Enter User Name" value="" style="width: 150px;"> </td> <td style="width: 33.33%; text-align: left; padding: 5px;"> <input type="text" class="form-control imgtext editable" title="-,companies,<webl>company</webl>,users,adam_cheyer,email" id="txtEmail" placeholder="Enter Email" value="" style="width: 150px;"> </td> <td style="width: 33.33%; text-align: left; padding: 5px;"> <input type="password" class="form-control imgtext editable" title="-,companies,<webl>company</webl>,users,adam_cheyer,pw" id="txtPW" placeholder="Enter Password" value="" style="width: 150px;"> </td> </tr></table> <webl> var users = WubCall("demavu.data2", ["-","-","companies", company, "users","*","name"]); var s = ""; var i = 1; every user in users do s = s + ` <div class="form-group">` + "\n"; /* s = s + ` <textarea class="form-control editable" title="-,companies,` + company + `,users,` + output + `,variations,` + ToString(i) + `" id="txtVariation` + ToString(i) + `" rows="5">` + variation.value + "</textarea>\n"; */ s = s + " </div>\n\n"; i = i + 1; end; s; </webl> <button class="btn btn-primary" id="addUserBtn" onclick="">+Add User</button> </div> </div> </div> </div> </div> <!-- content-wrapper ends --> <webl>WubCall("demavu.footer", []);</webl>