Commit graph

9 commits

Author SHA1 Message Date
unpredictable-error
627d6e289a added russian language 2019-09-26 22:10:35 +03:00
Sudhanshu Gautam
b835f928a4 Add functionality to edit UCI defaults
A new section in Advanced section is introduced that can be used to
build custom images with custom UCI defaults

Fixes #10

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-13 02:27:43 +05:30
Sudhanshu Gautam
db14840f4a Fix responsive design issues
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-05 00:03:52 +05:30
Sudhanshu Gautam
acdb7741e8 Handle error codes for bad package selection
Handles 409 and 422 HTTP codes for bad package selection. Shows
popup for appropriate error message and gives a link for build
logs.

Fixes #12
Fixes #8

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-26 01:15:05 +05:30
Sudhanshu Gautam
128855c278
Change the code according to the new ASU api. (#5)
Now, upon load, the app fetched versions from the server and then
the devices for that particular version.
Then the user can search for their device and download an image
accordingly.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-23 19:53:02 +05:30
Sudhanshu Gautam
3d1243a946 Fix responsiveness of UI on mobile devices. Shows only relevant images.
The UI is now responsive for all devices (almost). The inputs are made
full-width for mobile devices.
Only relevant images are shown as download links. Previously all the
images returned by ASU server were shown which is fixed now.

Signed-off-by: Sudhanshu Gautam <sudhanshu@clever.coffee>
2019-07-27 17:25:31 +05:30
Sudhanshu Gautam
c05ac4dc2c Change the checkboxes to chips. Provide input field for extra modules
On considerations, the checkboxes were found to be limited as the
customization was limited by that interface. Now a "chip" styled
interface has been introduced alongside a text input field to add
custom packages.
An array separated by commas or newline can be feeded into the input
for bigger lists.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-14 13:32:49 +05:30
Sudhanshu Gautam
40f466153b Adds tabbed interface for advanced image building and reformats code
An interface tagged Basic and Advanced is introduced. Basic section
shows the default openwrt images with download links. Advanced
section show the options to choose which packages to use and an
option to build the images is introduced.
Reformatting of the code is also done according to standard code
styling.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-12 01:41:43 +05:30
Sudhanshu Gautam
6713303247 changes the locales structure making english strings as keys
Previously they were stored according to the format
'src/locales/{{lng}}/translation.json'
and after review, they are stored according to the following:
'src/locales/{{lng}}.json'
Also, the english strings are used as the keys/identifier in
translation files to make it easy to understand and implement.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-04 16:47:53 +05:30