pywebexec 1.7.9__py3-none-any.whl → 1.7.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,13 +74,14 @@ button {
74
74
  -webkit-border-radius: none;
75
75
  appearance: none;
76
76
  border-radius: 15px;
77
- padding-right: 13px;
77
+ padding: 0px 13px;
78
78
  border: 1px #555 solid;
79
79
  height: 22px;
80
80
  font-size: 13px;
81
81
  outline: none;
82
- text-indent: 10px;
83
82
  background-color: #eee;
83
+ color: #000;
84
+ font-weight: normal;
84
85
  }
85
86
  form {
86
87
  padding-bottom: 15px;
@@ -138,7 +139,7 @@ form {
138
139
  .copy_clip_ok, .copy_clip_ok:hover {
139
140
  background-image: url("/static/images/copy_ok.svg");
140
141
  }
141
- #params, #commandName {
142
+ #params, #command {
142
143
  -webkit-appearance: none;
143
144
  -webkit-border-radius: none;
144
145
  appearance: none;
@@ -152,7 +153,7 @@ form {
152
153
  margin: 0; /* Remove margin */
153
154
  }
154
155
 
155
- #commandName {
156
+ #command {
156
157
  width: auto; /* Allow dynamic width */
157
158
  background-size: 16px 16px;
158
159
  border-radius: 15px 0px 0px 15px;
@@ -1,5 +1,5 @@
1
1
  // commands.js
2
- let commandInput = document.getElementById('commandName');
2
+ let commandInput = document.getElementById('command');
3
3
  let paramsInput = document.getElementById('params');
4
4
  let commandListSelect = document.getElementById('commandList');
5
5
  let showCommandListButton = document.getElementById('showCommandListButton');
@@ -126,8 +126,8 @@ const urlToken = getTokenParam();
126
126
 
127
127
  document.getElementById('launchForm').addEventListener('submit', async (event) => {
128
128
  event.preventDefault();
129
- const commandName = document.getElementById('commandName').value;
130
- const params = document.getElementById('params').value.split(' ');
129
+ const commandName = commandInput.value;
130
+ const params = paramsInput.value.split(' ');
131
131
  fitAddon.fit();
132
132
  terminal.clear();
133
133
  try {
@@ -143,8 +143,8 @@ document.getElementById('launchForm').addEventListener('submit', async (event) =
143
143
  }
144
144
  const data = await response.json();
145
145
  //await new Promise(r => setTimeout(r, 300));// not ok
146
- fetchCommands();
147
146
  viewOutput(data.command_id);
147
+ fetchCommands();
148
148
  commandInput.focus()
149
149
  commandInput.setSelectionRange(0, commandInput.value.length)
150
150
  } catch (error) {
@@ -334,8 +334,8 @@ async function relaunchCommand(command_id, event) {
334
334
  throw new Error('Failed to relaunch command');
335
335
  }
336
336
  const relaunchData = await relaunchResponse.json();
337
- fetchCommands();
338
337
  viewOutput(relaunchData.command_id);
338
+ fetchCommands();
339
339
  } catch (error) {
340
340
  console.log('Error relaunching command:', error);
341
341
  alert('Failed to relaunch command. Please try again.');
@@ -13,9 +13,9 @@
13
13
  </div>
14
14
  <h2><span class="status-icon title-icon"></span>{{ title }}</h2>
15
15
  <form id="launchForm" class="form-inline">
16
- <label for="commandName">Command</label>
16
+ <label for="command">Command</label>
17
17
  <div class="input-group">
18
- <input type="text" id="commandName" name="commandName" size=5 autocomplete="off" style="width: 100px;" autofocus>
18
+ <input type="text" id="command" name="command" size=5 autocomplete="off" style="width: 100px;" autofocus>
19
19
  <div id="showCommandListButton" class="show-command-list-button">
20
20
  <span class="arrow">&#9660;</span>
21
21
  </div>
pywebexec/version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.7.9'
16
- __version_tuple__ = version_tuple = (1, 7, 9)
15
+ __version__ = version = '1.7.11'
16
+ __version_tuple__ = version_tuple = (1, 7, 11)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.7.9
3
+ Version: 1.7.11
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,8 +1,8 @@
1
1
  pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
2
2
  pywebexec/pywebexec.py,sha256=MmpHK2SscvIPj1gmV9AcJXYfeaL-at5BDgLhKIxzZBc,33604
3
- pywebexec/version.py,sha256=ODwgXLJxyAG069GuB0hTip534M1pf6WoBdbcnmuVFy0,411
3
+ pywebexec/version.py,sha256=TBdoKbRERu0RLmgOlLn0qO1c9vmbdCN_H7OMlZVRf8o,413
4
4
  pywebexec/static/css/Consolas NF.ttf,sha256=DJEOzF0eqZ-kxu3Gs_VE8X0NJqiobBzmxWDGpdgGRxI,1313900
5
- pywebexec/static/css/style.css,sha256=3s7QgbCh4wb7kfZ7Pjo-B6o3lDIBogZ-3j6AfaPdpzU,8209
5
+ pywebexec/static/css/style.css,sha256=uv8BQzD0SGa2pmUfiFYt1UVLJhBE6DpFLUIEAuBV6Z8,8218
6
6
  pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
7
7
  pywebexec/static/images/aborted.svg,sha256=2nuvSwGBIZGWtlM1DrBO3qiSq1reDbcZDAj9rJXBnjY,380
8
8
  pywebexec/static/images/copy.svg,sha256=d9OwtGh5GzzZHzYcDrLfNxZYLth1Q64x7bRyYxu4Px0,622
@@ -20,9 +20,9 @@ pywebexec/static/images/popup.svg,sha256=0Bl9A_v5cBsMPn6FnOlVWlAQKgd2zqiWQbhjcL9
20
20
  pywebexec/static/images/resume.svg,sha256=99LP1Ya2JXakRCO9kW8JMuT_4a_CannF65EiuwtvK4A,607
21
21
  pywebexec/static/images/running.svg,sha256=fBCYwYb2O9K4N3waC2nURP25NRwZlqR4PbDZy6JQMww,610
22
22
  pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_qiD_FU8,489
23
- pywebexec/static/js/commands.js,sha256=h2fkd9qpypLBxvhEEbay23nwuqUwcKJA0vHugcyL8pU,7961
23
+ pywebexec/static/js/commands.js,sha256=HNaAwJWW7EGHX4VrkQpfTyH92SsEbygSVa_jERk4tcc,7957
24
24
  pywebexec/static/js/popup.js,sha256=_2GzUizJ-sdZFWG7SZwbYJTPbu4EvVq7D5Q_UE8nepA,9452
25
- pywebexec/static/js/script.js,sha256=m4qjZt0voE-FObq3GRvlYgQWSx9ApInJRtgtf3uCGqE,18530
25
+ pywebexec/static/js/script.js,sha256=bmaR9TJhZMEK_Niz0TCp8CJdnLKh4ayaxLvqgjxdoRs,18482
26
26
  pywebexec/static/js/xterm/LICENSE,sha256=EU1P4eXTull-_T9I80VuwnJXubB-zLzUl3xpEYj2T1M,1083
27
27
  pywebexec/static/js/xterm/addon-canvas.js,sha256=ez6QTVvsmLVNJmdJlM-ZQ5bErwlxAQ_9DUmDIptl2TM,94607
28
28
  pywebexec/static/js/xterm/addon-canvas.js.map,sha256=ECBA4B-BqUpdFeRzlsEWLSQnudnhLP-yPQJ8_hKquMo,379537
@@ -33,11 +33,11 @@ pywebexec/static/js/xterm/addon-unicode11.js.map,sha256=paDj5KKtTIUGedQn2x7CaUTD
33
33
  pywebexec/static/js/xterm/xterm.js,sha256=H5kaw7Syg-v5bmCuI6AKUnZd06Lkb6b92p8aqwMvdJU,289441
34
34
  pywebexec/static/js/xterm/xterm.js.map,sha256=Y7O2Pb-fIS7Z8AC1D5s04_aiW_Jf1f4mCfN0U_OI6Zw,1118392
35
35
  pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
- pywebexec/templates/index.html,sha256=CcLN3v_42lnj4juiTntDTiGHJ8-zQnmB9oqpSK_0kks,2981
36
+ pywebexec/templates/index.html,sha256=vSR_PrREGvR6jbKKysABBYfvurw4OyarDrvcnHwRqnI,2969
37
37
  pywebexec/templates/popup.html,sha256=f5m4u8WKpkevL2mQamGqo4_y-rSuLOXGuNsezuUbniY,1508
38
- pywebexec-1.7.9.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
39
- pywebexec-1.7.9.dist-info/METADATA,sha256=ktA3IaI3-tmiO6niFlh1iOHQTGaVLuW7T9byfexDhpM,8148
40
- pywebexec-1.7.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
41
- pywebexec-1.7.9.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
42
- pywebexec-1.7.9.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
43
- pywebexec-1.7.9.dist-info/RECORD,,
38
+ pywebexec-1.7.11.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
39
+ pywebexec-1.7.11.dist-info/METADATA,sha256=-n08jreVl7Ju9m-EjnKXlFNtojek5i11pAZmDHh5jpk,8149
40
+ pywebexec-1.7.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
41
+ pywebexec-1.7.11.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
42
+ pywebexec-1.7.11.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
43
+ pywebexec-1.7.11.dist-info/RECORD,,