Comments (7)
Hi @xprntb3. Unfortunately there is no supported way to hide the button (or prohibit stop).
You can hide the button via custom CSS. But it will be hidden for everyone.
from script-server.
Hi @xprntb3. Unfortunately there is no supported way to hide the button (or prohibit stop). You can hide the button via custom CSS. But it will be hidden for everyone.
Hey, thanks for the quick reply!
That's no problem, it can be hidden completely and for everyone.
Is there a documentation on editing custom css? I haven't found one yet.
Once i got it working, i will write another comment in this issue explaining how, so that others
that maybe need it aswell can apply it.
If you guys also take feature requests, maybe the ability to prevent stopping of scripts would be a good idea,
i can imagine others might find this useful aswell
from script-server.
from script-server.
@MNeill73 this won't work I think. Because STOP button will transform into KILL button after 5 seconds. And you cannot "trap" kill command.
from script-server.
from script-server.
Hello guys, found the solution!
first, go to your conf/theme/theme.css file (doesn't exist from the getgo, but you can download one of the custom themes for example)
Then edit the file and add the above css code to that file above the html:root definition:
.button-stop.btn.red.lighten-1 {
display: none;
}
.button-stop.btn.disabled.red.lighten-1 {
display: none;
}
html:root {
--hover-color: rgba(255, 255, 255, 0.04);_
....
This will hide the stop-button.
Again, thanks to everyone!
from script-server.
Cool, yes, this is the right place to define your custom styles
from script-server.
Related Issues (20)
- Error trying to use 'requires_terminal' when running as a systemd daemon HOT 3
- Hide some options for non-admin users HOT 1
- How do you use this to run docker commands? HOT 7
- Feature request: support clean shutdown also on SIGTERM HOT 2
- I'm having some issues with deployment HOT 1
- Add a second level/group in side panel to allow for more organized script grouping HOT 1
- feature(auth): Azure AD OAuth HOT 2
- Feature: GUI edit runners in subdirs of /conf/runners/<directory>/script.json
- Kubernetes ingress/nginx example
- 拒绝执行,这还需改哪里的设置? HOT 1
- Cant SSH from script HOT 2
- Provide config option for ldaps trusted CA HOT 1
- Is that anyway to add env variable into server_file file_dir? HOT 2
- admin users can't see runners HOT 2
- FEATURE: read group members from external file
- FEATURE: add groups_header_name to also manage groups in header mode
- is this project alive? HOT 1
- Scheulding HOT 1
- Could not get hostname for 192.168.x.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from script-server.