Tolto sito MP-Site come MP_Site-old e creato sito empty MP-SITE x travaso
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace MoonPro.WebUserControls
|
||||
{
|
||||
public partial class mod_mainMap : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// blocco button della pagina corrente...
|
||||
if (Page.Title.Contains("Stato"))
|
||||
{
|
||||
hlStato.Enabled = false;
|
||||
spStato.Attributes.Remove("class");
|
||||
spStato.Attributes.Add("class", "btn btn-warning");
|
||||
}
|
||||
else if (Page.Title.Contains("Sequencer"))
|
||||
{
|
||||
hlSequencer.Enabled = false;
|
||||
spSequencer.Attributes.Remove("class");
|
||||
spSequencer.Attributes.Add("class", "btn btn-warning");
|
||||
}
|
||||
else if (Page.Title.Contains("Statistiche"))
|
||||
{
|
||||
hlStatistiche.Enabled = false;
|
||||
spStatistiche.Attributes.Remove("class");
|
||||
spStatistiche.Attributes.Add("class", "btn btn-warning");
|
||||
}
|
||||
else if (Page.Title.Contains("Produzione"))
|
||||
{
|
||||
hlProduzione.Enabled = false;
|
||||
spProduzione.Attributes.Remove("class");
|
||||
spProduzione.Attributes.Add("class", "btn btn-warning");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user