Difference between revisions of "Prosecute a case"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 137: Line 137:
 
<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:@spent|{{#ask:[[Class::Workflow]][[Filed by::User:{{CURRENTLOGGEDUSER}}]]|link=none|format=count}} }}<!--
+
-->{{#if:{{CURRENTLOGGEDUSER}}|{{#vardefine:@balance|{{#ttcount:}}}}</div><div class="col-12 col-lg-4"><div class="info-box mt-0 pb-4">
-->{{#vardefine:@bought|{{#arraymap:{{#ask:[[Class::Order]][[User::User:{{CURRENTLOGGEDUSER}}]][[Transaction::+]]|?Tokens|format=array|link=none}}|,|@@@|{{#explode:@@@|<PROP>|1}}|+}} }}<!--
 
-->{{#vardefine:@sent|{{#arraymap:{{#ask:[[Class::Transaction]][[User::User:{{CURRENTLOGGEDUSER}}]][[To::!None]]|?Tokens|link=none|format=array}}|,|@@@|{{#explode:@@@|<PROP>|1}}|+}} }}<!--
 
-->{{#vardefine:@recieved|{{#arraymap:{{#ask:[[Class::Transaction]][[To::User:{{CURRENTLOGGEDUSER}}]]|?Tokens|link=none|format=array}}|,|@@@|{{#explode:@@@|<PROP>|1}}|+}} }}<!--
 
-->{{#vardefine:@balance|{{#expr:{{#expr:{{#if:{{#var:@bought}}|{{#var:@bought}}|0}} + {{#if:{{#var:@recieved}}|{{#var:@recieved}}|0}} - {{#expr:{{#if:{{#var:@spent}}|{{#var:@spent}}|0}} + {{#if:{{#var:@sent}}|{{#var:@sent}}|0}} }} }} + 1 }} }}</div><div class="col-12 col-lg-4"><div class="info-box mt-0 pb-4">
 
 
<h2>Your TruthToken balance</h2><span class="truth-token">{{fa|gavel}}</span>× <span class="nr pb-4">{{#var:@balance}}</span><br><br>Prosecuting a case  = 1 TruthToken </div></div>|{{#vardefine:@balance|0}} }}</div>
 
<h2>Your TruthToken balance</h2><span class="truth-token">{{fa|gavel}}</span>× <span class="nr pb-4">{{#var:@balance}}</span><br><br>Prosecuting a case  = 1 TruthToken </div></div>|{{#vardefine:@balance|0}} }}</div>
 
{{#ifexpr:{{#var:@balance}} > 0|
 
{{#ifexpr:{{#var:@balance}} > 0|
  
<wsform action="addToWiki" id="case-form" enctype="multipart/form-data" mwreturn="{{fullurl:User:{{CURRENTLOGGEDUSER}}|msg=casestarted}}">
+
<wsform action="addToWiki" id="case-form" class="box" enctype="multipart/form-data" mwreturn="{{fullurl:Create verdict|msg=casestarted}}"><!-- mwreturn="{{fullurl:User:{{CURRENTLOGGEDUSER}}|msg=casestarted}}" -->
 
<wscreate mwwrite="Workflow/" mwtemplate="Workflow" mwoption="range:00001-99999" />
 
<wscreate mwwrite="Workflow/" mwtemplate="Workflow" mwoption="range:00001-99999" />
 
<wsfield type="hidden" name="Plaintiff verdict"  value="No" />
 
<wsfield type="hidden" name="Plaintiff verdict"  value="No" />
 
<wsfield type="hidden" name="Stage"  value="Waiting for Plaintiff verdict" />
 
<wsfield type="hidden" name="Stage"  value="Waiting for Plaintiff verdict" />
 
<wsfield type="hidden" name="Filed by"  value="User:{{CURRENTLOGGEDUSER}}" /><!--  
 
<wsfield type="hidden" name="Filed by"  value="User:{{CURRENTLOGGEDUSER}}" /><!--  
  -->{{#vardefine:@id|1234-{{#time: U | now}}-{{#time: U | now}} }}
+
  -->{{#vardefine:@id|<nowiki>{{subst:Case ID}}</nowiki> }}
 
<wsfield type="hidden" name="Case ID" value="{{#var:@id}}" />
 
<wsfield type="hidden" name="Case ID" value="{{#var:@id}}" />
  
Line 193: Line 189:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<h3>Evidence of lie appearance</h3>  
 
|1=<h3>Evidence of lie appearance</h3>  
|2=<div class="d-flex">{{#vardefine:@filename|Import-cse-{{#time: U | now}}.png}}
+
|2=<div class="">{{#Widget:Multi upload|id={{#var:@id}} }}</div>
{{#vardefine:@pagecontent|<nowiki>{{File for case|Case file=</nowiki>{{#var:@id}}<nowiki>|Uploaded by=</nowiki>{{CURRENTLOGGEDUSER}}<nowiki>}}</nowiki>}}
 
<wslabel for="file-upload" class="attachment">{{fa|paperclip}}
 
<wsfield class="d-none" type="file" name="File" id="file-upload" verbose_id="hiddendiv"  target="{{#var:@filename}}" pagecontent="{{#var:@pagecontent}}" /></wslabel>
 
<div class="upload-preview hidden" id="hiddendiv"></div></div>
 
 
  }}
 
  }}
 
<!--{{Item responsive |Cols={{#var:@cols|4-8}}
 
<!--{{Item responsive |Cols={{#var:@cols|4-8}}
Line 211: Line 203:
 
|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" onclick="submitRealField()">Prosecute*</wsfield>
+
<wsfield type="button" class="btn btn-green float-right" id="upload-button" onclick="uploadFiles()">Prosecute*</wsfield>
 
<wsfield type="submit" id="real-submit" class="d-none" value="niks" />
 
<wsfield type="submit" id="real-submit" class="d-none" value="niks" />
 
}}<!--  
 
}}<!--  

Revision as of 14:07, 27 May 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