Jet interpreter (Tag.cpp, __call.cpp, __imap*.cpp/h, __smtpsend.cpp/h, __imapemptyfolder.cpp/h - new): assorted parser/tag fixes found across this work - a stray literal-tag-in-comment and backslash-quote parser corruption class, a dangling-pointer fix, a __call.cpp fd leak, IMAP folder-management tags, multi-account/per-host IMAP support, and a smtpsend Message-ID fix. barant.com site (jetc/barant-site/): - A site-wide persistent music player (header band, playlist/queue, stereo FFT EQ, session-persisted state) fed by new library/ ianslibrary/music song-list subpages. - /account split into info/phones/invoices subpages; a full invoicing and Square payment system (create/edit/copy/pay/email invoice); admin invoice management and mail-account management subpages. - /services split into overview/hosting/siptrunking/documents subpages, retiring the old standalone pages. - SIPPHONE.tag: a Jet 2.0 WebRTC softphone tag. - main.css/spa.js/email.js: the SPA loading indicator, the music player band styling, and assorted fixes accumulated alongside this work. qualityiron-site/: the qualityiron.vegas job/contractor/customer/ document management app, ported from its original Jet 1.4 codebase to Jet 2.0 as barant.coms APIServers second multi-tenant site. wcwc/wcwc.jet: the WCWC site Jet source (wcwc.jtc build output not included). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
<page>
|
|
<title>Quality Iron - Roles</title>
|
|
<contents>
|
|
<retain name="selected_role_id">
|
|
<div>
|
|
<h1>USER ROLES</h1>
|
|
<sql>select r.*,
|
|
(select count(*) from user_roles ur where ur.role_id=r.id) as count
|
|
from roles r
|
|
order by description</sql>$[sqlerror]
|
|
<table id="role_table">
|
|
<tr>
|
|
<th></th>
|
|
<th style="text-align: left;">Description</th>
|
|
<th style="text-align: left;">Used</th>
|
|
<th></th>
|
|
</tr>
|
|
<whilerow>
|
|
<tr>
|
|
<td>
|
|
<if value1="$[.count]" value2="0" type="eq">
|
|
<linkbutton process="deleterole" name="selected_role_id" value="$[.id]"><img width="18" style="cursor: pointer;" src="/assets/delete.png"></linkbutton>
|
|
</if>
|
|
</td>
|
|
<td><input type="text" name="description$[.id]" size="20" value="$[.description]"></td>
|
|
<td>$[.count]</td>
|
|
<td><linkbutton process="updaterole" name="selected_role_id" value="$[.id]">Save</linkbutton></td>
|
|
</tr>
|
|
</whilerow>
|
|
</table>
|
|
<h2>Add Role</h2>
|
|
<input type="text" name="new_role_description" size="20" value="">
|
|
<abutton process="createrole">Add</abutton>
|
|
</div>
|
|
</contents>
|
|
</page>
|