| @Html.ActionLink(linkText: file.Filename, actionName: "DownloadFile", controllerName: file.controllerName, routeValues: new { path = file.Filepath, mimeType = file.MimeType }, htmlAttributes: null) |
@filesize |
- @file.Date.ToString("dd-MM-yyyy") |
+
+ @file.Date.ToString("dd-MM-yyyy")
+ |
@if (file.HasRights)
{
diff --git a/Views/TechniciansFiles/TechniciansFiles.cshtml b/Views/TechniciansFiles/TechniciansFiles.cshtml
new file mode 100644
index 0000000..4459e7e
--- /dev/null
+++ b/Views/TechniciansFiles/TechniciansFiles.cshtml
@@ -0,0 +1,168 @@
+@using Telerik.Web.Mvc.UI
+@using System.Collections.Generic
+@using BExIS.Modules.FMT.UI.Models
+
+@model List
+
+@{
+
+ if (ViewBag.UseLayout == null)
+ {
+ Layout = null;
+ }
+}
+
+
+
+
+ @Html.ValidationMessage("Error")
+ @if (Model == null)
+ {
+
+ }
+ else
+ {
+ @Html.Telerik().TreeView().Name("TreeView").ShowCheckBox(false).ExpandAll(false).ClientEvents(events => events
+ .OnSelect("onSelect").OnLoad("click_node")
+
+ ).BindTo(Model, mappings =>
+ {
+ mappings.For
+ (binding => binding.ItemDataBound((item, menuItem) =>
+ {
+ item.Text = menuItem.Title;
+ item.Value = menuItem.Path;
+ item.LinkHtmlAttributes["id"] = menuItem.Path.Replace("\\", "_");
+ item.ImageUrl = menuItem.MenuItems.Any() ? "~/Areas/FMT/Images/FMT_Images/Folders.png" : "~/Areas/FMT/Images/FMT_Images/Folder.png";
+ })
+ .Children(category => category.MenuItems));
+ mappings.For
+ (binding => binding
+ .ItemDataBound((item, subMenuItem) =>
+ {
+ item.Text = subMenuItem.Title;
+ item.Value = subMenuItem.Path;
+ item.LinkHtmlAttributes["id"] = subMenuItem.Path.Replace("\\", "_");
+ item.ImageUrl = subMenuItem.MenuItems.Any() ? "~/Areas/FMT/Images/FMT_Images/Folders.png" : "~/Areas/FMT/Images/FMT_Images/Folder.png";
+ }));
+ });
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Views/TechniciansFilesAdmin/readme.txt b/Views/TechniciansFilesAdmin/readme.txt
new file mode 100644
index 0000000..678ffc4
--- /dev/null
+++ b/Views/TechniciansFilesAdmin/readme.txt
@@ -0,0 +1 @@
+emty folder needed!
\ No newline at end of file
diff --git a/Views/ThematicGroupsFiles/ThematicGroupsFiles.cshtml b/Views/ThematicGroupsFiles/ThematicGroupsFiles.cshtml
new file mode 100644
index 0000000..9db69af
--- /dev/null
+++ b/Views/ThematicGroupsFiles/ThematicGroupsFiles.cshtml
@@ -0,0 +1,167 @@
+@using Telerik.Web.Mvc.UI
+@using System.Collections.Generic
+@using BExIS.Modules.FMT.UI.Models
+
+@model List
+
+@{
+
+ if (ViewBag.UseLayout == null)
+ {
+ Layout = null;
+ }
+}
+
+
+
+
+ @Html.ValidationMessage("Error")
+ @if (Model == null)
+ {
+
+ }
+ else
+ {
+ @Html.Telerik().TreeView().Name("TreeView").ShowCheckBox(false).ExpandAll(false).ClientEvents(events => events
+ .OnSelect("onSelect").OnLoad("click_node")
+
+ ).BindTo(Model, mappings =>
+ {
+ mappings.For
+ (binding => binding.ItemDataBound((item, menuItem) =>
+ {
+ item.Text = menuItem.Title;
+ item.Value = menuItem.Path;
+ item.LinkHtmlAttributes["id"] = menuItem.Path.Replace("\\", "_");
+ item.ImageUrl = menuItem.MenuItems.Any() ? "~/Areas/FMT/Images/FMT_Images/Folders.png" : "~/Areas/FMT/Images/FMT_Images/Folder.png";
+ })
+ .Children(category => category.MenuItems));
+ mappings.For
+ (binding => binding
+ .ItemDataBound((item, subMenuItem) =>
+ {
+ item.Text = subMenuItem.Title;
+ item.Value = subMenuItem.Path;
+ item.LinkHtmlAttributes["id"] = subMenuItem.Path.Replace("\\", "_");
+ item.ImageUrl = subMenuItem.MenuItems.Any() ? "~/Areas/FMT/Images/FMT_Images/Folders.png" : "~/Areas/FMT/Images/FMT_Images/Folder.png";
+ }));
+ });
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Views/ThematicGroupsFilesAdmin/readme.txt b/Views/ThematicGroupsFilesAdmin/readme.txt
new file mode 100644
index 0000000..678ffc4
--- /dev/null
+++ b/Views/ThematicGroupsFilesAdmin/readme.txt
@@ -0,0 +1 @@
+emty folder needed!
\ No newline at end of file
diff --git a/web.config b/web.config
index 45a0240..6f79699 100644
--- a/web.config
+++ b/web.config
@@ -1,100 +1,109 @@
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
+
+
+
+
-
+
+
\ No newline at end of file
|