kopia lustrzana https://github.com/OpenDroneMap/WebODM
commit
f97cb7a33f
|
@ -8,10 +8,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: 'recursive'
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
|
||||||
- name: Build and Test
|
- name: Build and Test
|
||||||
run: |
|
run: |
|
||||||
docker-compose -f docker-compose.yml -f docker-compose.build.yml up --build -d
|
docker-compose -f docker-compose.yml -f docker-compose.build.yml up --build -d
|
||||||
./wait-for-it.sh localhost:8000 -t 60 -- echo "WebODM is up"
|
sleep 30
|
||||||
docker-compose exec -T webapp /webodm/webodm.sh test
|
docker-compose exec -T webapp /webodm/webodm.sh test
|
||||||
|
|
|
@ -37,7 +37,7 @@ WORKDIR /webodm/nodeodm/external/NodeODM
|
||||||
RUN npm install --quiet
|
RUN npm install --quiet
|
||||||
|
|
||||||
WORKDIR /webodm
|
WORKDIR /webodm
|
||||||
RUN npm install --quiet -g webpack@4.16.5 && npm install --quiet -g webpack-cli && npm install --quiet && webpack --mode production
|
RUN npm install --quiet -g webpack@4.16.5 && npm install --quiet -g webpack-cli@4.2.0 && npm install --quiet && webpack --mode production
|
||||||
RUN echo "UTC" > /etc/timezone
|
RUN echo "UTC" > /etc/timezone
|
||||||
RUN python manage.py collectstatic --noinput
|
RUN python manage.py collectstatic --noinput
|
||||||
RUN bash app/scripts/plugin_cleanup.sh && echo "from app.plugins import build_plugins;build_plugins()" | python manage.py shell
|
RUN bash app/scripts/plugin_cleanup.sh && echo "from app.plugins import build_plugins;build_plugins()" | python manage.py shell
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import Utils from './Utils';
|
import Utils from './Utils';
|
||||||
|
import { _, interpolate } from './gettext';
|
||||||
|
|
||||||
class PresetUtils{
|
class PresetUtils{
|
||||||
|
|
||||||
|
@ -24,6 +25,13 @@ class PresetUtils{
|
||||||
delete(opt.value);
|
delete(opt.value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof opt.help === "string"){
|
||||||
|
opt.help = interpolate(_(opt.help), {
|
||||||
|
choices: Array.isArray(opt.domain) ? opt.domain.join(", ") : opt.domain,
|
||||||
|
'default': opt.defaultValue === "" ? "\"\"" : opt.defaultValue
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Sort by name ascending
|
// Sort by name ascending
|
||||||
|
|
|
@ -20,4 +20,8 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -99999px;
|
left: -99999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tooltip .tooltip-inner{
|
||||||
|
padding: 3px 16px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue