Difference between revisions of "Prosecute a case"

From cm2.liecourt.com
(Fill database)
(17 intermediate revisions by 2 users not shown)
Line 132: Line 132:
 
</style>}}
 
</style>}}
  
</div>{{#vardefineecho:@workflow|{{#urldecode:{{#urlget:case}} }} }}
+
</div>{{#if:{{#vardefineecho:@workflow|{{#urldecode:{{#urlget:case}} }} }}<!--
 +
 
 +
// FILL OUT VERDICT
 +
-->|
 +
<h1>Please wait ...</h1><div class="d-none">{{#arraymap:{{#ask:[[{{#var:@workflow}}]][[Filed by::User:{{CURRENTLOGGEDUSER}}]][[Plaintiff verdict::No]]|?Case ID|?Lie|?Modification date|link=none|format=array|sort=Modification date|limit=1|order=desc}}|,|@@@|
 +
<div class="info-item">
 +
Please fill in your plaintiff verdict
 +
<div class="info-row"><b>Lie</b>{{#explode:@@@|<PROP>|2}}
 +
{{#vardefine:@partpage|{{#ask:[[Class::Participant]][[User::User:{{CURRENTLOGGEDUSER}}]][[Workflow::{{#explode:@@@|<PROP>|0}}]]|link=none}} }}
 +
{{#if:{{#var:@partpage}}|
 +
{{#widget:link|type=a|text=link|href={{fullurl:{{#explode:{{#ask:[[Class::Verdict]][[User::User:{{CURRENTLOGGEDUSER}}]]|?Case ID|?Lie|?Modification date|sort=Modification date|limit=1|order=desc|link=none|format=array}}|<PROP>|0}}|Participant={{#var:@partpage}} }} }}
 +
{{#tag:html|<script >setTimeout(function(){document.querySelector('.info-row a').click()},1000)</script>}}
 +
|{{#tag:wsform|
 +
{{#tag:wscreate||mwwrite=Participant/|mwtemplate=Participant|mwoption=range:00001-99999|mwfields=User, Role, Case ID, Workflow}}
 +
{{#tag:wscreate||mwwrite=Verdict:{{#explode:@@@|<PROP>|1}}/|mwtemplate=Verdict|mwoption=range:00001-99999|mwfields=User, Role, Case ID, Workflow}}
 +
{{#tag:wsfield||type=hidden|name=User|value=User:{{CURRENTLOGGEDUSER}} }}
 +
{{#tag:wsfield||type=hidden|name=Role|value=Plaintiff }}
 +
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|1}} }}
 +
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}<!--
 +
-->
 +
{{#tag:wsfield||type=submit|value=Create verdict|class=btn btn-green ml-4 mt-4 mb-4}}
 +
|action=addToWiki|id=form|mwreturn={{fullurl:Verdict:{{#show:{{#var:@workflow}}|?Case ID}}/2}} }}{{#tag:html|<script >setTimeout(function(){document.querySelector('input[type="submit"]').click()},3000)</script>}}|}}| }}
 +
</div></div></div><!--
 +
 
 +
 
 +
// PROSECUTE CASE
 +
-->|<!--
  
  
<h1>Prosecute a case</h1><!--  
+
--><h1>Prosecute a case</h1><!--  
 
  --><div class="row"><div class="col-12 col-lg-8">The Internet Court of Lies is meant to create a global community of people who work to provide evidence-based understanding of Fiat Lies and a means by which Social Media and other media can develop their own content curation based on results of the court.<br><br>Submit your prepared suit, to be accepted by the Court. A Judge is assigned, and if he accepts your suit, Jurors may be assigned. You, the Judge, and Jurors can now try your case by editing your suit page further. Finally, the Judge will declare your suit settled, and the suit is done<!--
 
  --><div class="row"><div class="col-12 col-lg-8">The Internet Court of Lies is meant to create a global community of people who work to provide evidence-based understanding of Fiat Lies and a means by which Social Media and other media can develop their own content curation based on results of the court.<br><br>Submit your prepared suit, to be accepted by the Court. A Judge is assigned, and if he accepts your suit, Jurors may be assigned. You, the Judge, and Jurors can now try your case by editing your suit page further. Finally, the Judge will declare your suit settled, and the suit is done<!--
 
-->{{#if:{{CURRENTLOGGEDUSER}}|{{#vardefine:@balance|{{#ttcount:}}}}</div><div class="col-12 col-lg-4"><div class="info-box mt-0 pb-4">
 
-->{{#if:{{CURRENTLOGGEDUSER}}|{{#vardefine:@balance|{{#ttcount:}}}}</div><div class="col-12 col-lg-4"><div class="info-box mt-0 pb-4">
Line 203: Line 229:
 
|2=
 
|2=
 
<wsfield type="textarea" name="Markup" id="real-field" class="d-none" />
 
<wsfield type="textarea" name="Markup" id="real-field" class="d-none" />
<wsfield type="button" class="btn btn-green float-right" id="upload-button" onclick="uploadFiles()">Prosecute*</wsfield>
+
<wsfield type="button" class="btn btn-green float-right" id="upload-button" onclick="uploadFiles()">Propose verdict*</wsfield>
 
<wsfield type="submit" id="real-submit" class="d-none" value="niks" />
 
<wsfield type="submit" id="real-submit" class="d-none" value="niks" />
 
}}<!--  
 
}}<!--  
  --><small>*By clicking "Prosecute" you agree to tell the Truth, the Whole Truth, and Nothing but the Truth, in their participation in a case. If you lie as a case participant with a Fiat Lie, you risk being banned from further participation in the ICoL.</small>
+
  --><small>*By clicking "Propose verdict" you agree to tell the Truth, the Whole Truth, and Nothing but the Truth, in their participation in a case. If you lie as a case participant with a Fiat Lie, you risk being banned from further participation in the ICoL.</small>
 
</wsform>
 
</wsform>
 
{{#tag:html|<script>
 
{{#tag:html|<script>
Line 283: Line 309:
 
|1=<h3>Markup Lie and Thruth parts</h3>
 
|1=<h3>Markup Lie and Thruth parts</h3>
 
|2=<wsfield type="button" class="btn btn-red btn-mark" readonly="readonly" onclick="document.execCommand('bold', false, null)">{{fa|highlighter}} Mark Lie</wsfield>  
 
|2=<wsfield type="button" class="btn btn-red btn-mark" readonly="readonly" onclick="document.execCommand('bold', false, null)">{{fa|highlighter}} Mark Lie</wsfield>  
<wsfield type="button" class="btn btn-green btn-mark " readonly="readonly" onclick="document.execCommand('italic', false, null)">{{fa|highlighter}} Mark Truth</wsfield><wsfield type="button" class="btn btn-gray btn-mark " ">{{fa|highlighter}} Clear mark</wsfield>   
+
<wsfield type="button" class="btn btn-green btn-mark " readonly="readonly" onclick="document.execCommand('italic', false, null)">{{fa|highlighter}} Mark Truth</wsfield><wsfield type="button" class="btn btn-gray btn-mark" >{{fa|highlighter}} Clear mark</wsfield>   
 
{{#Widget:Markup}}
 
{{#Widget:Markup}}
 
}}
 
}}
Line 315: Line 341:
  
  
}}</wsform> }}{{Managed
+
}}</wsform> }} }}<!-- ./ if urlget case enter verdict else prosecute case
 +
-->{{Managed
 
|Version=1.0
 
|Version=1.0
 
|Version notes=1.0 - First managed version
 
|Version notes=1.0 - First managed version

Revision as of 13:29, 7 December 2020

Prosecute a case

The Internet Court of Lies is meant to create a global community of people who work to provide evidence-based understanding of Fiat Lies and a means by which Social Media and other media can develop their own content curation based on results of the court.

Submit your prepared suit, to be accepted by the Court. A Judge is assigned, and if he accepts your suit, Jurors may be assigned. You, the Judge, and Jurors can now try your case by editing your suit page further. Finally, the Judge will declare your suit settled, and the suit is done
0 TruthTokens, please buy TruthTokens on your profile page