diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-08-17 21:25:50 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-08-17 21:25:50 -0400 |
commit | f2e87a204d0a257edb501dfedaad867700c58842 (patch) | |
tree | adf61dd77dedbb332c5e48fe0e297da54047d7f8 /view/tpl | |
parent | c98b91f5149d53f522a19ec0f69b4d4727d34896 (diff) | |
download | volse-hubzilla-f2e87a204d0a257edb501dfedaad867700c58842.tar.gz volse-hubzilla-f2e87a204d0a257edb501dfedaad867700c58842.tar.bz2 volse-hubzilla-f2e87a204d0a257edb501dfedaad867700c58842.zip |
Progress implementing zip file export
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/webpage_export_list.tpl | 21 | ||||
-rw-r--r-- | view/tpl/website_export_tools.tpl | 14 | ||||
-rw-r--r-- | view/tpl/website_portation_tools.tpl (renamed from view/tpl/website_import_tools.tpl) | 29 |
3 files changed, 46 insertions, 18 deletions
diff --git a/view/tpl/webpage_export_list.tpl b/view/tpl/webpage_export_list.tpl new file mode 100644 index 000000000..4ee14359d --- /dev/null +++ b/view/tpl/webpage_export_list.tpl @@ -0,0 +1,21 @@ +<div class="generic-content-wrapper"> + <form action="" method="post" autocomplete="on" > + <input type="hidden" name="action" value="{{$action}}"> + <div class="section-title-wrapper"> + <div class="pull-right"> + <button class="btn btn-md btn-success" type="submit" name="submit" value="{{$exportbtn}}">{{$exportbtn}}</button> + </div> + <h2>{{$title}}</h2> + <div class="clear"></div> + </div> + <div id="import-website-content-wrapper" class="section-content-wrapper"> + <div class="pull-left"> + <button id="toggle-select-all" class="btn btn-xs btn-primary" onclick="checkedAll(window.isChecked); return false;"><i class="fa fa-check"></i> Toggle Select All</button> + </div> + <div class="clear"></div> + + </div> + <div class="clear"></div> + </form> +</div> + diff --git a/view/tpl/website_export_tools.tpl b/view/tpl/website_export_tools.tpl deleted file mode 100644 index 36f5c8e24..000000000 --- a/view/tpl/website_export_tools.tpl +++ /dev/null @@ -1,14 +0,0 @@ -<div id="website-export-tools" class="widget"> - <h3>{{$title}}</h3> - <ul class="nav nav-pills nav-stacked"> - <li> - <a href="#" onclick="openClose('export-form'); - return false;"><i class="fa fa-cloud-upload generic-icons"></i> {{$export_label}}</a> - </li> - <li> - <form id="export-form" enctype="multipart/form-data" method="post" action="" style="display: none;" class="sub-menu"> - - </form> - </li> - </ul> -</div> diff --git a/view/tpl/website_import_tools.tpl b/view/tpl/website_portation_tools.tpl index cb3e6b524..d9ebed179 100644 --- a/view/tpl/website_import_tools.tpl +++ b/view/tpl/website_portation_tools.tpl @@ -1,16 +1,15 @@ -<div id="website-import-tools" class="widget"> - <h3>{{$title}}</h3> +<div id="website-portation-tools" class="widget"> <ul class="nav nav-pills nav-stacked"> <li> <a href="#" onclick="openClose('import-form'); return false;"><i class="fa fa-cloud-upload generic-icons"></i> {{$import_label}}</a> </li> - <li> + <li style="margin-left: 12px;" > <form id="import-form" enctype="multipart/form-data" method="post" action="" style="display: none;" class="sub-menu"> <input type="hidden" name="action" value="scan"> - <p style="margin-top: 20px;" class="descriptive-text">{{$file_import_text}}</p> + <p style="margin-top: 10px;" class="descriptive-text">{{$file_import_text}}</p> <div class="form-group"> <div class="input-group"> <input class="widget-input" type="text" name="path" title="{{$hint}}" placeholder="{{$desc}}" /> @@ -34,4 +33,26 @@ </form> </li> </ul> + <ul class="nav nav-pills nav-stacked"> + <li> + <a href="#" onclick="openClose('export-form'); + return false;"><i class="fa fa-share-square-o generic-icons"></i> {{$export_label}}</a> + </li> + <li style="margin-left: 12px;" > + <form id="export-form" enctype="multipart/form-data" method="post" action="" style="display: none;" class="sub-menu"> + <input type="hidden" name="action" value="exportzipfile"> + <!-- Or download a zipped file containing the website --> + <p style="margin-top: 10px;" class="descriptive-text">{{$file_download_text}}</p> + <div class="form-group"> + + <div class="input-group"> + <input class="widget-input" type="text" name="filename" title="{{$filename_hint}}" placeholder="{{$filename_desc}}" /> + <div class="input-group-btn"> + <button class="btn btn-default btn-sm" type="submit" name="w_download" value="w_download"><i class="fa fa-download generic-icons"></i></button> + </div> + </div> + </div> + </form> + </li> + </ul> </div> |