Submit an Artifact: Difference between revisions

From Artifacts of Capitalism
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<html>
<form id="submit-artifact" method="get" action="/index.php"
<style>
      style="font-family:serif; font-size:1rem; line-height:1.4; color:#000;">
#firstHeading, .firstHeading { display:none; }
  <input type="hidden" name="action" value="edit" />
</style>
  <input id="preload" type="hidden" name="preload" value="Template:ArtifactPreload/Tudor" />
<div style="max-width:760px; margin:2rem auto 4rem auto; font-family:serif; color:#000; line-height:1.6; font-size:1.25rem;">


   <!-- Intro / Purpose -->
   <!-- Title field -->
   <h1 style="font-family:serif; font-weight:700; font-size:1.8rem; line-height:1.2; margin-bottom:1rem; text-align:left;">
   <div style="margin-bottom:1rem;">
     Contribute to <b>Artifacts of Capitalism</b>
    <label for="title" style="display:block; font-weight:600; margin-bottom:0.25rem;">
  </h1>
      Name your artifact
 
    </label>
  <p style="margin-bottom:1rem;">
    <input id="title"
    Artifacts of Capitalism is a collaborative, scholarly platform. We welcome contributions from registered users who wish to document artifacts and insights related to capitalism’s development during the early modern period, roughly 1500-1700.
          type="text"
 
          name="title"
   </p>
          placeholder="Example: 'Grain Riots in Norwich, 1595' or 'Petition to Regulate Alehouses'"
          required
          style="width:100%; max-width:100%; box-sizing:border-box;
                  font-family:serif; font-size:1rem; line-height:1.4;
                  padding:8px 10px; border-radius:4px;
                  border:1px solid #7b6a3a; background-color:#fff;" />
     <div style="font-size:0.85rem; color:#555; margin-top:0.4rem;">
      This phrase will become the page title.
    </div>
   </div>


  <p style="margin-bottom:1rem;">
   <!-- Area / period field -->
  All documents or artifacts should be prefaced with a short abstract of about 500 words describing how it records the experience of early modern economic life. We ask that you pay attention to both the similarities and differences between that experience and our own theoretical or personal understanding of capitalism. Alterity or continuity should not be assumed. Each should be carefully considered and described when appropriate.
   <div style="margin-bottom:1rem;">
  </p>
     <label for="area" style="display:block; font-weight:600; margin-bottom:0.25rem;">
 
       Historical area
 
     </label>
   <!-- Step 1: Create Account -->
     <select id="area"
   <div style="background-color:#f9f7f1; border:1px solid #d2c6a4; border-radius:6px; padding:1.25rem 1rem 1rem 1rem; margin:2rem 0;">
            required
     <h2 style="font-family:serif; font-weight:700; font-size:1.3rem; line-height:1.3; margin:0 0 .75rem 0; color:#000;">
            style="width:100%; max-width:100%; box-sizing:border-box;
       Step 1. Register for an account
                  font-family:serif; font-size:1rem; line-height:1.4;
     </h2>
                  padding:8px 10px; border-radius:4px;
 
                  border:1px solid #7b6a3a; background-color:#fff;">
     <p style="margin:0 0 0.75rem 0;">
      <option value="Tudor">Tudor artifacts</option>
      You’ll need an account to create a draft submission. Registration is free.
      <option value="Elizabethan">Elizabethan artifacts</option>
    </p>
      <option value="Jacobean">Jacobean artifacts</option>
 
      <option value="Carolinian">Carolinian artifacts</option>
    <p style="margin:0;">
       <option value="Interregnum">Interregnum artifacts</option>
      <a href="/index.php/Special:CreateAccount"
    </select>
        style="background-color:#d9c59b; color:#000; text-decoration:none;
    <div style="font-size:0.85rem; color:#555; margin-top:0.4rem;">
                font-family:serif; font-weight:600; font-size:1rem;
      This selection helps route your draft to the appropriate curator.
                padding:10px 16px; border-radius:6px; border:1px solid #7b6a3a;
     </div>
                display:inline-block;"
        onmouseover="this.style.backgroundColor='#e6d4aa';"
        onmouseout="this.style.backgroundColor='#d9c59b';"
       >
        Create an account
      </a>
     </p>
   </div>
   </div>


 
   <!-- Submit button -->
   <!-- Step 2: Submission form -->
  <div style="margin-top:1.5rem;">
  <div style="background-color:#f9f7f1; border:1px solid #d2c6a4; border-radius:6px; padding:1.25rem 1rem 1rem 1rem; margin:2rem 0;">
    <input type="submit"
    <h2 style="font-family:serif; font-weight:700; font-size:1.3rem; line-height:1.3; margin:0 0 .75rem 0; color:#000;">
          value="Create Draft Page"
      Step 2. Start your draft submission
          style="background-color:#d9c59b; color:#000; cursor:pointer;
    </h2>
                  font-family:serif; font-weight:600; font-size:1rem; line-height:1.2;
 
                  padding:10px 16px; border-radius:6px; border:1px solid #7b6a3a;"
    <p style="margin:0 0 1rem 0;">
          onmouseover="this.style.backgroundColor='#e6d4aa';"
      After you’re logged in, use this form to create a draft page. Drafts are not public. An editor will review
          onmouseout="this.style.backgroundColor='#d9c59b';"
      and move approved work into the main collection.
    />
    </p>
    <div style="font-size:0.8rem; color:#555; margin-top:0.6rem; line-height:1.4;">
 
      Clicking “Create Draft Page” will open a new draft in the wiki editor. Nothing becomes public yet.
    <form id="submit-artifact" method="get" action="/index.php"
    </div>
          style="font-family:serif; font-size:1rem; line-height:1.4; color:#000;">
 
      <input type="hidden" name="action" value="edit" />
      <input id="preload" type="hidden" name="preload" value="Template:ArtifactPreload/Tudor" />
 
      <!-- Title field -->
      <div style="margin-bottom:1rem;">
        <label for="title" style="display:block; font-weight:600; margin-bottom:0.25rem;">
          Name your artifact
        </label>
        <input id="title"
              type="text"
              name="title"
              placeholder="Example: 'Maldon Grain Riot' or 'Petition to Regulate Alehouses'"
              required
              style="width:100%; max-width:100%; box-sizing:border-box;
                      font-family:serif; font-size:1rem; line-height:1.4;
                      padding:8px 10px; border-radius:4px;
                      border:1px solid #7b6a3a; background-color:#fff;" />
        <div style="font-size:0.85rem; color:#555; margin-top:0.4rem;">
          This phrase will become the page title.
        </div>
      </div>
 
      <!-- Area / period field -->
      <div style="margin-bottom:1rem;">
        <label for="area" style="display:block; font-weight:600; margin-bottom:0.25rem;">
          Historical area
        </label>
        <select id="area"
                required
                style="width:100%; max-width:100%; box-sizing:border-box;
                      font-family:serif; font-size:1rem; line-height:1.4;
                      padding:8px 10px; border-radius:4px;
                      border:1px solid #7b6a3a; background-color:#fff;">
          <option value="Tudor">Tudor artifacts</option>
          <option value="Elizabethan">Elizabethan artifacts</option>
          <option value="Jacobean">Jacobean artifacts</option>
          <option value="Carolinian">Carolinian artifacts</option>
          <option value="Interregnum">Interregnum artifacts</option>
        </select>
        <div style="font-size:0.85rem; color:#555; margin-top:0.4rem;">
          This selection helps route your draft to the appropriate curator.
        </div>
      </div>
 
      <!-- Submit button -->
      <div style="margin-top:1.5rem;">
        <input type="submit"
              value="Create Draft Page"
              style="background-color:#d9c59b; color:#000; cursor:pointer;
                      font-family:serif; font-weight:600; font-size:1rem; line-height:1.2;
                      padding:10px 16px; border-radius:6px; border:1px solid #7b6a3a;"
              onmouseover="this.style.backgroundColor='#e6d4aa';"
              onmouseout="this.style.backgroundColor='#d9c59b';"
        />
        <div style="font-size:0.8rem; color:#555; margin-top:0.6rem; line-height:1.4;">
          Clicking “Create Draft Page” will open a new draft in the wiki editor. Nothing becomes public yet.
        </div>
      </div>
 
    </form>
   </div>
   </div>
</form>


<script>
document.addEventListener('DOMContentLoaded', function () {
  const form = document.getElementById('submit-artifact');
  const title = document.getElementById('title');
  const area  = document.getElementById('area');
  const preload = document.getElementById('preload');


   <!-- Guidelines -->
   if (!form || !title || !area || !preload) {
  <div style="margin:2rem 0 0 0;">
     return;
    <h2 style="font-family:serif; font-weight:700; font-size:1.3rem; line-height:1.3; margin:0 0 .75rem 0; color:#000;">
   }
      Submission Guidelines
    </h2>
 
    <p style="margin-bottom:1rem;">
      • Write in clear academic prose and follow the
    <a href="https://www.chicagomanualofstyle.org/book/ed18/frontmatter/toc.html"
  target="_blank" rel="noopener noreferrer"
  style="color:#7b6a3a; text-decoration:none; border-bottom:1px solid #7b6a3a;">
  Chicago Manual of Style (CMS)
</a>
     </p>
 
    <p style="margin-bottom:1rem;">
      • While there is no strict length requirement, please aim for at least 500 words of analysis.
    </p>
 
    <p style="margin-bottom:1rem;">
      • Anyone with an account can begin drafting. All new work is created in the Draft space.
      Drafts are reviewed by a curator before they are added to the main collection.
    </p>
 
    <p style="margin-bottom:1rem;">
      • If your contribution is not yet visible, it may still be under review. You can track its progress on the “My Contributions” page or by contacting a curator.
    </p>
 
    <p style="margin-bottom:1rem; font-style:italic; color:#444;">
      This editorial process ensures accuracy, scholarly integrity, and a consistent user experience for scholars,
      teachers, and students.
    </p>
   </div>
 
</div>


<script>
   form.addEventListener('submit', function () {
   (function () {
     // Strip an existing Draft: prefix if user typed it
    const form = document.getElementById('submit-artifact');
     title.value = title.value.replace(/^Draft:/i, '');
     if (!form) return;
     // Add Draft: prefix so it lands in Draft namespace
     const title = document.getElementById('title');
     title.value = 'Draft:' + title.value;
     const area  = document.getElementById('area');
     const preload = document.getElementById('preload');


     form.addEventListener('submit', function () {
     // Point preload to the correct template for the chosen era
      // Avoid double prefix if someone types "Draft:" themselves
    preload.value = 'Template:ArtifactPreload/' + area.value;
      if (title && title.value) {
  });
        title.value = title.value.replace(/^Draft:/i, '');
});
        title.value = 'Draft:' + title.value;
      }
      // Route to the correct area-specific preload
      if (area && preload) {
        preload.value = 'Template:ArtifactPreload/' + area.value;
      }
    });
  })();
</script>
</script>
</html>

Revision as of 17:27, 29 October 2025

<form id="submit-artifact" method="get" action="/index.php"

     style="font-family:serif; font-size:1rem; line-height:1.4; color:#000;">
 <input type="hidden" name="action" value="edit" />
 <input id="preload" type="hidden" name="preload" value="Template:ArtifactPreload/Tudor" />
   <label for="title" style="display:block; font-weight:600; margin-bottom:0.25rem;">
     Name your artifact
   </label>
   <input id="title"
          type="text"
          name="title"
          placeholder="Example: 'Grain Riots in Norwich, 1595' or 'Petition to Regulate Alehouses'"
          required
          style="width:100%; max-width:100%; box-sizing:border-box;
                 font-family:serif; font-size:1rem; line-height:1.4;
                 padding:8px 10px; border-radius:4px;
                 border:1px solid #7b6a3a; background-color:#fff;" />
     This phrase will become the page title.
   <label for="area" style="display:block; font-weight:600; margin-bottom:0.25rem;">
     Historical area
   </label>
   <select id="area"
           required
           style="width:100%; max-width:100%; box-sizing:border-box;
                  font-family:serif; font-size:1rem; line-height:1.4;
                  padding:8px 10px; border-radius:4px;
                  border:1px solid #7b6a3a; background-color:#fff;">
     <option value="Tudor">Tudor artifacts</option>
     <option value="Elizabethan">Elizabethan artifacts</option>
     <option value="Jacobean">Jacobean artifacts</option>
     <option value="Carolinian">Carolinian artifacts</option>
     <option value="Interregnum">Interregnum artifacts</option>
   </select>
     This selection helps route your draft to the appropriate curator.
   <input type="submit"
          value="Create Draft Page"
          style="background-color:#d9c59b; color:#000; cursor:pointer;
                 font-family:serif; font-weight:600; font-size:1rem; line-height:1.2;
                 padding:10px 16px; border-radius:6px; border:1px solid #7b6a3a;"
          onmouseover="this.style.backgroundColor='#e6d4aa';"
          onmouseout="this.style.backgroundColor='#d9c59b';"
   />
     Clicking “Create Draft Page” will open a new draft in the wiki editor. Nothing becomes public yet.

</form>

<script> document.addEventListener('DOMContentLoaded', function () {

 const form = document.getElementById('submit-artifact');
 const title = document.getElementById('title');
 const area  = document.getElementById('area');
 const preload = document.getElementById('preload');
 if (!form || !title || !area || !preload) {
   return;
 }
 form.addEventListener('submit', function () {
   // Strip an existing Draft: prefix if user typed it
   title.value = title.value.replace(/^Draft:/i, );
   // Add Draft: prefix so it lands in Draft namespace
   title.value = 'Draft:' + title.value;
   // Point preload to the correct template for the chosen era
   preload.value = 'Template:ArtifactPreload/' + area.value;
 });

}); </script>