Compare commits
6 Commits
cd31fcfc5b
...
11_0_0-46_
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6fc7fd819f | ||
![]() |
f571879414 | ||
![]() |
5b7e0a4d94 | ||
![]() |
142c05fbd7 | ||
![]() |
305e7b75d2 | ||
![]() |
b5b7645ebc |
@@ -110,7 +110,11 @@ html {
|
||||
} */
|
||||
|
||||
|
||||
|
||||
.user-table-max-wdith {
|
||||
.user-table-max-width {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
|
||||
.nutTable tr td:nth-child(1){
|
||||
width:30%;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
||||
function spinner() {
|
||||
const spinnerDisplayer = document.querySelector('.spinner-displayer');
|
||||
const btn = document.getElementById('btn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
spinnerDisplayer.classList.add('loading');
|
||||
})
|
||||
}
|
||||
|
||||
spinner();
|
||||
|
||||
// <div class='spinner-displayer'></div>
|
@@ -1,18 +0,0 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var select = document.getElementById('time_mode_select');
|
||||
var ntpSection = document.getElementById('ntp_section');
|
||||
var manualSection = document.getElementById('manual_section');
|
||||
|
||||
function toggleSections() {
|
||||
if (select.value === 'dat_manually_set') {
|
||||
ntpSection.style.display = 'none';
|
||||
manualSection.style.display = 'block';
|
||||
} else {
|
||||
ntpSection.style.display = 'block';
|
||||
manualSection.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
select.addEventListener('change', toggleSections);
|
||||
toggleSections(); // Set initial state
|
||||
});
|
@@ -1,302 +0,0 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const flagContainer = document.getElementById('flag-container');
|
||||
// Mapping of language codes to country codes and their names
|
||||
const languageToCountryMap = {
|
||||
"af": { code: "NA", name: "Namibia" },
|
||||
"agq": { code: "CM", name: "Cameroon" },
|
||||
"ak": { code: "GH", name: "Ghana" },
|
||||
"am": { code: "ET", name: "Ethiopia" },
|
||||
"ar": { code: "SA", name: "Saudi Arabia" },
|
||||
"as": { code: "IN", name: "India" },
|
||||
"asa": { code: "TZ", name: "Tanzania" },
|
||||
"ast": { code: "ES", name: "Spain" },
|
||||
"az": { code: "AZ", name: "Azerbaijan" },
|
||||
"bas": { code: "CM", name: "Cameroon" },
|
||||
"be": { code: "BY", name: "Belarus" },
|
||||
"bem": { code: "ZM", name: "Zambia" },
|
||||
"bez": { code: "TZ", name: "Tanzania" },
|
||||
"bg": { code: "BG", name: "Bulgaria" },
|
||||
"bm": { code: "ML", name: "Mali" },
|
||||
"bn": { code: "BD", name: "Bangladesh" },
|
||||
"bo": { code: "CN", name: "China" },
|
||||
"br": { code: "FR", name: "France" },
|
||||
"brx": { code: "IN", name: "India" },
|
||||
"bs": { code: "BA", name: "Bosnia and Herzegovina" },
|
||||
"ca": { code: "AD", name: "Andorra" },
|
||||
"ccp": { code: "BD", name: "Bangladesh" },
|
||||
"ce": { code: "RU", name: "Russia" },
|
||||
"cgg": { code: "UG", name: "Uganda" },
|
||||
"chr": { code: "US", name: "United States" },
|
||||
"ckb": { code: "IQ", name: "Iraq" },
|
||||
"cs": { code: "CZ", name: "Czech Republic" },
|
||||
"cy": { code: "GB", name: "United Kingdom" },
|
||||
"da": { code: "DK", name: "Denmark" },
|
||||
"dav": { code: "KE", name: "Kenya" },
|
||||
"de": { code: "DE", name: "Germany" },
|
||||
"dje": { code: "NE", name: "Niger" },
|
||||
"dsb": { code: "DE", name: "Germany" },
|
||||
"dua": { code: "CM", name: "Cameroon" },
|
||||
"dyo": { code: "SN", name: "Senegal" },
|
||||
"dz": { code: "BT", name: "Bhutan" },
|
||||
"ebu": { code: "KE", name: "Kenya" },
|
||||
"ee": { code: "GH", name: "Ghana" },
|
||||
"el": { code: "CY", name: "Cyprus" },
|
||||
"en": { code: "US", name: "United States" }, // Assume US for English if unspecified
|
||||
"es": { code: "ES", name: "Spain" },
|
||||
"et": { code: "EE", name: "Estonia" },
|
||||
"eu": { code: "ES", name: "Spain" },
|
||||
"ewo": { code: "CM", name: "Cameroon" },
|
||||
"fa": { code: "AF", name: "Afghanistan" },
|
||||
"ff": { code: "CM", name: "Cameroon" },
|
||||
"fi": { code: "FI", name: "Finland" },
|
||||
"fil": { code: "PH", name: "Philippines" },
|
||||
"fo": { code: "FO", name: "Faroe Islands" },
|
||||
"fr": { code: "FR", name: "France" },
|
||||
"fur": { code: "IT", name: "Italy" },
|
||||
"fy": { code: "NL", name: "Netherlands" },
|
||||
"ga": { code: "IE", name: "Ireland" },
|
||||
"gd": { code: "GB", name: "United Kingdom" },
|
||||
"gl": { code: "ES", name: "Spain" },
|
||||
"gsw": { code: "CH", name: "Switzerland" },
|
||||
"gu": { code: "IN", name: "India" },
|
||||
"guz": { code: "KE", name: "Kenya" },
|
||||
"gv": { code: "IM", name: "Isle of Man" },
|
||||
"ha": { code: "GH", name: "Ghana" },
|
||||
"haw": { code: "US", name: "United States" },
|
||||
"he": { code: "IL", name: "Israel" },
|
||||
"hi": { code: "IN", name: "India" },
|
||||
"hr": { code: "HR", name: "Croatia" },
|
||||
"hsb": { code: "DE", name: "Germany" },
|
||||
"hu": { code: "HU", name: "Hungary" },
|
||||
"hy": { code: "AM", name: "Armenia" },
|
||||
"id": { code: "ID", name: "Indonesia" },
|
||||
"ig": { code: "NG", name: "Nigeria" },
|
||||
"ii": { code: "CN", name: "China" },
|
||||
"is": { code: "IS", name: "Iceland" },
|
||||
"it": { code: "IT", name: "Italy" },
|
||||
"ja": { code: "JP", name: "Japan" },
|
||||
"jgo": { code: "CM", name: "Cameroon" },
|
||||
"jmc": { code: "TZ", name: "Tanzania" },
|
||||
"ka": { code: "GE", name: "Georgia" },
|
||||
"kab": { code: "DZ", name: "Algeria" },
|
||||
"kam": { code: "KE", name: "Kenya" },
|
||||
"kde": { code: "TZ", name: "Tanzania" },
|
||||
"kea": { code: "CV", name: "Cabo Verde" },
|
||||
"khq": { code: "ML", name: "Mali" },
|
||||
"ki": { code: "KE", name: "Kenya" },
|
||||
"kk": { code: "KZ", name: "Kazakhstan" },
|
||||
"kkj": { code: "CM", name: "Cameroon" },
|
||||
"kl": { code: "GL", name: "Greenland" },
|
||||
"kln": { code: "KE", name: "Kenya" },
|
||||
"km": { code: "KH", name: "Cambodia" },
|
||||
"kn": { code: "IN", name: "India" },
|
||||
"ko": { code: "KP", name: "North Korea" },
|
||||
"kok": { code: "IN", name: "India" },
|
||||
"ks": { code: "IN", name: "India" },
|
||||
"ksb": { code: "TZ", name: "Tanzania" },
|
||||
"ksf": { code: "CM", name: "Cameroon" },
|
||||
"ksh": { code: "DE", name: "Germany" },
|
||||
"kw": { code: "GB", name: "United Kingdom" },
|
||||
"ky": { code: "KG", name: "Kyrgyzstan" },
|
||||
"lag": { code: "TZ", name: "Tanzania" },
|
||||
"lb": { code: "LU", name: "Luxembourg" },
|
||||
"lg": { code: "UG", name: "Uganda" },
|
||||
"lkt": { code: "US", name: "United States" },
|
||||
"ln": { code: "AO", name: "Angola" },
|
||||
"lo": { code: "LA", name: "Laos" },
|
||||
"lrc": { code: "IQ", name: "Iraq" },
|
||||
"lt": { code: "LT", name: "Lithuania" },
|
||||
"lu": { code: "CD", name: "Democratic Republic of the Congo" },
|
||||
"luo": { code: "KE", name: "Kenya" },
|
||||
"Luo": { code: "KE", name: "Kenya" },
|
||||
"luy": { code: "KE", name: "Kenya" },
|
||||
"lv": { code: "LV", name: "Latvia" },
|
||||
"mas": { code: "KE", name: "Kenya" },
|
||||
"mer": { code: "KE", name: "Kenya" },
|
||||
"mfe": { code: "MU", name: "Mauritius" },
|
||||
"mg": { code: "MG", name: "Madagascar" },
|
||||
"mgh": { code: "MZ", name: "Mozambique" },
|
||||
"mgo": { code: "CM", name: "Cameroon" },
|
||||
"mk": { code: "MK", name: "North Macedonia" },
|
||||
"ml": { code: "IN", name: "India" },
|
||||
"mn": { code: "MN", name: "Mongolia" },
|
||||
"mr": { code: "IN", name: "India" },
|
||||
"ms": { code: "BN", name: "Brunei" },
|
||||
"mt": { code: "MT", name: "Malta" },
|
||||
"mua": { code: "CM", name: "Cameroon" },
|
||||
"my": { code: "MM", name: "Myanmar" },
|
||||
"mzn": { code: "IR", name: "Iran" },
|
||||
"naq": { code: "NA", name: "Namibia" },
|
||||
"nb": { code: "NO", name: "Norway" },
|
||||
"nd": { code: "ZW", name: "Zimbabwe" },
|
||||
"nds": { code: "DE", name: "Germany" },
|
||||
"ne": { code: "IN", name: "India" },
|
||||
"nl": { code: "NL", name: "Netherlands" },
|
||||
"nmg": { code: "CM", name: "Cameroon" },
|
||||
"nn": { code: "NO", name: "Norway" },
|
||||
"nnh": { code: "CM", name: "Cameroon" },
|
||||
"nus": { code: "SS", name: "South Sudan" },
|
||||
"nyn": { code: "UG", name: "Uganda" },
|
||||
"om": { code: "ET", name: "Ethiopia" },
|
||||
"or": { code: "IN", name: "India" },
|
||||
"os": { code: "GE", name: "Georgia" },
|
||||
"pa": { code: "PK", name: "Pakistan" },
|
||||
"pl": { code: "PL", name: "Poland" },
|
||||
"ps": { code: "AF", name: "Afghanistan" },
|
||||
"pt": { code: "PT", name: "Portugal" },
|
||||
"qu": { code: "BO", name: "Bolivia" },
|
||||
"rm": { code: "CH", name: "Switzerland" },
|
||||
"rn": { code: "BI", name: "Burundi" },
|
||||
"ro": { code: "RO", name: "Romania" },
|
||||
"rof": { code: "TZ", name: "Tanzania" },
|
||||
"ru": { code: "RU", name: "Russia" },
|
||||
"rw": { code: "RW", name: "Rwanda" },
|
||||
"rwk": { code: "TZ", name: "Tanzania" },
|
||||
"sah": { code: "RU", name: "Russia" },
|
||||
"saq": { code: "KE", name: "Kenya" },
|
||||
"sbp": { code: "TZ", name: "Tanzania" },
|
||||
"se": { code: "SE", name: "Sweden" },
|
||||
"seh": { code: "MZ", name: "Mozambique" },
|
||||
"ses": { code: "ML", name: "Mali" },
|
||||
"sg": { code: "CF", name: "Central African Republic" },
|
||||
"shi": { code: "TN", name: "Tunisia" },
|
||||
"si": { code: "LK", name: "Sri Lanka" },
|
||||
"sk": { code: "SK", name: "Slovakia" },
|
||||
"sl": { code: "SI", name: "Slovenia" },
|
||||
"smn": { code: "FI", name: "Finland" },
|
||||
"sn": { code: "ZW", name: "Zimbabwe" },
|
||||
"so": { code: "SO", name: "Somalia" },
|
||||
"sq": { code: "AL", name: "Albania" },
|
||||
"sr": { code: "RS", name: "Serbia" },
|
||||
"sv": { code: "SE", name: "Sweden" },
|
||||
"sw": { code: "CD", name: "Democratic Republic of the Congo" },
|
||||
"ta": { code: "IN", name: "India" },
|
||||
"te": { code: "IN", name: "India" },
|
||||
"teo": { code: "KE", name: "Kenya" },
|
||||
"tg": { code: "TJ", name: "Tajikistan" },
|
||||
"th": { code: "TH", name: "Thailand" },
|
||||
"ti": { code: "ER", name: "Eritrea" },
|
||||
"to": { code: "TO", name: "Tonga" },
|
||||
"tr": { code: "TR", name: "Turkey" },
|
||||
"tt": { code: "RU", name: "Russia" },
|
||||
"twq": { code: "NE", name: "Niger" },
|
||||
"tzm": { code: "MA", name: "Morocco" },
|
||||
"ug": { code: "CN", name: "China" },
|
||||
"uk": { code: "UA", name: "Ukraine" },
|
||||
"ur": { code: "IN", name: "India" },
|
||||
"uz": { code: "UZ", name: "Uzbekistan" },
|
||||
"vai": { code: "TN", name: "Tunisia" },
|
||||
"Vai": { code: "TN", name: "Tunisia" },
|
||||
"vi": { code: "VN", name: "Vietnam" },
|
||||
"vun": { code: "TZ", name: "Tanzania" },
|
||||
"wae": { code: "CH", name: "Switzerland" },
|
||||
"wo": { code: "SN", name: "Senegal" },
|
||||
"xog": { code: "UG", name: "Uganda" },
|
||||
"yav": { code: "CM", name: "Cameroon" },
|
||||
"yi": { code: "01", name: "Unknown" }, // Placeholder for unspecified region
|
||||
"yo": { code: "BJ", name: "Benin" },
|
||||
"yue": { code: "CN", name: "China" },
|
||||
"zgh": { code: "MA", name: "Morocco" },
|
||||
"zh": { code: "CN", name: "China" },
|
||||
"zu": { code: "ZA", name: "South Africa" },
|
||||
};
|
||||
|
||||
|
||||
//async function getCountryName(countryCode) {
|
||||
//try {
|
||||
//const response = await fetch(`https://restcountries.com/v3.1/alpha/${countryCode}`);
|
||||
//if (!response.ok) throw new Error('Country not found');
|
||||
//const data = await response.json();
|
||||
//// Return the name in the native language
|
||||
//return data[0].name.common;
|
||||
//} catch (error) {
|
||||
//console.error(error);
|
||||
//return 'Unknown Country';
|
||||
//}
|
||||
//}
|
||||
|
||||
function getCountryNameFromLanguage(language) {
|
||||
return languageToCountryMap[language] ? languageToCountryMap[language].name : null;
|
||||
}
|
||||
|
||||
function getCountryCodeFromLanguage(language) {
|
||||
return languageToCountryMap[language] ? languageToCountryMap[language].code : null;
|
||||
}
|
||||
|
||||
function getCountryNameFromCountryCode(countryCode) {
|
||||
//alert(`Country code: ${countryCode}`);
|
||||
for (const language in languageToCountryMap) {
|
||||
if (languageToCountryMap.hasOwnProperty(language)) {
|
||||
if (languageToCountryMap[language].code === countryCode) {
|
||||
return languageToCountryMap[language].name;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null; // Return null if country code not found
|
||||
}
|
||||
|
||||
function getFlagEmoji(locale) {
|
||||
// Split the locale to get the language and country code
|
||||
const parts = locale.split('-');
|
||||
let countryCode;
|
||||
|
||||
// Handle single subtag (language only) or double subtag (language-country)
|
||||
if (parts.length === 1) {
|
||||
countryCode = getCountryCodeFromLanguage(parts[0]);
|
||||
} else if (parts.length === 2) {
|
||||
countryCode = parts[1].toLowerCase(); // Use the country code
|
||||
}
|
||||
|
||||
// If country code is not found, set a fallback output
|
||||
if (!countryCode) {
|
||||
const fallback = `? ${locale.toUpperCase()}`; // Just a question mark and the full locale
|
||||
return { flag: fallback, isUnknown: true, countryName: 'Unknown Country' };
|
||||
}
|
||||
|
||||
// Convert the country code to a flag emoji
|
||||
return {
|
||||
flag: String.fromCodePoint(...[...countryCode.toUpperCase()].map(char => 0x1F1E6 + char.charCodeAt(0) - 'A'.charCodeAt(0))),
|
||||
isUnknown: false,
|
||||
countryCode: countryCode
|
||||
};
|
||||
}
|
||||
|
||||
function displayLocaleAndFlag() {
|
||||
// Get the browser locale
|
||||
const userLocale = navigator.languages && navigator.languages.length
|
||||
? navigator.languages[0]
|
||||
: navigator.language;
|
||||
|
||||
//alert(`User Locale: ${userLocale}`); // Alert the detected locale
|
||||
//console.log(navigator.languages); // Log language to console
|
||||
|
||||
const { flag, isUnknown, countryCode } = getFlagEmoji(userLocale);
|
||||
|
||||
//alert(`Country Code: ${countryCode}, Is Unknown: ${isUnknown}`); // Debug country code and unknown flag status
|
||||
|
||||
// Display the locale and the corresponding flag (or fallback)
|
||||
//document.getElementById('locale').textContent = `Your Locale: ${userLocale}`;
|
||||
|
||||
if (isUnknown) {
|
||||
const fallbackDiv = document.createElement('div');
|
||||
fallbackDiv.className = 'fallback-box';
|
||||
fallbackDiv.textContent = `? ${userLocale.toUpperCase()}`; // Show ? and locale code inside the box
|
||||
document.getElementById('flag-container').appendChild(fallbackDiv);
|
||||
|
||||
// Tooltip for fallback
|
||||
fallbackDiv.title = "Unknown Country"; // Tooltip for fallback
|
||||
//alert('Fallback triggered: Unknown Country'); // Debug fallback
|
||||
} else {
|
||||
const countryName = getCountryNameFromCountryCode(countryCode.toUpperCase());
|
||||
//alert(`Country Name from Country Code: ${countryName}`); // Alert the country name
|
||||
|
||||
const flagSpan = document.createElement('span');
|
||||
flagSpan.textContent = flag; // Use flag emoji
|
||||
flagSpan.title = countryName; // Tooltip for the flag in country language
|
||||
document.getElementById('flag-container').appendChild(flagSpan);
|
||||
|
||||
//alert(`Flag Emoji: ${flag}`); // Debug flag emoji display
|
||||
}
|
||||
}
|
||||
displayLocaleAndFlag();
|
||||
});
|
@@ -1,32 +0,0 @@
|
||||
$(document).ready(function() {
|
||||
function toggleUPSClasses() {
|
||||
var selectedOption = $('#Nutmode_select').val();
|
||||
var upsModelValue = $('#UPS_Model_select').val().toLowerCase(); // Get the current value from UPS_Model
|
||||
$('.masterups').toggle(selectedOption === 'netserver' || selectedOption === 'standalone'); // Show/Hide masterups based on Net Server or Standalone
|
||||
$('.secondaryups').toggle(selectedOption === 'netserver' ); // Show/Hide Secondary logins for net server
|
||||
$('.slaveups').toggle(selectedOption === 'netclient'); // Show/Hide slaveups based on Net Client
|
||||
$('.generics').toggle(selectedOption !== 'netclient' && upsModelValue === 'genericups' );
|
||||
|
||||
// Enable/Disable inputs based on the selected option
|
||||
$('.masterups input').prop('disabled', !(selectedOption === 'netserver' || selectedOption === 'standalone'));
|
||||
$('.slaveups input').prop('disabled', selectedOption !== 'netclient');
|
||||
$('.generics input').prop('disabled', selectedOption === 'netclient');
|
||||
}
|
||||
|
||||
function toggleGenerics() {
|
||||
var upsModelValue = $('#UPS_Model_select').val().toLowerCase(); // Get the current value from UPS_Model
|
||||
var isGenericUps = upsModelValue === 'genericups'; // Check if it's 'genericups'
|
||||
|
||||
// Show/Hide generics section and enable/disable inputs
|
||||
$('.generics').toggle(isGenericUps);
|
||||
$('.generics input').prop('disabled', !isGenericUps); // Enable/Disable inputs based on the value
|
||||
}
|
||||
|
||||
// Event listener for the selections
|
||||
$('#Nutmode_select').change(toggleUPSClasses);
|
||||
$('#UPS_Model_select').change(toggleGenerics); // Listen for changes in the UPS_Model dropdown
|
||||
|
||||
// Set the initial state based on current selections
|
||||
toggleGenerics();
|
||||
toggleUPSClasses();
|
||||
});
|
@@ -1,25 +0,0 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const analysisType = document.getElementById('analysis_type');
|
||||
const messageIdGroup = document.getElementById('message_id_group');
|
||||
const emailAddressGroup = document.getElementById('email_address_group');
|
||||
|
||||
// Initially hide both controls
|
||||
messageIdGroup.style.display = 'none';
|
||||
emailAddressGroup.style.display = 'none';
|
||||
|
||||
analysisType.addEventListener('change', function() {
|
||||
// Hide both controls first
|
||||
messageIdGroup.style.display = 'none';
|
||||
emailAddressGroup.style.display = 'none';
|
||||
|
||||
// Show the relevant control based on the selected option
|
||||
switch(this.value) {
|
||||
case 'trace_message':
|
||||
messageIdGroup.style.display = 'block';
|
||||
break;
|
||||
case 'user_activity':
|
||||
emailAddressGroup.style.display = 'block';
|
||||
break;
|
||||
}
|
||||
});
|
||||
});
|
@@ -96,7 +96,7 @@
|
||||
% my $btn = l('bac_UPDATE_CONF');
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary" value="<%=$c->l('bac_UPDATE_CONF')%>"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm" value="<%=$c->l('bac_UPDATE_CONF')%>"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary" value="<%=$c->l('bac_RESTORE_FROM_TAPE')%>"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm" value="<%=$c->l('bac_RESTORE_FROM_TAPE')%>"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -65,7 +65,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary" value="<%=$c->l('NEXT')%>"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm" value="<%=$c->l('NEXT')%>"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -259,7 +259,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary" value="<%=$c->l('NEXT')%>"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm" value="<%=$c->l('NEXT')%>"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -58,7 +58,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -44,7 +44,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -67,7 +67,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -65,7 +65,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary" value="<%=$c->l('bac_RESTORE_FROM_TAPE')%>"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm" value="<%=$c->l('bac_RESTORE_FROM_TAPE')%>"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -38,7 +38,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -70,7 +70,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -93,7 +93,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -81,7 +81,7 @@
|
||||
<form action="/smanager/bugreport" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => $bugr_datas->{trt} %>
|
||||
|
@@ -20,7 +20,7 @@
|
||||
<form action="/smanager/bugreportD" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => $bugr_datas->{trt} %>
|
||||
|
@@ -59,7 +59,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -1,9 +1,16 @@
|
||||
<!-- common_css.html.ep -->
|
||||
%= stylesheet 'koozali/css/adminlte.koozali.css'
|
||||
%= stylesheet 'koozali/css/flag-icon.min.css'
|
||||
|
||||
%#= stylesheet 'css/sme-jquery-overrides.css'
|
||||
|
||||
<!-- Generic to AdminLTE -->
|
||||
%= stylesheet 'dist/css/adminlte.min.css'
|
||||
%= stylesheet 'dist/font/bootstrap-icons.min.css'
|
||||
|
||||
|
||||
<!-- Specific to Koozali from smanager/default -->
|
||||
%= stylesheet 'css/flag-icon.min.css'
|
||||
|
||||
<!-- Specific Koozali AdminLTE overrides -->
|
||||
%= stylesheet 'koozali/css/adminlte.koozali.css'
|
||||
|
||||
|
||||
%#= stylesheet 'dist/css/overlayscrollbars.min.css'
|
||||
%#= stylesheet 'css/sme-jquery-overrides.css'
|
@@ -1,11 +1,16 @@
|
||||
<!-- common_js.html.ep -->
|
||||
%= javascript 'dist/js/jquery.min.js'
|
||||
%= javascript 'dist/js/bootstrap.min.js'
|
||||
%= javascript 'dist/js/popper.min.js'
|
||||
%= javascript 'dist/js/adminlte.min.js'
|
||||
|
||||
%= javascript 'koozali/js/datetime.js'
|
||||
%= javascript 'koozali/js/nutups.js'
|
||||
%= javascript 'koozali/js/flag-by-locale.js'
|
||||
<!-- Specific to AdminLTE -->
|
||||
%= javascript 'dist/js/adminlte.min.js'
|
||||
%= javascript 'dist/js/bootstrap.min.js'
|
||||
|
||||
<!-- Generic JS -->
|
||||
%= javascript 'dist/js/jquery.min.js'
|
||||
%= javascript 'dist/js/popper.min.js'
|
||||
|
||||
<!-- Specific to Koozali from smanager/default -->
|
||||
%= javascript 'js/flag-by-locale.js'
|
||||
|
||||
<!-- Specific to Koozali AdminLTE -->
|
||||
%= javascript 'koozali/js/sme-password.js'
|
||||
|
||||
|
@@ -31,6 +31,19 @@
|
||||
<br>
|
||||
<%= $modul %>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= $c->l('dat_The_time_is_currently') %>
|
||||
</div>
|
||||
<br>
|
||||
<div>
|
||||
<%= text_field 'clock', id => 'real-time-clock', readonly => 'readonly', class => 'col-md-2' , value => $dat_data->{currentdatetime} %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% if ($dat_data->{ntpstatus} eq 'disabled') {
|
||||
<div class='datetime-set-ntp'>
|
||||
@@ -49,7 +62,7 @@
|
||||
% [ $c->l('dat_manually_set'), 'dat_manually_set' ]
|
||||
% ];
|
||||
|
||||
<br><br>
|
||||
<br>
|
||||
|
||||
<h2><%= $c->l('Time Configuration') %></h2>
|
||||
|
||||
@@ -59,7 +72,7 @@
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<div class="col-md-2">
|
||||
<%= label_for time_mode => $c->l('Time Setting Mode:') %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
@@ -68,9 +81,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
<div id='ntp_section'>
|
||||
<div>
|
||||
@@ -80,13 +91,18 @@
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<div class="col-md-2">
|
||||
<label for="inputNTPServerURL" class="col-form-label"><%=$c->l('dat_NTP_Server_URL') %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% my $server_check = '^([a-zA-Z0-9][a-zA-Z0-9\.\-]{0,253}[a-zA-Z0-9]|(\d{1,3}\.){3}\d{1,3})$';
|
||||
% param 'ntpserver' => $dat_data->{ntpserver} unless param 'ntpserver';
|
||||
<input type="text" name="ntpserver" id="inputNTPServerURL" class="form-control" aria-describedby="NTP Server URL" pattern="<%= $server_check %>" value="<%= $dat_data->{ntpserver} %>">
|
||||
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button type="button" id="test-ntp-btn" class="btn btn-primary btn-sm ml-2">Test Server</button>
|
||||
<span id="ntp-test-result" class="ntp-test-result ml-2"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -155,7 +171,7 @@
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'hour' => ($dat_data->{hour}) unless param 'hour';
|
||||
%= select_field hour => ($hour_options, id => 'hour'), required => 'required', class=> "form-select"
|
||||
<%= select_field hour => ($hour_options, id => 'hour'), required => 'required', class=> "form-select" %>
|
||||
</div>
|
||||
|
||||
<div class="col-auto">
|
||||
@@ -163,7 +179,7 @@
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'minute' => ($dat_data->{minute}) unless param 'minute';
|
||||
%= select_field minute => ($minute_options, id => 'minute'), required => 'required', class=> "form-select", inputmode => 'numeric'
|
||||
<%= select_field minute => ($minute_options, id => 'minute'), required => 'required', class=> "form-select", inputmode => 'numeric' %>
|
||||
|
||||
%#= text_field minute => id => 'minute', size => 2, maxlength => 2, placeholder => 'MM', pattern => '^[0-5][0-9]$', title => 'Minute (00-59)', required => 'required', inputmode => 'numeric', autocomplete => 'off'
|
||||
</div>
|
||||
@@ -173,17 +189,13 @@
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'second' => ($dat_data->{second}) unless param 'second';
|
||||
%= select_field minute => ($second_options, id => 'minute'), required => 'required', class=> "form-select" , inputmode => 'numeric'
|
||||
<%= select_field minute => ($second_options, id => 'minute'), required => 'required', class=> "form-select" , inputmode => 'numeric' %>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
@@ -207,9 +219,10 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
% }
|
||||
|
@@ -123,7 +123,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
% layout 'AdminLTE', title => "Sme server 2 - emailsettings";
|
||||
% layout 'AdminLTE', title => "Sme server 2 - E-Mail";
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<%= dumper $c->current_route %>
|
||||
<= dumper $mai_datas %>
|
||||
<%= dumper $mai_data->{trt} %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
@@ -27,202 +27,31 @@
|
||||
|
||||
<br>
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
%#Routing to partials according to trt parameter.
|
||||
%#This ought to be cascading if/then/elsif, but is easier to just stack the if/then's rather like a case statement'
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_POP_ACCESS_CONTROL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_pop3_access( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
% if ($mai_data->{trt} eq "FRONT") {
|
||||
<%= include 'partials/_mai_FRONT' %>
|
||||
% }
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_IMAP_ACCESS_CONTROL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_imap_access( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
% if ($mai_data->{trt} eq "ACC") {
|
||||
<%= include 'partials/_mai_ACC' %>
|
||||
% }
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_WEBMAIL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_webmail_status( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
% if ($mai_data->{trt} eq "FIL") {
|
||||
<%= include 'partials/_mai_FIL' %>
|
||||
% }
|
||||
|
||||
<br>
|
||||
% if ($mai_data->{trt} eq "REC") {
|
||||
<%= include 'partials/_mai_REC' %>
|
||||
% }
|
||||
|
||||
% my $btn = l('mai_DESC_STATE_ACCESS_BUTTON');
|
||||
<%= hidden_field 'trt' => 'ACC' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!--<hr class="" />-->
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_VIRUS_SCAN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_virus_status(TRUE) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_SPAM_SCAN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_spam_status(TRUE) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_BLOCK_EXECUTABLE_CONTENT' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_patterns_status(TRUE) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% my $btn = l('mai_DESC_STATE_FILTERING_BUTTON');
|
||||
<%= hidden_field 'trt' => 'FIL' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!--<hr class="" />-->
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_MODE' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $mai_datas->{fetchmailmethod} %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
% my $smtp_mesg;
|
||||
|
||||
% $smtp_mesg=l('SMTP port %u allow client to authenticate:');
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_smtp_auth( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
% $smtp_mesg=l('SMTPS SSL/TLS auth: port %u status:');
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_smtp_ssl_auth( TRUE, 's', FALSE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
% $smtp_mesg=l 'Submission port %u status:';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('uqpsmtpd','TCPPort',587)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_smtp_ssl_auth( TRUE,'u', FALSE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% my $btn = l('mai_DESC_STATE_RECEPTION_BUTTON');
|
||||
<%= hidden_field 'trt' => 'REC' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!--<hr class="" />-->
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_UNKNOWN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_emailunknownuser_status( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_DELEGATE' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_value('DelegateMailServer') %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_SMARTHOST' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_value('SMTPSmartHost') %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
% if ($mai_data->{trt} eq "DEL") {
|
||||
<%= include 'partials/_mai_DEL' %>
|
||||
% }
|
||||
|
||||
|
||||
% my $btn = l('mai_DESC_STATE_DELIVERY_BUTTON');
|
||||
<%= hidden_field 'trt' => 'DEL' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
%end
|
@@ -17,10 +17,12 @@
|
||||
%}
|
||||
<h1> Embedded - <%=$title %></h1>
|
||||
<br>
|
||||
<p>If the legacy panel does not appear, then you may not be logged into the original Server manager.<br />You can log in by clicking <a href="/server-manager" target='_blank'>here</a>. Or by clicking on the "Legacy SM" button at the top of the window.</p>
|
||||
<div>If the legacy panel does not appear, then you may not be logged into the original Server manager.<br />You can log in by clicking <a href="/server-manager" target='_blank'>here</a>. Or by clicking on the "Legacy SM" button at the top of the window.</div>
|
||||
|
||||
% my $height = $c->stash('height') | '600px';
|
||||
% if ($height !~ /px$/) { $height = $height.'px';}
|
||||
<object id="" class="" data="<%=$c->stash('modul') %>" style="width:99%;height:<%= $height %>;" title="<%= $c->stash('title') %>" type="text/html" ><%= $c->stash('title') %> not found</object>
|
||||
|
||||
<object class="" data="<%=$c->stash('modul') %>" style="width:99%;height:<%= $height %>;" title="<%= $c->stash('title') %>" type="text/html" ><%= $c->stash('title') %> not found</object>
|
||||
</div>
|
||||
|
||||
%end
|
||||
|
@@ -19,20 +19,18 @@
|
||||
%= content_for 'head_contrib'
|
||||
%= content_for 'refresh'
|
||||
|
||||
<!-- Specific for AdminLTE -->
|
||||
%= include 'common_js'
|
||||
%= include 'common_css'
|
||||
|
||||
<!-- Custom overrides js/css? -->
|
||||
<!-- This needs refining - do contribs add in their own stuff?? -->
|
||||
<!-- This needs refining -->
|
||||
|
||||
% if (config 'hasJquery') {
|
||||
%= include 'partials/_js_imports'
|
||||
|
||||
%# panel specific css file
|
||||
% my $controller = stash('controller');
|
||||
% if ($controller) {
|
||||
% my $css_path = "css/$controller.css";
|
||||
%# Use the url_for helper to generate the correct static file URL
|
||||
% if (app->static->file($css_path)) {
|
||||
<link rel="stylesheet" href="<%= url_for("/$css_path") %>">
|
||||
% }
|
||||
|
||||
% if ($c->current_route eq 'nutups') {
|
||||
%= include 'partials/_nutups_overrides'
|
||||
% }
|
||||
|
||||
</head>
|
||||
@@ -208,6 +206,16 @@
|
||||
|
||||
<div id="adminlte-version"></div>
|
||||
|
||||
%# Specific panel js code
|
||||
% $controller = stash('controller');
|
||||
% if ($controller) {
|
||||
% my $js_path = "js/$controller.js";
|
||||
%# Use the url_for helper to generate the correct static file URL
|
||||
% if (app->static->file($js_path)) {
|
||||
<script src="<%= url_for("/$js_path") %>"></script>
|
||||
% }
|
||||
% }
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -89,7 +89,7 @@
|
||||
<!-- /.col -->
|
||||
<div class="col-4">
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Login</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
@@ -10,8 +10,8 @@
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $nut_data->{trt}
|
||||
<%= dumper $c->current_route %>
|
||||
<%= dumper $nut_data->{trt} %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
@@ -22,9 +22,10 @@
|
||||
% }
|
||||
|
||||
%if ($c->stash('first')) {
|
||||
<br><p>
|
||||
<br>
|
||||
<div>
|
||||
<%=$c->render_to_string(inline =>$c->l($c->stash('first'))) %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
% } elsif ($c->stash('success')) {
|
||||
<div class="text-success">
|
||||
@@ -33,8 +34,6 @@
|
||||
<%= $c->l($c->stash('success')); %>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
% } elsif ($c->stash('error')) {
|
||||
<div class="text-danger">
|
||||
<h2><%=$c->l('nut_Error_Status_Report') %></h2>
|
||||
@@ -42,7 +41,6 @@
|
||||
<%= $c->l($c->stash('error')); %>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
% }
|
||||
|
||||
%#Routing to partials according to trt parameter.
|
||||
@@ -57,10 +55,11 @@
|
||||
<br>
|
||||
|
||||
% if ($nut_data->{trt} eq "CONFIG") {
|
||||
|
||||
<%= include 'partials/_nut_CONFIG' %>
|
||||
% }
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-danger"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-danger btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<br>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %> </button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %> </button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => 'ADD' %>
|
||||
@@ -47,7 +47,7 @@
|
||||
% my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure
|
||||
% my $actionModify = qq{
|
||||
% <a href="domains2?CsrfDef=$csrf_token&trt=UPD&Domain=$domain_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -60,7 +60,7 @@
|
||||
% my $domain_name = $domain->{Domain}; # Domain name extracted from the data structure
|
||||
% $actionRemove = qq{
|
||||
% <a href="domains2?CsrfDef=$csrf_token&trt=DEL&Domain=$domain_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-auto">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn2 %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn2 %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => $dom_datas->{trt} %>
|
||||
|
@@ -78,7 +78,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => $dom_datas->{trt} %>
|
||||
|
@@ -70,7 +70,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -59,7 +59,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-danger"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-danger btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<br>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %> </button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %> </button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => 'ADD' %>
|
||||
@@ -39,7 +39,7 @@
|
||||
% my $modify_text = l('MODIFY'); # Localized text
|
||||
% my $actionModify = qq{
|
||||
% <a href="groups2?CsrfDef=$csrf_token&trt=UPD&group=$group_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -48,7 +48,7 @@
|
||||
% my $remove_text = l('REMOVE'); # Localized text
|
||||
% my $actionRemove = qq{
|
||||
% <a href="groups2?CsrfDef=$csrf_token&trt=DEL&group=$group_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -79,7 +79,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-danger"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-danger btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<form action="/smanager/hostentriesd" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => $hos_datas->{trt} %>
|
||||
@@ -47,7 +47,7 @@
|
||||
%my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure
|
||||
%$actionModify = qq{
|
||||
% <a href="hostentriesd?CsrfDef=$csrf_token&trt=UPD&Hostname=$hostentries_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -57,7 +57,7 @@
|
||||
%#my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure
|
||||
%$actionRemove = qq{
|
||||
% <a href="hostentriesd?CsrfDef=$csrf_token&trt=DEL&Hostname=$hostentries_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -53,7 +53,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -77,7 +77,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-danger"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-danger btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<br>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %> </button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %> </button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => 'ADD'; %>
|
||||
@@ -60,7 +60,7 @@
|
||||
%my $ibays_entry_name = $ibay->key; # ibays_entry name extracted from the data structure
|
||||
%$actionModify = qq{
|
||||
% <a href="ibaysd?CsrfDef=$csrf_token&trt=UPD&ibay=$ibays_entry_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -74,7 +74,7 @@
|
||||
%if ($ibay->prop('PasswordSet') ne 'yes' && $needPassword) {
|
||||
%$actionResetPw = qq{
|
||||
% <a href="ibaysd?CsrfDef=$csrf_token&trt=PWD&ibay=$ibays_entry_name">
|
||||
% <button type='button' class="btn btn-danger" title="$password_text - currently unset" >
|
||||
% <button type='button' class="btn btn-danger btn-sm" title="$password_text - currently unset" >
|
||||
% $password_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -82,7 +82,7 @@
|
||||
% } else {
|
||||
%$actionResetPw = qq{
|
||||
% <a href="ibaysd?CsrfDef=$csrf_token&trt=PWD&ibay=$ibays_entry_name">
|
||||
% <button type='button' class="btn btn-primary" title='$password_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$password_text' >
|
||||
% $password_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -97,7 +97,7 @@
|
||||
%my $ibays_entry_name = $ibay->key; # ibays_entry name extracted from the data structure
|
||||
%$actionRemove = qq{
|
||||
% <a href="ibaysd?CsrfDef=$csrf_token&trt=DEL&ibay=$ibays_entry_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -49,7 +49,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -107,7 +107,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -1,25 +1,42 @@
|
||||
<% use POSIX qw(strftime); %>
|
||||
<div id="">
|
||||
<% if (! $c->session->{PwdSet} ) { %>
|
||||
<div class=""><h5>
|
||||
Warning: you have not yet changed the default system password.</h5></div>
|
||||
<% } %>
|
||||
<% if ( $c->is_unsafe ) { %>
|
||||
<div class=""><h5>
|
||||
Warning: a reconfigure and reboot is required before proceeding! Failure to do so now
|
||||
may leave your system in an unknown state!</h5></div>
|
||||
<% } %>
|
||||
<% if ( $c->session->{Access} eq 'public' && ((config->{debug} ne '0') || (config->{mode} ne 'production')) ) { %>
|
||||
<div class=""><h5>
|
||||
Warning: Development or debug mode enabled AND public access is offered !
|
||||
</h5></div>
|
||||
<% } %>
|
||||
<% my $curdate = strftime '%Y%m%d', localtime; %>
|
||||
<% if ( "$curdate" >= "20290531" ) { %>
|
||||
<div class=""><h5>
|
||||
URGENT NOTICE: As per May 31st 2029, SME Server 11 is obsolete, and potentially INSECURE. NO support will be offered for any issue found with this installed version.
|
||||
Please migrate IMMEDIATELY to Koozali SME Server 12 or higher version. Failure to upgrade may lead to the compromise of this server.
|
||||
<br>Please, consult <a href="https://wiki.koozali.org/SME_Server:Download" target="_blank">https://wiki.koozali.org/SME_Server:Download</a> to get the latest version
|
||||
</h5></div>
|
||||
<% } %>
|
||||
% use POSIX qw(strftime);
|
||||
|
||||
<div>
|
||||
% if (! $c->session->{PwdSet} ) {
|
||||
<div>
|
||||
<h5 class="text-danger">
|
||||
Warning: you have not yet changed the default system password.
|
||||
</h5>
|
||||
</div>
|
||||
% }
|
||||
|
||||
% if ( $c->is_unsafe ) {
|
||||
<div>
|
||||
<h5 class="text-danger">
|
||||
Warning: a reconfigure and reboot is required before proceeding!<br>
|
||||
Failure to do so now may leave your system in an unknown state!
|
||||
</h5>
|
||||
</div>
|
||||
% }
|
||||
|
||||
% if ( $c->session->{Access} eq 'public' && ((config->{debug} ne '0') || (config->{mode} ne 'production')) ) {
|
||||
<div>
|
||||
<h5 class="text-danger">
|
||||
Warning: Development or debug mode enabled AND public access is offered !
|
||||
</h5>
|
||||
</div>
|
||||
% }
|
||||
|
||||
<% my $curdate = strftime '%Y%m%d', localtime; %>
|
||||
|
||||
% if ( "$curdate" >= "20290531" ) {
|
||||
<div>
|
||||
<h5>
|
||||
URGENT NOTICE: As per May 31st 2029, SME Server 11 is obsolete, and potentially INSECURE.<br>
|
||||
NO support will be offered for any issue found with this installed version.<br>
|
||||
Please migrate IMMEDIATELY to Koozali SME Server 12 or higher version.<br>
|
||||
Failure to upgrade may lead to the compromise of this server.<br>
|
||||
Please, consult <a href="https://wiki.koozali.org/SME_Server:Download" target="_blank">https://wiki.koozali.org/SME_Server:Download</a> to get the latest version
|
||||
</h5>
|
||||
</div>
|
||||
% }
|
||||
</div>
|
@@ -56,7 +56,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<a href='letsencryptd' class="btn btn-primary btn-sm" role="button"><%= $back_text %></a>
|
||||
<a href='letsencryptd' class="btn btn-primary btn-sm btn-sm" role="button"><%= $back_text %></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -67,7 +67,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<a href='letsencryptd' class="btn btn-primary btn-sm" role="button"><%= $back_text %></a>
|
||||
<a href='letsencryptd' class="btn btn-primary btn-sm btn-sm" role="button"><%= $back_text %></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -144,7 +144,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -87,7 +87,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -76,7 +76,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -39,7 +39,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
%my $csrf_token = "TOKEN"; # CSRF token for security
|
||||
%$actionRemove = qq{
|
||||
% <a href="localnetworksd?CsrfDef=$csrf_token&trt=DEL&localnetwork=$local_network_entry">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -1,3 +1,5 @@
|
||||
|
||||
<!-- Not used -->
|
||||
<div class="login-page bg-body-secondary app-loaded">
|
||||
<!-- /.login-logo -->
|
||||
<br>
|
||||
@@ -38,7 +40,7 @@
|
||||
<!-- /.col -->
|
||||
<div class="col-4">
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-primary">Sign In</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Sign In</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
@@ -1,13 +1,13 @@
|
||||
% layout 'AdminLTE', title => "Sme server 2 - emailaccess";
|
||||
%# layout 'AdminLTE', title => "Sme server 2 - emailaccess";
|
||||
|
||||
% content_for 'module' => begin
|
||||
%# content_for 'module' => begin
|
||||
|
||||
<div class="card-body">
|
||||
<!-- <div class="card-body"> -->
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $mai_datas
|
||||
<%= dumper $c->current_route %>
|
||||
<%= dumper $mai_data %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
@@ -18,11 +18,12 @@
|
||||
</div>
|
||||
% }
|
||||
|
||||
<h1><%= $title%></h1>
|
||||
<!-- <h1><%#= $title%></h1> -->
|
||||
<h2><%= $c->l('mai_DESC_STATE_ACCESS_BUTTON') %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
<form action="/smanager/emailsettingd" method="POST">
|
||||
<form action="/smanager/emailsettingsu" method="POST">
|
||||
|
||||
<div>
|
||||
<%= l 'mai_DESC_POP_ACCESS_CONTROL' %>
|
||||
@@ -83,7 +84,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,4 +93,5 @@
|
||||
<br>
|
||||
|
||||
</div>
|
||||
%end
|
||||
|
||||
%#end
|
@@ -1,13 +1,13 @@
|
||||
% layout 'AdminLTE', title => "Sme server 2 - emaildeliver";
|
||||
%# layout 'AdminLTE', title => "Sme server 2 - emaildeliver";
|
||||
|
||||
% content_for 'module' => begin
|
||||
%# content_for 'module' => begin
|
||||
|
||||
<div class="card-body">
|
||||
<!-- <div class="card-body"> -->
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<%= dumper $c->current_route %>
|
||||
<%= dumper $mai_datas %>
|
||||
<%= dumper $mai_data %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
@@ -19,11 +19,12 @@
|
||||
</div>
|
||||
% }
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
<!-- <h1><%#= $title%></h1> -->
|
||||
<h2><%= $c->l('mai_DESC_STATE_DELIVERY_BUTTON') %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
<form action="/smanager/emailsettingd" method="POST">
|
||||
<form action="/smanager/emailsettingsu" method="POST">
|
||||
|
||||
<h2><%= l 'mai_TITLE_UNKNOWN' %></h2>
|
||||
|
||||
@@ -40,7 +41,7 @@
|
||||
<%= l 'mai_LABEL_UNKNOWN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'EmailUnknownUser' => $mai_datas->{emailunknownuser} unless param 'EmailUnknownUser';
|
||||
% param 'EmailUnknownUser' => $mai_data->{emailunknownuser} unless param 'EmailUnknownUser';
|
||||
<%= select_field 'EmailUnknownUser' => $c->get_emailunknownuser_opt(), class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -58,14 +59,14 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'DelegateMailServer' => $mai_datas->{delegatemailserver} unless param 'DelegateMailServer';
|
||||
% param 'DelegateMailServer' => $mai_data->{delegatemailserver} unless param 'DelegateMailServer';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="inputDelegateMailServer" class="col-form-label"><%= l 'mai_LABEL_DELEGATE' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" name="DelegateMailServer" id="inputDelegateMailServer" class="form-control" aria-describedby="DelegateMailServer" value="<%= $mai_datas->{delegatemailserver} %>">
|
||||
<input type="text" name="DelegateMailServer" id="inputDelegateMailServer" class="form-control" aria-describedby="DelegateMailServer" value="<%= $mai_data->{delegatemailserver} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -82,20 +83,20 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SMTPSmartHost' => $mai_datas->{smtpsmarthost} unless param 'SMTPSmartHost';
|
||||
% param 'SMTPSmartHost' => $mai_data->{smtpsmarthost} unless param 'SMTPSmartHost';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="inputSMTPSmartHost" class="col-form-label"><%= l 'mai_LABEL_SMARTHOST' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" name="SMTPSmartHost" id="inputSMTPSmartHost" class="form-control" aria-describedby="SMTPSmartHost" value="<%= $mai_datas->{smtpsmarthost} %>">
|
||||
<input type="text" name="SMTPSmartHost" id="inputSMTPSmartHost" class="form-control" aria-describedby="SMTPSmartHost" value="<%= $mai_data->{smtpsmarthost} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SMTPAUTHPROXY_status' => $mai_datas->{smtpauthproxystatus} unless param 'SMTPAUTHPROXY_status';
|
||||
% param 'SMTPAUTHPROXY_status' => $mai_data->{smtpauthproxystatus} unless param 'SMTPAUTHPROXY_status';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
@@ -108,27 +109,27 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SMTPAUTHPROXY_Userid' => $mai_datas->{smtpauthproxyuserid} unless param 'SMTPAUTHPROXY_Userid';
|
||||
% param 'SMTPAUTHPROXY_Userid' => $mai_data->{smtpauthproxyuserid} unless param 'SMTPAUTHPROXY_Userid';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="inputSMTPAuthproxy" class="col-form-label"><%= l 'mai_LABEL_SMARTHOST_SMTPAUTH_USERID' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" name="SMTPAUTHPROXY_Userid" id="inputSMTPAuthproxy" class="form-control" aria-describedby="SMTPAuthproxy" value="<%= $mai_datas->{smtpauthproxyuserid} %>">
|
||||
<input type="text" name="SMTPAUTHPROXY_Userid" id="inputSMTPAuthproxy" class="form-control" aria-describedby="SMTPAuthproxy" value="<%= $mai_data->{smtpauthproxyuserid} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SMTPAUTHPROXY_Passwd' => $mai_datas->{smtpauthproxypassword} unless param 'SMTPAUTHPROXY_Passwd';
|
||||
% param 'SMTPAUTHPROXY_Passwd' => $mai_data->{smtpauthproxypassword} unless param 'SMTPAUTHPROXY_Passwd';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="password" class="col-form-label"><%= l 'mai_LABEL_SMARTHOST_SMTPAUTH_PASSWD' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="password" name="SMTPAUTHPROXY_Passwd" id="password" class="form-control" aria-describedby="SMTPAuthProxyPassword" value="<%= $mai_datas->{smtpauthproxypassword} %>">
|
||||
<input type="password" name="SMTPAUTHPROXY_Passwd" id="password" class="form-control" aria-describedby="SMTPAuthProxyPassword" value="<%= $mai_data->{smtpauthproxypassword} %>">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<span id="togglePassword" class="bi bi-eye"></span>
|
||||
@@ -142,10 +143,11 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
%end
|
||||
|
||||
%#end
|
@@ -1,13 +1,13 @@
|
||||
% layout 'AdminLTE', title => "Sme server 2 - emailfilter";
|
||||
%# layout 'AdminLTE', title => "Sme server 2 - emailfilter";
|
||||
|
||||
% content_for 'module' => begin
|
||||
%# content_for 'module' => begin
|
||||
|
||||
<div class="card-body">
|
||||
<!-- <div class="card-body"> -->
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<%= dumper $c->current_route %>
|
||||
<%= dumper $mai_datas %>
|
||||
<%= dumper $mai_data %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
@@ -18,11 +18,12 @@
|
||||
</div>
|
||||
% }
|
||||
|
||||
<h1><%= $title%></h1>
|
||||
<!-- <h1><%#= $title%></h1> -->
|
||||
<h2><%= $c->l('mai_DESC_STATE_FILTERING_BUTTON') %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
<form action="/smanager/emailsettingd" method="POST">
|
||||
<form action="/smanager/emailsettingsu" method="POST">
|
||||
|
||||
<div>
|
||||
<%= l 'mai_DESC_VIRUS_SCAN' %>
|
||||
@@ -35,7 +36,7 @@
|
||||
<%= l 'mai_LABEL_VIRUS_SCAN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'VirusStatus' => $mai_datas->{virusstatus} unless param 'VirusStatus';
|
||||
% param 'VirusStatus' => $mai_data->{virusstatus} unless param 'VirusStatus';
|
||||
<%= select_field 'VirusStatus' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -53,7 +54,7 @@
|
||||
<%= l 'mai_LABEL_SPAM_SCAN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'Spamstatus' => $mai_datas->{spamstatus} unless param 'Spamstatus';
|
||||
% param 'Spamstatus' => $mai_data->{spamstatus} unless param 'Spamstatus';
|
||||
<%= select_field 'Spamstatus' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,7 +66,7 @@
|
||||
<%= l 'mai_LABEL_SPAM_SENSITIVITY' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SpamSensitivity' => $mai_datas->{spamsensitivity} unless param 'SpamSensitivity';
|
||||
% param 'SpamSensitivity' => $mai_data->{spamsensitivity} unless param 'SpamSensitivity';
|
||||
<%= select_field 'SpamSensitivity' => $c->get_spam_sensitivity_opt(), class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -77,7 +78,7 @@
|
||||
<%= l 'mai_LABEL_SPAM_TAGLEVEL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SpamTagLevel' => $mai_datas->{spamtaglevel} unless param 'SpamTagLevel';
|
||||
% param 'SpamTagLevel' => $mai_data->{spamtaglevel} unless param 'SpamTagLevel';
|
||||
<%= select_field 'SpamTagLevel' => $c->get_spam_level_options(), class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -89,7 +90,7 @@
|
||||
<%= l 'mai_LABEL_SPAM_REJECTLEVEL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SpamRejectLevel' => $mai_datas->{spamrejectlevel} unless param 'SpamRejectLevel';
|
||||
% param 'SpamRejectLevel' => $mai_data->{spamrejectlevel} unless param 'SpamRejectLevel';
|
||||
<%= select_field 'SpamRejectLevel' => $c->get_spam_level_options(), class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -101,7 +102,7 @@
|
||||
<%= l 'mai_LABEL_SORTSPAM' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SpamSortSpam' => $mai_datas->{spamsortspam} unless param 'SpamSortSpam';
|
||||
% param 'SpamSortSpam' => $mai_data->{spamsortspam} unless param 'SpamSortSpam';
|
||||
<%= select_field 'SpamSortSpam' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -119,14 +120,14 @@
|
||||
<%= l 'mai_LABEL_SPAM_SUBJECTTAG' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SpamSubjectTag' => $mai_datas->{spamsubjecttag} unless param 'SpamSubjectTag';
|
||||
% param 'SpamSubjectTag' => $mai_data->{spamsubjecttag} unless param 'SpamSubjectTag';
|
||||
<%= select_field 'SpamSubjectTag' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SpamSubject' => $mai_datas->{spamsubject} unless param 'SpamSubject';
|
||||
% param 'SpamSubject' => $mai_data->{spamsubject} unless param 'SpamSubject';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
@@ -134,7 +135,7 @@
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<!-- text_field 'Soft' -->
|
||||
<input type="text" name="SpamSubject" id="inputSpamSubjectTag" class="form-control" aria-describedby="SpamSubjectTag" value="<%= $mai_datas->{spamsubject} %>">
|
||||
<input type="text" name="SpamSubject" id="inputSpamSubjectTag" class="form-control" aria-describedby="SpamSubjectTag" value="<%= $mai_data->{spamsubject} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -165,11 +166,12 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
%end
|
||||
|
||||
%#end
|
@@ -0,0 +1,206 @@
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<%= dumper $mai_data %>
|
||||
<br>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
<h2><%= $c->l('mai_DESC_STATE_ACCESS_BUTTON') %></h2>
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_POP_ACCESS_CONTROL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_pop3_access( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_IMAP_ACCESS_CONTROL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_imap_access( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_WEBMAIL' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_webmail_status( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% my $btn = l('mai_DESC_STATE_ACCESS_BUTTON');
|
||||
<%= hidden_field 'trt' => 'ACC' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!--<hr class="" />-->
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_VIRUS_SCAN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_virus_status(TRUE) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_SPAM_SCAN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_spam_status(TRUE) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_BLOCK_EXECUTABLE_CONTENT' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_patterns_status(TRUE) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% $btn = l('mai_DESC_STATE_FILTERING_BUTTON');
|
||||
<%= hidden_field 'trt' => 'FIL' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!--<hr class="" />-->
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_MODE' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $mai_data->{fetchmailmethod} %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
% my $smtp_mesg;
|
||||
|
||||
% $smtp_mesg=l('SMTP port %u allow client to authenticate:');
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_smtp_auth( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
% $smtp_mesg=l('SMTPS SSL/TLS auth: port %u status:');
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_smtp_ssl_auth( TRUE, 's', FALSE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
% $smtp_mesg=l 'Submission port %u status:';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('uqpsmtpd','TCPPort',587)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_current_smtp_ssl_auth( TRUE,'u', FALSE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% $btn = l('mai_DESC_STATE_RECEPTION_BUTTON');
|
||||
<%= hidden_field 'trt' => 'REC' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<!--<hr class="" />-->
|
||||
|
||||
<form action="/smanager/emailsettings" method="POST">
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_UNKNOWN' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_emailunknownuser_status( TRUE ) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_DELEGATE' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_value('DelegateMailServer') %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_SMARTHOST' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $c->get_value('SMTPSmartHost') %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
% $btn = l('mai_DESC_STATE_DELIVERY_BUTTON');
|
||||
<%= hidden_field 'trt' => 'DEL' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
</form>
|
@@ -1,16 +1,16 @@
|
||||
% layout 'AdminLTE', title => "Sme server 2 - emailreceive";
|
||||
%# layout 'AdminLTE', title => "Sme server 2 - emailreceive";
|
||||
|
||||
% content_for 'module' => begin
|
||||
%# content_for 'module' => begin
|
||||
|
||||
% use constant FALSE => 0;
|
||||
% use constant TRUE => 1;
|
||||
%# use constant FALSE => 0;
|
||||
%# use constant TRUE => 1;
|
||||
|
||||
<div class="card-body">
|
||||
<!-- <div class="card-body"> -->
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<<%= dumper $c->current_route %>
|
||||
<<%= dumper $mai_datas %>
|
||||
<<%= dumper $mai_data %>
|
||||
<<%= dumper $c->param('SMTPAuth') %>
|
||||
</pre>
|
||||
% }
|
||||
@@ -22,30 +22,26 @@
|
||||
</div>
|
||||
% }
|
||||
|
||||
<h1><%= $title %></h1>
|
||||
<!--<h1><%#= $title %></h1> -->
|
||||
|
||||
<h2><%= $c->l('mai_DESC_STATE_RECEPTION_BUTTON') %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
<form action="/smanager/emailsettingd" method="POST">
|
||||
<form action="/smanager/emailsettingsu" method="POST">
|
||||
|
||||
<div>
|
||||
<%= l 'mai_DESC_MODE' %>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<%= l 'mai_LABEL_MODE' %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'FetchmailMethod' => $mai_datas->{fetchmailmethod} unless param 'FetchmailMethod';
|
||||
<!--
|
||||
<pre>
|
||||
<%= dumper $mai_datas->{fetchmailmethod} %>
|
||||
<%= dumper $c->get_retrieval_opt() %>
|
||||
<%= param 'FetchmailMethod' %>
|
||||
</pre>
|
||||
-->
|
||||
% param 'FetchmailMethod' => $mai_data->{fetchmailmethod} unless param 'FetchmailMethod';
|
||||
<%= select_field 'FetchmailMethod' => $c->get_retrieval_opt(), class =>"form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -72,7 +68,6 @@
|
||||
<br>
|
||||
|
||||
<div>
|
||||
|
||||
<%= l "SMTPS port (465) will require implicit SSL/TLS then authenticate to send." %>
|
||||
</div>
|
||||
|
||||
@@ -86,8 +81,6 @@
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
% my $smtp_mesg=l('SMTP port %u allow client to authenticate:');
|
||||
% param 'SMTPAuth' => $c->get_current_smtp_auth( FALSE ) unless param 'SMTPAuth';
|
||||
|
||||
@@ -96,15 +89,6 @@
|
||||
<%= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
|
||||
<!--
|
||||
<pre>
|
||||
<%= dumper $c->get_smtp_auth_opt() %>
|
||||
<%= dumper $c->get_current_smtp_auth(FALSE) %>
|
||||
<%= dumper $c->get_db_prop("qpsmtpd","Authentication") %>
|
||||
<%= param 'SMTPAuth' %>
|
||||
</pre>
|
||||
-->
|
||||
<%= select_field 'SMTPAuth' => $c->get_smtp_auth_opt(), class => "form-select" %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -158,14 +142,14 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SecondaryMailServer' => $mai_datas->{secondarymailserver} unless param 'SecondaryMailServer';
|
||||
% param 'SecondaryMailServer' => $mai_data->{secondarymailserver} unless param 'SecondaryMailServer';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="inputSecondaryMailServer" class="col-form-label"><%= l 'mai_LABEL_SECONDARY' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" name="SecondaryMailServer" id="inputSecondaryMailServer" class="form-control" aria-describedby="SecondaryMailServer" value="<%= $mai_datas->{secondarymailserver} %>">
|
||||
<input type="text" name="SecondaryMailServer" id="inputSecondaryMailServer" class="form-control" aria-describedby="SecondaryMailServer" value="<%= $mai_data->{secondarymailserver} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -175,7 +159,7 @@
|
||||
<%= l 'mai_DESC_FETCH_PERIOD' %>
|
||||
</div>
|
||||
|
||||
% param 'FreqOffice' => $mai_datas->{freqoffice} unless param 'FreqOffice';
|
||||
% param 'FreqOffice' => $mai_data->{freqoffice} unless param 'FreqOffice';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
@@ -188,7 +172,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'FreqOutside' => $mai_datas->{freqoutside} unless param 'FreqOutside';
|
||||
% param 'FreqOutside' => $mai_data->{freqoutside} unless param 'FreqOutside';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
@@ -201,7 +185,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'FreqWeekend' => $mai_datas->{freqweekend} unless param 'FreqWeekend';
|
||||
% param 'FreqWeekend' => $mai_data->{freqweekend} unless param 'FreqWeekend';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
@@ -214,27 +198,27 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SecondaryMailAccount' => $mai_datas->{secondarymailaccount} unless param 'SecondaryMailAccount';
|
||||
% param 'SecondaryMailAccount' => $mai_data->{secondarymailaccount} unless param 'SecondaryMailAccount';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="inputSecondaryMailAccount" class="col-form-label"><%= l 'mai_LABEL_POP_ACCOUNT' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" name="SecondaryMailAccount" id="inputSecondaryMailAccount" class="form-control" aria-describedby="SecondaryMailAccount" value="<%= $mai_datas->{secondarymailaccount} %>">
|
||||
<input type="text" name="SecondaryMailAccount" id="inputSecondaryMailAccount" class="form-control" aria-describedby="SecondaryMailAccount" value="<%= $mai_data->{secondarymailaccount} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SecondaryMailPassword' => $mai_datas->{secondarymailpassword} unless param 'SecondaryMailPassword';
|
||||
% param 'SecondaryMailPassword' => $mai_data->{secondarymailpassword} unless param 'SecondaryMailPassword';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="password" class="col-form-label"><%= l 'mai_LABEL_POP_PASS' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="password" name="SecondaryMailPassword" id="password" class="form-control" aria-describedby="SecondaryMailPassword" value="<%= $mai_datas->{secondarymailpassword} %>">
|
||||
<input type="password" name="SecondaryMailPassword" id="password" class="form-control" aria-describedby="SecondaryMailPassword" value="<%= $mai_data->{secondarymailpassword} %>">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<span id="togglePassword" class="bi bi-eye"></span>
|
||||
@@ -244,7 +228,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SpecifyHeader' => $mai_datas->{specifyheader} unless param 'SpecifyHeader';
|
||||
% param 'SpecifyHeader' => $mai_data->{specifyheader} unless param 'SpecifyHeader';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
@@ -257,30 +241,32 @@
|
||||
|
||||
<br>
|
||||
|
||||
% param 'SecondaryMailEnvelope' => $mai_datas->{secondarymailenvelope} unless param 'SecondaryMailEnvelope';
|
||||
% param 'SecondaryMailEnvelope' => $mai_data->{secondarymailenvelope} unless param 'SecondaryMailEnvelope';
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<label for="inputSecondaryMailEnvelope" class="col-form-label"><%= l 'mai_LABEL_SORT_HEADER' %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" name="SecondaryMailEnvelope" id="inputSecondaryEnvelope" class="form-control" aria-describedby="SecondaryMailEnvelope" value="<%= $mai_datas->{secondarymailenvelope} %>">
|
||||
<input type="text" name="SecondaryMailEnvelope" id="inputSecondaryEnvelope" class="form-control" aria-describedby="SecondaryMailEnvelope" value="<%= $mai_data->{secondarymailenvelope} %>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% my $btn = l('SAVE');
|
||||
% param 'trt' => $mai_data->{trt} unless param 'trt';
|
||||
<%= hidden_field 'trt' => 'REC' %>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
%end
|
||||
|
||||
%#end
|
||||
|
@@ -22,13 +22,14 @@
|
||||
% end
|
||||
|
||||
% content_for 'end' => begin
|
||||
<div id="" class="">
|
||||
<div>
|
||||
content_end
|
||||
</div>
|
||||
% end
|
||||
|
||||
<div id="">
|
||||
<div>
|
||||
<p> < %= $title % ></p><br>
|
||||
|
||||
<%= $modul %><br>
|
||||
Et eu humo modo paratus quadrum turpis validus. Abico appellatio augue qui refero valetudo vereor. Augue diam eu genitus ille letalis nobis typicus veniam.
|
||||
|
||||
@@ -36,6 +37,7 @@ Dignissim dolus loquor lucidus probo proprius tation torqueo. Abluo luptatum qui
|
||||
|
||||
Aliquam autem blandit decet in jus loquor quidne saluto te. Eu meus voco wisi. Abico defui euismod huic jumentum lobortis mos vulpes. Causa eros feugiat hendrerit illum luctus nimis quidem valetudo. Elit ex obruo tation usitas vero. Abigo dolus hendrerit huic iriure jumentum letalis lobortis melior nulla. Blandit causa immitto iriure metuo nutus pagus ut voco.
|
||||
<br>
|
||||
|
||||
<p>
|
||||
%= link_to Welcome => '/'
|
||||
</p>
|
||||
|
@@ -3,16 +3,9 @@
|
||||
%#
|
||||
<div>
|
||||
|
||||
<!-- reetp This needs fixing -->
|
||||
<!--
|
||||
<script>
|
||||
window.onload = function() {
|
||||
SelectInput();
|
||||
};
|
||||
</script>
|
||||
-->
|
||||
|
||||
% if (config->{debug} == 0) {
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
%= dumper $nut_data
|
||||
</pre>
|
||||
@@ -38,7 +31,7 @@
|
||||
%# param 'status' => $nut_data->{status} unless param 'status';
|
||||
|
||||
% my @status_options = selected_field([['Disabled' => 'disabled'], ['Enabled' => 'enabled']], $nut_data->{status});
|
||||
<%= select_field 'status' => @status_options, class => "form-select" %>
|
||||
<%= select_field 'status' => @status_options, class => "form-select", id => 'status_select' %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -51,12 +44,15 @@
|
||||
<div class="col-auto">
|
||||
% my @Nutmode_options = [['Standalone' => 'standalone'], ['Net Server' => 'netserver'], ['Net Client ' => 'netclient']];
|
||||
% param 'Nutmode' => $nut_data->{Nutmode} unless param 'Nutmode';
|
||||
<%= select_field 'Nutmode' => @Nutmode_options, class => "form-select" %>
|
||||
<%= select_field 'Nutmode' => @Nutmode_options, class => "input form-select", id => "Nutmode_select" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="masterups">
|
||||
<div class="secondaryups">
|
||||
|
||||
<h2><%=l('nut_if_Net_Server')%></h2>
|
||||
|
||||
<br>
|
||||
@@ -67,37 +63,48 @@
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'MasterUPS_Name' => $nut_data->{MasterUPS_Name} unless param 'MasterUPS_Name';
|
||||
<input type="text" name="MasterUPS_Name" pattern=".*" size="50" id="inputMasterUPSName" class="form-control" aria-describedby="Master UPS Name" placeholder="ups@localhost" value="<%= $nut_data->{MasterUPS_Name} %>" >
|
||||
<%= 'ups@'. $nut_data->{'localip'} %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<label for="MasterUPSPassword" class="col-form-label"><%= l ('nut_MasterUPS_Password') %></label>
|
||||
<%= l ('nut_SlaveUPS_User') %>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'MasterUPS_Password' => $nut_data->{MasterUPS_Password} unless param 'MasterUPS_Password';
|
||||
<input type="password" name="MasterUPS_Password" id="MasterUPSPassword" class="form-control" aria-describedby="Master UPS Password" value="<%= $nut_data->{MasterUPS_Password} %>">
|
||||
<%= 'upssecondary' %>
|
||||
</div>
|
||||
<!-- reetp fix toggle password -->
|
||||
<!-- <div class="col-auto">
|
||||
<span id="togglePassword" class="bi bi-eye"></span>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
%=l('nut_SlaveUPS_Password')
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<%= $nut_data->{'SlaveUPS_Pass'}%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
|
||||
<h2><%= l ('nut_UPS_Device') %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<%= l ('nut_UPS_Model') %>
|
||||
<label for="UPS_Model_select" class="col-form-label"><%= l ('nut_UPS_Model') %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% my @UPS_Model_options = $c->get_model_options();
|
||||
% param 'UPS_Model' => $nut_data->{UPS_Model} unless param 'UPS_Model';
|
||||
%= select_field 'UPS_Model' => \@UPS_Model_options, class => "form-select"
|
||||
<%= select_field 'UPS_Model' => \@UPS_Model_options, class => "form-select", id => 'UPS_Model_select' %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -112,8 +119,11 @@
|
||||
<input type="text" name="UPS_Device" pattern=".*" size="50" id="inputUPSDevice" class="form-control" aria-describedby="UPS Device" placeholder="auto (for usb)" value="<%= $nut_data->{UPS_Device} %>" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
</div>
|
||||
|
||||
<div class="slaveups">
|
||||
|
||||
<h2><%=l('nut_if_Net_Client')%></h2>
|
||||
|
||||
@@ -121,11 +131,11 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<label for="inputSlaveUPSDevice" class="col-form-label"><%= l ('nut_SlaveUPS_UPSNAME@IP') %></label>
|
||||
<label for="inputClientUPSDevice" class="col-form-label"><%= l ('nut_SlaveUPS_UPSNAME@IP') %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SlaveUPS_Name' => $nut_data->{SlaveUPS_Name} unless param 'SlaveUPS_Name';
|
||||
<input type="text" name="SlaveUPS_Name" pattern=".*" size="50" id="inputSlaveUPSDevice" class="form-control" aria-describedby="Slave UPS Name" placeholder="upsname@IP" value="<%= $nut_data->{SlaveUPS_Name} %>" >
|
||||
% param 'ClientUPS_Name' => $nut_data->{ClientUPS_Name} unless param 'ClientUPS_Name';
|
||||
<input type="text" name="ClientUPS_Name" pattern=".*" size="50" id="inputClientUPSDevice" class="form-control" aria-describedby="Client UPS Name" placeholder="upsname@IP[:port]" value="<%= $nut_data->{ClientUPS_Name} %>" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -133,24 +143,38 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<label for="SlaveUPSPassword" class="col-form-label"><%= l ('nut_SlaveUPS_Password') %></label>
|
||||
<label for="ClientUPSUsername" class="col-form-label"><%= l ('nut_ClientUPS_Username') %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'SlaveUPS_Pass' => $nut_data->{SlaveUPS_Pass} unless param 'SlaveUPS_Pass';
|
||||
<input type="password" name="SlaveUPS_Pass" id="SlaveUPSPassword" class="form-control" aria-describedby="Slave UPS Password" value="<%= $nut_data->{SlaveUPS_Pass} %>">
|
||||
% param 'ClientUPS_User' => $nut_data->{ClientUPS_User} unless param 'ClientUPS_User';
|
||||
<input type="text" name="ClientUPS_User" id="ClientUPSUsername" class="form-control" aria-describedby="Client UPS Username" placeholder="Client username" value="<%= $nut_data->{ClientUPS_User} %>" >
|
||||
</div>
|
||||
<!-- reetp fix toggle password -->
|
||||
<!-- <div class="col-auto">
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<label for="password" class="col-form-label"><%= l ('nut_ClientUPS_Password') %></label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
% param 'ClientUPS_Pass' => $nut_data->{ClientUPS_Pass} unless param 'ClientUPS_Pass';
|
||||
<input type="password" name="ClientUPS_Pass" id="password" class="form-control" aria-describedby="Client UPS Password" placeholder="Client password" value="<%= $nut_data->{ClientUPS_Pass} %>" >
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<span id="togglePassword" class="bi bi-eye"></span>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="generics">
|
||||
|
||||
<h2><%=l('nut_if_genericups')%></h2>
|
||||
|
||||
<br>
|
||||
<br><br>
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
@@ -186,6 +210,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
% param 'trt' => $nut_data->{trt} unless param 'trt';
|
||||
@@ -195,12 +221,12 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
%# Probably finally by a submit.
|
||||
</form>
|
||||
|
||||
<br>
|
||||
|
||||
</div>
|
@@ -13,27 +13,25 @@
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
%= dumper $nut_data
|
||||
<%= dumper $nut_data %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
% my $btn = l('nut_APPLY');
|
||||
%= form_for "nutupsu" => (method => 'POST') => begin
|
||||
|
||||
<form action="/smanager/nutupsu" method="POST">
|
||||
% param 'trt' => $nut_data->{trt} unless param 'trt';
|
||||
%= hidden_field 'trt' => $nut_data->{trt}
|
||||
<%= hidden_field 'trt' => $nut_data->{trt} %>
|
||||
|
||||
%# Inputs etc in here.
|
||||
|
||||
<div class="">
|
||||
|
||||
|
||||
<a href='nutupsd?trt=CONFIG' class="">
|
||||
%= l('nut_Configure_NutUPS')
|
||||
<div>
|
||||
<a href='nutupsd?trt=CONFIG' class = "btn btn-sm btn-primary">
|
||||
<%= l ('nut_Configure_NutUPS') %>
|
||||
</a>
|
||||
%#= link_to l('nut_Configure_NutUPS'), 'nutupsd?trt=CONFIG' , class=> 'link link1'
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<h2><%= l ('nut_Status_of_the_controlled_UPS')%></h2>
|
||||
|
||||
@@ -41,6 +39,8 @@
|
||||
<%= l ('nut_Descriptive_paragraph') %>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<!--
|
||||
<span class="">
|
||||
%=l('nut_Status_(from_upsc)')
|
||||
@@ -52,8 +52,9 @@
|
||||
<br>
|
||||
-->
|
||||
|
||||
%= include 'partials/_nut_UPS_STATUS'
|
||||
<%= include 'partials/_nut_UPS_STATUS' %>
|
||||
|
||||
%# Probably finally by a submit.
|
||||
%end
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
@@ -1,11 +1,9 @@
|
||||
<h1>UPS Status</h1>
|
||||
|
||||
%= stylesheet '/css/nut_ups-status-page.css'
|
||||
<h2>UPS Status</h2>
|
||||
|
||||
<div class="container-md">
|
||||
<div>
|
||||
<h2>Device Information</h2>
|
||||
<table class="table table-bordered">
|
||||
<table class="table table-bordered nutTable">
|
||||
<tr>
|
||||
<td>Manufacturer:</td>
|
||||
<td><%= $nut_data->{'ups_data'}->{'device.mfr'} %></td>
|
||||
@@ -29,7 +27,7 @@
|
||||
|
||||
<div>
|
||||
<h2>Battery Status</h2>
|
||||
<table class="table table-bordered">
|
||||
<table class="table table-bordered nutTable">
|
||||
<tr>
|
||||
<td>Charge:</td>
|
||||
<td><%= $nut_data->{'ups_data'}->{'battery.charge'} %>%</td>
|
||||
@@ -53,7 +51,7 @@
|
||||
|
||||
<div>
|
||||
<h2>Input Power</h2>
|
||||
<table class="table table-bordered">
|
||||
<table class="table table-bordered nutTable">
|
||||
<tr>
|
||||
<td>Voltage:</td>
|
||||
<td><%= $nut_data->{'ups_data'}->{'input.voltage'} %>V</td>
|
||||
@@ -81,7 +79,7 @@
|
||||
|
||||
<div>
|
||||
<h2>UPS Status</h2>
|
||||
<table class="table table-bordered">
|
||||
<table class="table table-bordered nutTable">
|
||||
<tr>
|
||||
<td>Status:</td>
|
||||
<td><%= $nut_data->{'ups_data'}->{'ups.status'} %></td>
|
||||
|
@@ -114,7 +114,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -90,7 +90,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
% my $csrf_token = "TOKEN"; # CSRF token for security
|
||||
% my $actionRemove = qq{
|
||||
% <a href="portforwardingd?CsrfDef=$csrf_token&trt=DEL&sport=$sport&proto=$proto">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -53,7 +53,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -30,7 +30,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -54,7 +54,7 @@
|
||||
% my $printer_name = $printer->key;
|
||||
% my $actionRemove = qq{
|
||||
% <a href="printers2?CsrfDef=$csrf_token&trt=DEL&&printer=$printer_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -37,7 +37,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<br><br>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-danger"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-danger btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<%= $c->render_to_string(inline => l('pse_DESCRIPTION')); %>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
<%= hidden_field 'trt' => 'ADD' %>
|
||||
@@ -53,7 +53,7 @@
|
||||
%my $pseudonyms_entry_name = $pseudonym->key; # pseudonyms_entry name extracted from the data structure
|
||||
%$actionModify = qq{
|
||||
% <a href="pseudonyms2?CsrfDef=$csrf_token&trt=UPD&pseudonym=$pseudonyms_entry_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
% </a>
|
||||
@@ -66,7 +66,7 @@
|
||||
%my $pseudonyms_entry_name = $pseudonym->key; # pseudonyms_entry name extracted from the data structure
|
||||
%$actionRemove = qq{
|
||||
% <a href="pseudonyms2?CsrfDef=$csrf_token&trt=DEL&pseudonym=$pseudonyms_entry_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -62,7 +62,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -71,7 +71,7 @@
|
||||
% my $quota_user_name = $user->key; # quotas_entry name extracted from the data structure
|
||||
% my $actionModify = qq{
|
||||
% <a href="quotad?CsrfDef=$csrf_token&trt=UPD&user=$quota_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
% </a>
|
||||
|
@@ -85,7 +85,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
<li class="nav-header">USER</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href='#' id="" class="nav-link">
|
||||
<a href='#' class="nav-link">
|
||||
<i class="nav-icon bi bi-person-fill"></i>Current User: <%= session 'username' %>
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
|
||||
<div class="col-auto">
|
||||
<button type="submit" class="btn btn-primary">Theme</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Theme</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-danger"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-danger btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<form action="/smanager/useraccounts" method="POST">
|
||||
<br>
|
||||
<div>
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %> </button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %> </button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -63,14 +63,14 @@
|
||||
% if ($useraccounts_user_name eq 'admin') {
|
||||
%$actionModify = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=UPS&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text'>
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text'>
|
||||
% $modify_text
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
%$actionResetPw = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=PWS&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$password_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$password_text' >
|
||||
% $password_text
|
||||
% </button>
|
||||
%</a>
|
||||
@@ -78,7 +78,7 @@
|
||||
% } else {
|
||||
%$actionModify = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=UPD&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$modify_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$modify_text' >
|
||||
% $modify_text
|
||||
% </button>
|
||||
%</a>
|
||||
@@ -93,14 +93,14 @@
|
||||
<!-- Sets BOTH columns - possibly leave out Reset Password here?-->
|
||||
%$actionLock = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=PWD&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-danger" title="$password_text - currently unset">
|
||||
% <button type='button' class="btn btn-danger btn-sm" title="$password_text - currently unset">
|
||||
% Unlock
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
%$actionResetPw = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=PWD&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title="$password_text - currently unset">
|
||||
% <button type='button' class="btn btn-primary btn-sm" title="$password_text - currently unset">
|
||||
% $password_text
|
||||
% </button>
|
||||
%</a>
|
||||
@@ -109,14 +109,14 @@
|
||||
% } elsif ($useraccounts_user_name ne 'admin') {
|
||||
%$actionLock = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=LCK&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$lock_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$lock_text' >
|
||||
% $lock_text
|
||||
% </button>
|
||||
%</a>
|
||||
%};
|
||||
%$actionResetPw = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=PWD&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$password_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$password_text' >
|
||||
% $password_text
|
||||
% </button>
|
||||
%</a>
|
||||
@@ -126,7 +126,7 @@
|
||||
% if ( $removable eq 'yes' ) {
|
||||
%$actionRemove = qq{
|
||||
%<a href="useraccountsd?CsrfDef=$csrf_token&trt=DEL&user=$useraccounts_user_name">
|
||||
% <button type='button' class="btn btn-primary" title='$remove_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$remove_text' >
|
||||
% $remove_text
|
||||
% </button>
|
||||
%</a>
|
||||
@@ -136,7 +136,7 @@
|
||||
<!-- If webmail disabled??? -->
|
||||
% $actionroundcube = qq{
|
||||
%<a href="roundcubepanel?CsrfDef=$csrf_token&url=https://$thisdomain/roundcube?_user=$useraccounts_user_name&height=600px">
|
||||
% <button type='button' class="btn btn-primary" title='$roundcube_text' >
|
||||
% <button type='button' class="btn btn-primary btn-sm" title='$roundcube_text' >
|
||||
% $roundcube_text
|
||||
% </button>
|
||||
%</a>
|
||||
|
@@ -42,7 +42,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -75,7 +75,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -64,7 +64,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -279,7 +279,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -105,7 +105,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= l 'SAVE' %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= l 'SAVE' %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -66,7 +66,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -2,10 +2,6 @@
|
||||
|
||||
% content_for 'module' => begin
|
||||
|
||||
<!-- should be moved -->
|
||||
|
||||
%= javascript '/js/qmailanalog.js'
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
@@ -60,7 +56,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -277,7 +277,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -47,7 +47,7 @@
|
||||
<button class="" width=20em title="<%= l('Full Window') %>"><%= l('Full Window') %>
|
||||
</button>
|
||||
</a>
|
||||
<object id="" data="<%=$url %>" title="<%= $c->stash('title') %>" type="text/html" ><%= $c->stash('title') %> not found</object>
|
||||
<object data="<%=$url %>" title="<%= $c->stash('title') %>" type="text/html" ><%= $c->stash('title') %> not found</object>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -106,7 +106,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -101,7 +101,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -4,10 +4,9 @@
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
<p>Index on line - Welcome page
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
<div>Index on line - Welcome page<br></div>
|
||||
|
||||
<div>
|
||||
Cogo diam enim ibidem paulatim pertineo velit. Comis patria pertineo secundum. Aliquip laoreet quibus zelus. Gravis incassum interdico iustum lucidus neo os paratus. Autem causa haero pneum similis sudo vindico. Iusto molior neque oppeto. Ideo minim nibh refoveo veniam vereor virtus. Appellatio pala scisco.
|
||||
|
||||
Caecus esse exputo ideo laoreet valde. Appellatio feugiat haero jus lucidus tum valetudo vulputate. Amet illum imputo volutpat. Acsi adipiscing brevitas facilisi illum laoreet lobortis lucidus sagaciter uxor. Defui dolor hos luptatum quadrum saluto verto vicis wisi.
|
||||
@@ -17,21 +16,26 @@ Acsi ideo pagus ymo. Ea jugis lobortis nimis utrum veniam vereor. Aliquip amet a
|
||||
Abdo abico damnum dolor et facilisi incassum melior populus saepius. Commodo conventio ex exputo pagus quae valetudo. Eligo jumentum lobortis suscipit tamen torqueo validus venio voco. Letalis molior tego tincidunt tum. Bene iriure melior natu obruo os te voco. Ea oppeto refoveo tum. Consectetuer dolus ut.
|
||||
|
||||
Abdo abigo aptent commoveo inhibeo molior nibh plaga pneum zelus. Conventio genitus neo nulla patria pneum saluto velit voco. Abigo defui dolore humo nulla nunc. Autem commodo erat gemino nisl olim pecus ratis tego. Fere luctus nunc sit. Bene humo imputo paulatim suscipit. Aliquam diam dolor feugiat gravis imputo lucidus modo nulla obruo. Ea macto melior neo qui ratis velit.
|
||||
</p>
|
||||
%= l ('MESS_TEST','toto')
|
||||
<p>
|
||||
%= link_to Initial => '/'
|
||||
</p>
|
||||
<p>
|
||||
%= link_to Manual => '/manual'
|
||||
</p>
|
||||
<p>
|
||||
%= link_to Welcome => '/welcome'
|
||||
<a href="<%= url_for 'index' %>">Accueil</a -->.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<%= l ('MESS_TEST','toto') %>
|
||||
|
||||
<div>
|
||||
<%= link_to Initial => '/' %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= link_to Manual => '/manual' %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= link_to Welcome => '/welcome' %>
|
||||
<a href="<%= url_for 'index' %>">Accueil</a>
|
||||
</div>
|
||||
|
||||
% use SrvMngr::Navigation2;
|
||||
% my %nav = %{SrvMngr::navigation2->getNavigation( $c->languages() )};
|
||||
|
||||
<!-- % = dumper %nav -->
|
||||
|
||||
<div>
|
||||
@@ -40,7 +44,8 @@ Abdo abigo aptent commoveo inhibeo molior nibh plaga pneum zelus. Conventio geni
|
||||
</div>
|
||||
|
||||
<div>
|
||||
%= $h
|
||||
|
||||
<%= $h %>
|
||||
|
||||
% foreach (sort { $a->{'WEIGHT'} <=> $b->{'WEIGHT'} } @{$nav{$h}{'DESCRIPTIONS'}}) {
|
||||
% my ($target, $classNew) = ( $_->{'FILENAME'} =~ m/^2\// ) ?
|
||||
@@ -52,7 +57,7 @@ Abdo abigo aptent commoveo inhibeo molior nibh plaga pneum zelus. Conventio geni
|
||||
%= $target
|
||||
' onclick=\"swapClasses('sme
|
||||
%= $c
|
||||
')\" id="" href='
|
||||
')\" href='
|
||||
%= $href
|
||||
'>
|
||||
%= $_->{'DESCRIPTION'}
|
||||
@@ -66,7 +71,6 @@ Abdo abigo aptent commoveo inhibeo molior nibh plaga pneum zelus. Conventio geni
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
% end
|
@@ -92,7 +92,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -44,7 +44,7 @@
|
||||
<%= hidden_field 'trt' => 'UPDT' %>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btnInUp %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btnInUp %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -57,7 +57,7 @@
|
||||
<%= hidden_field 'trt' => 'INST' %>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btnInAv %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btnInAv %></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -70,7 +70,7 @@
|
||||
<%= hidden_field 'trt' => 'REMO' %>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btnInRm %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btnInRm %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btnConfig %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btnConfig %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -149,7 +149,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btnSave %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btnSave %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -72,7 +72,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btnSave %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btnSave %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -74,7 +74,7 @@
|
||||
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-md-2">
|
||||
<button type="submit" class="btn btn-sm btn-primary"><%= $btn %></button>
|
||||
<button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user