Copy Page To Workspace


Home: Socialtext Style Customization Guide
Up: Styling The Popup Windows
Previous: Rename Page
Next: Email Page


copy-to-workspace.jpg

HTML Snippet

<body id="st-popup-sendtoworkspace" class="st-popup">
  <form method="post" action="index.cgi" enctype="application/x-www-form-urlencoded">
    <p>Send the page <span id="st-send-to-workspace-page-title">"Socialtext Documentation"</span> to another workspace?</p>
    <p>New workspace:
      <select name="target_workspace_id">
        <option value="3">admin</option>
        <option value="2">exchange</option>
      </select>
    </p>
    <p id="st-send-to-workspace-new-page-title" >New page name: 
      <input type="text" name="new_title" value="Socialtext Documentation" size="34" />
    </p>
    <p>Keep categories: 
      <input type="checkbox" name="keep_categories" value="1" checked="checked" />
    </p>
    <p>Keep attachments: 
      <input type="checkbox" name="keep_attachments" value="1" checked="checked" />
    </p>
    <p id="st-send-to-workspace-buttons-container">
      <input type="submit" name="Button" value="Send"  class="standard-button-submit" />
      <input type="reset" name="Button" value="Cancel" onclick="window.close();return true;" class="standard-button-cancel" />
    </p>
    <input type="hidden" name="action" value="send_to_workspace" />
    <input type="hidden" name="page_name" value="Socialtext Documentation" />
  </form>
</body>

CSS Selectors

#st-popup-sendtoworkspace
body.st-popup
#st-send-to-workspace-page-title
#st-send-to-workspace-new-page-title
#st-send-to-workspace-buttons-container
.standard-button-submit
.standard-button-cancel
p.st-popup-errormessage