rule.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. ---
  2. layout: default
  3. ---
  4. <style type="text/css">
  5. /* CLASSES */
  6. .editable {
  7. padding: 10px 10px 10px 10px;
  8. min-height: 1.5em;
  9. font-family: serif;
  10. border-bottom: 1px dashed gray;
  11. }
  12. .question {
  13. color: gray;
  14. }
  15. /* TOOLTIP https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip_right */
  16. .button {
  17. position: relative;
  18. display: inline-block;
  19. float: right;
  20. border: 1px solid gray;
  21. color: gray;
  22. text-align: center;
  23. border-radius: 6px;
  24. padding: 0 5px 0 5px;
  25. }
  26. .button .tooltiptext {
  27. visibility: hidden;
  28. width: 250px;
  29. border: 1px solid black;
  30. text-align: center;
  31. border-radius: 6px;
  32. padding: 5px 0;
  33. /* Position the tooltip */
  34. position: absolute;
  35. z-index: 1;
  36. top: -5px;
  37. left: 105%;
  38. }
  39. .button:hover .tooltiptext {
  40. visibility: visible;
  41. }
  42. .icons {
  43. /* icons are from https://iconmonstr.com */
  44. margin: 0 5px 0 0;
  45. }
  46. /* IDs */
  47. #rulebox {
  48. border: 1px solid lightgray;
  49. padding: 20px;
  50. margin: 20px 0 30px 0;
  51. }
  52. #rulebox h2 {
  53. font-family: serif;
  54. }
  55. #name {
  56. font-weight: bold;
  57. }
  58. #editToggle {
  59. float: right;
  60. clear: both;
  61. }
  62. #basicstructure {
  63. font-size: 1.3em;
  64. }
  65. </style>
  66. <script>
  67. function toggleVisible(id) {
  68. var x = document.getElementById(id);
  69. if (x.style.display === "none") {
  70. x.style.display = "block";
  71. } else {
  72. x.style.display = "none";
  73. }
  74. }
  75. function classDisplayAll(className, value) {
  76. var elements = document.getElementsByClassName(className);
  77. for (var i = 0; i < elements.length; i++) {
  78. elements[i].style.display = value;
  79. }
  80. }
  81. function toggleEditMode() {
  82. if (editMode === true) {
  83. editMode = false;
  84. //SECTIONS, QUESTIONS, BORDERS, HIDE EMPTIES
  85. classDisplayAll("section","block");
  86. classDisplayAll("button","none");
  87. classDisplayAll("question","none");
  88. var editableFields = document.getElementsByClassName("editable");
  89. for (var i = 0; i < editableFields.length; i++) {
  90. editableFields[i].contentEditable = "false";
  91. editableFields[i].style.border = "none";
  92. if (editableFields[i].innerHTML === "") {
  93. editableFields[i].style.display = "none";
  94. }
  95. }
  96. document.getElementById("title").innerHTML =
  97. document.getElementById("title").innerHTML.replace( /Create/g,'Rule') ;
  98. document.getElementById("editToggle").innerHTML = "Edit";
  99. } else {
  100. editMode = true;
  101. //DO CHANGES VIA CLASSES
  102. classDisplayAll("button","block");
  103. classDisplayAll("question","block");
  104. classDisplayAll("editable","block");
  105. var editableFields = document.getElementsByClassName("editable");
  106. for (var i = 0; i < editableFields.length; i++) {
  107. editableFields[i].style.border = "1px dotted black";
  108. editableFields[i].contentEditable = "true";
  109. }
  110. document.getElementById("title").innerHTML =
  111. document.getElementById("title").innerHTML.replace( /Rule/g,'Create') ;
  112. document.getElementById("editToggle").innerHTML = "Display";
  113. }
  114. }
  115. var editMode = true;
  116. window.onload = function() {
  117. if ((window.location.href.indexOf("/rules/") != -1) ||
  118. (window.location.href.indexOf("/about/") != -1)) {
  119. toggleEditMode();
  120. }
  121. }
  122. </script>
  123. <article class="post">
  124. <header class="post-header">
  125. <h1 class="post-title" id="title">Create
  126. {% if page.title != "Create" %}
  127. <span style="color:gray;">
  128. / {{ page.title }}&nbsp;
  129. </span>
  130. {% endif %}
  131. </h1>
  132. </header>
  133. <button id="editToggle" onclick="toggleEditMode()">Display</button>
  134. <div class="post-content">
  135. {{ content }}
  136. </div>
  137. <div id="rulebox">
  138. <span class="question">What is the community’s name?</span>
  139. <h1 contenteditable="true" class="editable" id="name">{{ page.community-name }}</h1>
  140. <h2 id="basics">
  141. <img src="{% link assets/icons/iconmonstr-construction-11.svg %}"
  142. class="icons" />
  143. Basics
  144. <button onclick="toggleVisible('s1')" class="button"> + </button>
  145. </h2>
  146. <div class="section" id="s1" style="display:none">
  147. <span class="question">What is the basic structure of the community?</span>
  148. <div class="button">Modules
  149. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/federation/">federation</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/friendship/">friendship</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/membership/">membership</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/multicameralism/">multicameralism</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/ritual/">ritual</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/separation_of_powers/">separation of powers</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/stake_weight/">stake weight</a></span>
  150. </div>
  151. <p contenteditable="true" class="editable" id="basicstructure">{{ page.structure }}</p>
  152. <span class="question">What is the community’s mission?</span>
  153. <p contenteditable="true" class="editable">{{ page.mission }}</p>
  154. <span class="question">What core values does it hold?</span>
  155. <div class="button">Modules
  156. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/secrecy/">secrecy</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/solidarity/">solidarity</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/transparency/">transparency</a></span>
  157. </div>
  158. <p contenteditable="true" class="editable">{{ page.values }}</p>
  159. <span class="question">What are the basic rights that this Rule guarantees?</span>
  160. <p contenteditable="true" class="editable">{{ page.rights }}</p>
  161. </div><!--hiding section s1-->
  162. <h2 id="participants">
  163. <img src="{% link assets/icons/iconmonstr-friend-3.svg %}"
  164. class="icons" />
  165. Participants
  166. <button onclick="toggleVisible('s2')" class="button"> + </button>
  167. </h2>
  168. <div class="section" id="s2" style="display:none">
  169. <span class="question">How does someone become a member?</span>
  170. <p contenteditable="true" class="editable">{{ page.membership }}</p>
  171. <span class="question">How are members suspended or removed?</span>
  172. <div class="button">Modules
  173. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/exclusion/">exclusion</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/friendship/">friendship</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/reputation/">reputation</a></span>
  174. </div>
  175. <p contenteditable="true" class="editable">{{ page.removal }}</p>
  176. </div><!--hiding section s2-->
  177. <h2 id="stewards">
  178. <img src="{% link assets/icons/iconmonstr-crown-19.svg %}"
  179. class="icons" />
  180. Stewards
  181. <button onclick="toggleVisible('s3')" class="button"> + </button>
  182. </h2>
  183. <div class="section" id="s3" style="display:none">
  184. <span class="question">Who has the capacity to decide on our policies, and how do they do so?</span>
  185. <div class="button">Modules
  186. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/disapproval_voting/">disapproval voting</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/do-ocracy/">do-ocracy</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/holographic_consensus/">holographic consensus</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/referendum/">referendum</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/representation/">representation</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/sortition/">sortition</a></span>
  187. </div>
  188. <p contenteditable="true" class="editable">{{ page.decision }}</p>
  189. <span class="question">Where do stewards and community members deliberate about potential policies?</span>
  190. <div class="button">Modules
  191. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/caucus/">caucus</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/coalition/">coalition</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/board/">board</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/debate/">debate</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/lobbying/">lobbying</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/recess/">recess</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/secrecy/">secrecy</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/transparency/">transparency</a></span>
  192. </div>
  193. <p contenteditable="true" class="editable">{{ page.deliberation }}</p>
  194. <span class="question">How are policies implemented?</span>
  195. <div class="button">Modules
  196. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/exclusion/">exclusion</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/lazy_consensus/">lazy consensus</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/restorative_justice/">restorative justice</a></span>
  197. </div>
  198. <p contenteditable="true" class="editable">{{ page.implementation }}</p>
  199. <span class="question">Who oversees the implementation of the agreements?</span>
  200. <div class="button">Modules
  201. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/board/">board</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/disapproval_voting/">disapproval voting</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/judiciary/">jury</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/precedent/">precedent</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/refusal/">refusal</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/rough_consensus/">rough consensus</a></span>
  202. </div>
  203. <p contenteditable="true" class="editable">{{ page.oversight }}</p>
  204. <span class="question">How are each of the stewardship roles determined and limited?</span>
  205. <div class="button">Modules
  206. <span class="tooltiptext"><a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/fact_finding/">fact-finding</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/ranked_choice/">ranked choice</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/representation/">representation</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/reputation/">reputation</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/sortition/">sortition</a>, <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/mediums/term_limit/">term limits</a></span>
  207. </div>
  208. <p contenteditable="true" class="editable">{{ page.limits }}</p>
  209. </div><!--hiding section s3-->
  210. <h2 id="evolution">
  211. <img src="{% link assets/icons/iconmonstr-process-1.svg %}"
  212. class="icons" />
  213. Evolution
  214. <button onclick="toggleVisible('s4')" class="button"> + </button>
  215. </h2>
  216. <div class="section" id="s4" style="display:none">
  217. <span class="question">Where do we maintain our policies and records?</span>
  218. <p contenteditable="true" class="editable">{{ page.records }}</p>
  219. <span class="question">How can this Rule be modified?</span>
  220. <p contenteditable="true" class="editable">{{ page.modification }}</p>
  221. </div><!--hiding section s4-->
  222. </div><!--#rulebox-->
  223. <p>The suggested modules are linked to (in progress) entries at <a target="_blank" href="https://medlabboulder.gitlab.io/democraticmediums/">Democratic Mediums</a>.</p>
  224. <p>To save work, copy the text from this page to another document, or use your browser’s save function or print the page to PDF. Improved saving functionality will be forthcoming.</p>
  225. </article>