New REM client: REM-Client f732512, 64-bit (admin window: a command's arguments as fields, players, bases, goods and factions picked from a list)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,15 @@
|
||||
.search { margin-bottom: 8dp; }
|
||||
.recent { margin-top: 14dp; }
|
||||
.recent .row { font-size: 13dp; color: #8197ad; }
|
||||
.slots { display: flex; flex-direction: row; flex-wrap: wrap; margin-bottom: 8dp; }
|
||||
.slot { padding: 5dp 10dp; margin: 0 6dp 6dp 0; border-bottom: 2dp #ffffff14; font-family: "IBM Plex Mono"; font-size: 14dp; }
|
||||
.slot:hover { background-color: #122033; }
|
||||
.slot.active { background-color: #f2b13c24; border-bottom-color: #f2b13c; }
|
||||
.slot .k { color: #8197ad; margin-right: 6dp; }
|
||||
.slot .v { color: #dbe6f0; }
|
||||
.options { flex: 1 1 0; min-height: 0; overflow-y: auto; margin-top: 8dp; }
|
||||
.options .row { font-size: 13dp; }
|
||||
.options .row .n { color: #8197ad; margin-left: 8dp; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="window medium" data-model="admin">
|
||||
@@ -43,10 +52,16 @@
|
||||
<div>{{ has_pick ? pick_help : 'Every admin command of the server, run from here - its answer comes in the chat.' }}</div>
|
||||
</div>
|
||||
<div class="label">Arguments</div>
|
||||
<div class="slots" data-if="slots.size > 0">
|
||||
<div class="slot" data-for="s, i : slots" data-class-active="s.active" data-action="slot" data-attr-data-arg="i"><span class="k">{{ s.label }}</span><span class="v">{{ s.value }}</span></div>
|
||||
</div>
|
||||
<div class="runline">
|
||||
<input class="text" type="text" data-value="args" maxlength="200"/>
|
||||
<div class="btn primary" data-class-disabled="!has_pick" data-action="run">Run<div class="tip">Runs the command on the server as you typed it; the answer comes as a system message in the chat.</div></div>
|
||||
</div>
|
||||
<div class="options" data-if="options.size > 0">
|
||||
<div class="row" data-for="o : options" data-action="option" data-attr-data-arg="o.value">{{ o.label }}<span class="n" data-if="o.label != o.value">{{ o.value }}</span></div>
|
||||
</div>
|
||||
<div class="recent" data-if="recent.size > 0">
|
||||
<div class="label">Run here</div>
|
||||
<div class="row" data-for="r : recent" data-action="again" data-attr-data-arg="r">{{ r }}</div>
|
||||
|
||||
Reference in New Issue
Block a user