aboutsummaryrefslogblamecommitdiffhomepage
path: root/tpl/default/import.html
blob: 6c44c0f58fc33889fe5ffad71dcd006ef67a56e6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                        
                                                           



































































                                                                                                             
<!DOCTYPE html>
<html>
<head>
  {include="includes"}
</head>
<body>
{include="page.header"}

{$ratioLabel='5-12'}
{$ratioLabelMobile='7-8'}
{$ratioInput='7-12'}
{$ratioInputMobile='1-8'}

<form method="POST" action="?do=import" enctype="multipart/form-data" name="uploadform" id="uploadform">
  <div class="pure-g">
    <div class="pure-u-lg-1-4 pure-u-1-8"></div>
    <div class="pure-u-lg-1-2 pure-u-3-4 page-form page-form-complete">
      <div>
        <h2 class="window-title">{"Import Database"|t}</h2>
      </div>

      <input type="hidden" name="token" value="{$token}">
      <div class="center" id="import-field">
        <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
        <input type="file" name="filetoupload">
      </div>

      <div class="pure-g">
        <div class="pure-u-lg-1-3 pure-u-1">
          <div class="form-label">
            <label><span class="label-name">{'Visibility'|t}</span></label>
          </div>
        </div>
        <div class="pure-u-lg-2-3 pure-u-1">
          <div class="radio-buttons">
            <div>
              <input type="radio" name="privacy" value="default" checked="true">
              Use values from the imported file, default to public
            </div>
            <div>
              <input type="radio" name="privacy" value="private">
              Import all bookmarks as private
            </div>
            <div>
              <input type="radio" name="privacy" value="public">
              Import all bookmarks as public
            </div>
          </div>
        </div>
      </div>

      <div class="pure-g">
        <div class="pure-u-lg-1-3 pure-u-7-8">
          <div class="form-label">
            <label for="overwrite"><span class="label-name">{'Overwrite existing bookmarks'|t}</span></label>
          </div>
        </div>
        <div class="pure-u-lg-2-3 pure-u-1-8">
          <div class="form-input">
            <input type="checkbox" name="overwrite" id="overwrite">
          </div>
        </div>
      </div>

      <div class="pure-g">
        <div class="pure-u-lg-1-3 pure-u-1">
          <div class="form-label">
            <label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
          </div>
        </div>
        <div class="pure-u-lg-2-3 pure-u-1">
          <div class="form-input">
            <input type="text" name="default_tags" id="default_tags">
          </div>
        </div>
      </div>

      <div class="center">
        <input type="submit" name="import_file" value="{'Import'|t}">
      </div>
    </div>
  </div>
</form>

{include="page.footer"}
</body>
</html>