feat: add admin page

This commit is contained in:
2026-08-07 03:09:59 +02:00
parent 2c734493cf
commit 1dd7e69aa8
19 changed files with 891 additions and 65 deletions
+102
View File
@@ -164,6 +164,48 @@ abstract class AppLocalizations {
/// **'Logout'**
String get logout;
/// No description provided for @admin.
///
/// In en, this message translates to:
/// **'Admin'**
String get admin;
/// No description provided for @adminDescription.
///
/// In en, this message translates to:
/// **'Restricted tools for managing products and importing names.'**
String get adminDescription;
/// No description provided for @adminTools.
///
/// In en, this message translates to:
/// **'Admin tools'**
String get adminTools;
/// No description provided for @importData.
///
/// In en, this message translates to:
/// **'Import'**
String get importData;
/// No description provided for @importNames.
///
/// In en, this message translates to:
/// **'Import names'**
String get importNames;
/// No description provided for @importNamesDescription.
///
/// In en, this message translates to:
/// **'Prepare a list of names to use as tabs later.'**
String get importNamesDescription;
/// No description provided for @importPlaceholder.
///
/// In en, this message translates to:
/// **'Importing names will be available here later.'**
String get importPlaceholder;
/// No description provided for @openOrSelectTab.
///
/// In en, this message translates to:
@@ -260,6 +302,42 @@ abstract class AppLocalizations {
/// **'Change PIN'**
String get changePin;
/// No description provided for @adminPin.
///
/// In en, this message translates to:
/// **'Admin PIN'**
String get adminPin;
/// No description provided for @adminPinConfigured.
///
/// In en, this message translates to:
/// **'Configured'**
String get adminPinConfigured;
/// No description provided for @adminPinNotSet.
///
/// In en, this message translates to:
/// **'Not set'**
String get adminPinNotSet;
/// No description provided for @setAdminPin.
///
/// In en, this message translates to:
/// **'Set admin PIN'**
String get setAdminPin;
/// No description provided for @enterCurrentAdminPin.
///
/// In en, this message translates to:
/// **'Enter current admin PIN'**
String get enterCurrentAdminPin;
/// No description provided for @enterNewAdminPin.
///
/// In en, this message translates to:
/// **'Enter new admin PIN'**
String get enterNewAdminPin;
/// No description provided for @appearance.
///
/// In en, this message translates to:
@@ -620,6 +698,30 @@ abstract class AppLocalizations {
/// **'Create a PIN'**
String get createPin;
/// No description provided for @enterAdminPin.
///
/// In en, this message translates to:
/// **'Enter admin PIN'**
String get enterAdminPin;
/// No description provided for @createAdminPin.
///
/// In en, this message translates to:
/// **'Create admin PIN'**
String get createAdminPin;
/// No description provided for @confirmAdminPin.
///
/// In en, this message translates to:
/// **'Confirm admin PIN'**
String get confirmAdminPin;
/// No description provided for @adminPinSubtitle.
///
/// In en, this message translates to:
/// **'Youll use this to access admin tools'**
String get adminPinSubtitle;
/// No description provided for @pinsDidNotMatch.
///
/// In en, this message translates to: